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.

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

Prev Article:

Next Article:

Archives: Visit the Archives for more articles.

Comments Post Yours

There are View Comments 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

  18. Sarah Riblon July 13th, 2009 at 8:03 pm 18

    This was excellent information. Solved in 2 minutes what I have been trying to figure out for 2 hours! Thank you so much!

  19. Hello,
    i have problem with this.. i have follow the step but the files still can’t be open..

    im using winxp profesional sp2
    with disable simple file sharing

    anyone can help??

  20. Thanks! Just what I was looking for. On my system the security tab was not visible. You wrote to disable simple file sharing, here’s how [for future reference].

    1 – Open Folder Options in Control Panel. (Click Start, click Control Panel, click Appearance and Themes, and then click Folder Options.)

    2 – On the View tab, under Advanced settings, clear the Use simple file sharing [Recommended] check box.

  21. Brilliant! Brilliant! Bloody Brilliant! Saved my life…. Thanks X

  22. Thanks a lot! You’ve save me a lot of time. 5*

  23. No go! WinXP Pro SP3:

    There is no check box for “Replace owner on subcontainers and objects” in the owner tab. Am I missing something? Anyone?

  24. I tried the same but its not working.. please help me.

  25. I have my files back!! Very pleased. Thank you for your great guidelines.

  26. u r the best, thanks so much

  27. thanks man
    it really helped to me

  28. Thank you so much! I was afraid I was going to lose all of my files, but now they’re all fine!

  29. THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX THANX

  30. in the sharing network, the administrator has blocked certain privileges, i can have a look at those fils but i cant copy them nor open them.
    it says access denied.
    any solution guys?

  31. Wow! Whew! It worked perfectly. THANK YOU!!

  32. GREAT< After all the crap suggestions I found and tried it was a breath of fresh air to find this and have it work.

    Next I must fix the no disk issue.

    Thanks

  33. ooooooo thanks a lot

  34. I have a weird solution, so I am writing this is the hope that it will be useful so somebody. The solution described above did not work for me because when I right click the folder and choose “properties” there isn’t a “Security Tab”. This may be because I am not using “simple file sharing”. I have tried many things suggested on various web pages all to no avail. My problem is that I accidentally dragged and dropped one of my data folders to a folder with a really long gobbledegook name – this is probably some kind of system folder. Although I could see my data folder I could not open it or drag it back again to where it should be. I discovered by trial and error that any file/folder that I dragged and dropped to this particular place became similarly inaccessible. But I did finally stumble of a solution that worked!!! I created a new folder in the root of my C: drive and copied the gobbledegook folder to my new folder lock, stock and barrel, and bingo, all of my locked folders became accessible again – so I copied them back to where they should have been. I then copied the gobbledegook folder back to where it came from.

  35. I have been,for hours, scouring the Microsoft site in an attempt to solve this problem, the google search too. By a lucky hid I got to this site and article and in 2 minutes solved the problem. Why in the Hell didn’t include XP Home in it’s fixes I’ll never know. Thanks again.
    Ken Cook

  36. This is brilliant, simple easy and it works, thanks to poster.

  37. Thanks! I’ve been looking for a solution for this problem for ages. :) finally deleted those pesky folders that have random strings!

    Thank you!

  38. I have a problem like this, but at Windows 2003 where the server do not give me the ownership… and did the CHKDSK /F, but still not doing it… the Admin cannot get the file security info… so, if a Admin cannot, who can?

  39. Who would have EVER thought that “Use Simple File Sharing” would cause such pain? You are the ONLY person I’ve found who pointed out this “simple” tick mark on the Tools->Folder Options->View-> Advanced Settings.

    You rock, SIR!

    Cheers->

    Jimmy

  40. I solved this problem by opening up the HD through an APPLE computer. This help me retrieve all my info off of disk.

  41. This is good info but what about if you don’t have access to an admin acconut do you know how to take ownership through other methods.

  42. Thanks, this really worked!! :)

  43. This did work great! Now a question. If you put the hard-drive back in after you take ownership to run a repair do you have to relinquish ownership? (Windows XP) If yes, do you reverse the process?

Post yours

blog comments powered by Disqus

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.

12 Hottest Geek Girls on Twitter

So, you have seen the 12 Hottest Geek Girls (via Digg). However, they forgot to link them to their Twitter profiles so you can follow them. Well, here they are -- the 12 Hottest Geek Girls ...13th Oct, 2009

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

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • ActionScript 3.0 Reference Flash/Flex ActionScript 3.0 Reference.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • 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.
  • Downloads All downloads, Free and Open Source.
  • 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.

Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 995 Articles and 5,934 comments, contained within 17 categories and 1,639 tags.