File Access Denied on Windows XP and how to take ownership

Problem with file ownership in Windows! Here is how to take ownership of a file or folder in Windows XP.

In the recent hard disc crash, I had a back-up for most of my files. Some of the files on a back-up drive was somehow avoiding me with an “Access Denied” even though I was logged in as the Administrator (or Administrative Rights). While asking around for help, a member from the Team Macromedia suggested me to google for the same. I finally got the solution on How to take ownership of a file or folder in Windows XP.



Here are the steps in quickie mode

  1. Log on to the computer with an account that has administrative credentials. If you are running Microsoft Windows XP Home Edition, you must start the computer in safe mode, and then log on with an account that has Administrative rights to have access to the Security tab.
  2. If you are using Windows XP Professional, you must disable Simple File Sharing.
  3. Right-click the folder/file that you want to take ownership of, and then click Properties.
  4. Click the Security tab, and then click OK on the Security message (if one appears).
  5. Click Advanced, and then click the Owner tab.
  6. In the Name list, click your user name, or click Administrator if you are logged in as Administrator, or click the Administrators group. If you want to take ownership of the contents of that folder, select the Replace owner on subcontainers and objects check box.
  7. Click OK, and then click Yes when you receive the following message:
    You do not have permission to read the contents of directory folderName. Do you want to replace the directory permissions with permissions granting you Full Control?
    All permissions will be replaced if you press Yes.
  8. Click OK, and then reapply the permissions and security settings that you want for the folder and its contents.


Don't like it? There are lots of published articles, pick a random one.

oCricket

Brajeshwar posted this article on Sat, Sep 24th, 2005 at 5:34 am
Categorized under Technology and has the following tags

Prev Article: How To Nail A Sexy Layout; Skeletize, Visualize and Nakedize

Next Article: Video, the Making of Flash 8

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 17 responses so far. You can follow any responses to this entry through the RSS feed. You can skip to the end and leave a response. Pinging is currently not allowed.

  1. Thanks a lot for this info! Exactly what I was looking for…!

  2. Many thanks! This one certainly saved my day.

  3. Bummer, that doesnt work. The files are from another computer I discarded and are encrypted. No way to get access even though I am the one that encrypted them in the first place.

  4. Perfect, this solved my problem, can’t thanks you enough!

  5. Thanks very much! It had been so long since I’d seen the Security tab in WinXP Home that I forgot how to get to it.

  6. Well and what to do if there is no Security tab in the preferences dialog of a particular folder? Logged in as Admin, all attempt to touch the folder results “Access denied”

  7. Wow this worked Great, i backed up a Computer and it told me that the files were private. well this did the trick

  8. Man! Thanks SOOOO much for this! It helped to get back files from a directory I “shared” on the network that never shared properly. After disabling sharing, I had no access to the directory or any of the “non-existent files” inside. (Properties kept saying the directory was 0 bytes when there are many databases inside totalling 500MB+ each!

    So thanks! This sorted out my problem!

  9. Does this methord work if your recovering files from another machine that has died?

  10. This method only works if the files were not encrypted. If they are encrypted you are out of luck.

  11. There is a simpler way that does not require in XP Home to go to Safe Mode. See my review about FaJo XP File Security Extension. I spent three hours to realize my problem was related to ownership and not to process lock. In 5 minutes I solved it by this German too.

  12. This helped tremendously. My situation was this: my desktop’s motherboard failed, needed documents off the desktop’s hard drive. Bought a IDE SATA to USB cable, connected desktop hard drive to laptop’s USB port, tried accessing documents but ran into “access is denied” because desktop was password protected. Found this site, had to look up how to turn off simple file share (found solution here: http://support.microsoft.com/kb/307874 ) and at this moment I am taking ownership of my desktop files! Thanks for the solution.

  13. Thank you so much!!!!! This was a quick solution to what I was trying to do… I thought I was going to have to deal with resetting permissions and crap for days or even weeks. Again, thank you, thank you, thank you!

  14. I Have changed the ownership of the files but still it is not accessible…

    please tell me how can i get it done?????

  15. YOU HAVE SAVED MY LIFE!!!! MY COMPUTER CRASHED AND CREATED A NEW PROFILE FOR ME. IT’S working beautifully except I lost all my old content. I was able to move my docs into the new profile and am now the owner of a working computer thank you thank you thank you.

  16. CLOYD SHIFFER April 17th, 2009 at 11:49 pm 16

    This information is great. I tried another article but they didn’t mention that in Windows XP home you had to start the computer in the safe mode to get to the security tab.
    Thanks a million.
    Cloyd Shiffer

  17. Got me back into a hijacked Hosts file. Like most everyone else above has said, great advice. Many thanks.

    Boyd

Post yours

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

Great Indian Developer Summit 2009

I got a Press Release of the upcoming GIDS '09 and here is an excerpt. The summit's program covers Java, REST, Unit testing, Groovy, Spring, Struts 2.0, SOA, Cloud Computing, Web Services, JRuby, RoR, Ruby, JVM, ...21st Jan, 2009

The flourishing gun market in Pakistan

VICE Travel: Darra, Pakistanby Top-Notch112 (Via: Deep Green Crystals) 20th Jan, 2009

Angry Ringtone for iPhone and others

[audio:http://audio.brajeshwar.com/angry-ring-ring.mp3] The ANGRY RINGTONE for iPhone. (Click the PLAY button above!) Download * iPhone Ringtone (.m4r) * MP3 Ringtone (.mp3) * Zipped (both .m4r and .mp3) To use it as an iPhone Ringtone; just double click the file "angry-ring-ring.m4r" and it ...15th Jan, 2009

IIM Ahmedabad's Leverage 2009

Leverage, the Venture Capital and Private Equity Club of IIM Ahmedabad and the Centre for Innovation Incubation and Entrepreneurship bring to you the 1st edition of the Venture Capital and Private Equity Conference on the ...12th Jan, 2009

Fedora 10 Released

Let's talk history! Fedora was created in late 2003 as a Linux based Operating System which gives the users an admittance from anywhere in the world to the most up-to-date free and open source software ...28th Nov, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • Downloads All downloads, Free and Open Source.
  • oCricket oCricket is about Cricket and people enthusiastic about it.
  • Forum Oinam’s technical discussion forum where developers and designers can discuss all technical topics.
  • ActionScript 3.0 Reference Flash/Flex ActionScript 3.0 Reference.
  • Not Safe for Work Ever clicked a link and felt embarrassed with the content in front of your co-workers? Ever caught unaware because the funny link your friend sent was a little beyond funny? Let’s minimize that with NSWF.
  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • Ode to Apple Dedicated to Apple - Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications. More about me.

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 949 Articles and 6,472 comments, contained within 22 categories and 1,497 tags.