Autochrome Photography Wordpress theme for just $25. Get Yours

File Access Denied on Windows XP and how to take ownership

— By

In the recent hard disc crash, I had to do a restore from my back-up. 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. I looked around and finally got the solution on How to take ownership of a file or folder in Windows XP.

Here are simplified steps.

  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.

That’s it.

Brajeshwar

Brajeshwar believes in simplicity; pushes the envelop and envisions the betterment of usable and practical solutions.

More by Brajeshwar

  • Sam

    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.

  • Sam

    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.

  • Marcos

    Thanks, this really worked!! :)

  • Marcos

    Thanks, this really worked!! :)

  • Kassie

    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?

  • Kassie

    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?

  • Guest

    and what if we deny access dvd jedninica

  • Brian

    thanks for that!!

  • Events

    thank you thank you thank you.... ;-)

  • Shriparna

    Hi,

    Thanks for the wonderful solution. You can try this link http://www.deletelongfile.com also.
    Hope it will help you.

  • Yogie Rinaldy

    Thank you very much!!!

  • Wrauberto

    A sincere thank you for this fix and a sarcastic thank you to M$ for making this so difficult.

  • Rjones

    Thank you very much. I don't know why these crazy things happen, but this fixed it.

  • http://profiles.google.com/itspecialist2011 Dan Rogy

    Hi BRAJESHWAR,

    Thank you for your post regarding access denied on windows xp

    If it will not work, from my side I can also recommend to try http://LongPathTool.com

  • http://pulse.yahoo.com/_AOSBEED5LZSPFERWL2BC2UQ7WQ Senthilnathan

    Very Very Thanks for given this solution , i very kind of you
    -Senthil

  • Prasannatpj

    thank you man

  • rama devi

    c drive access denied error msg showing while formatting. say how can overcome this pleaseeee.....

  • Sameergolwala

    I have Win XP sp3. I have no security tab on old folder. The simple file sharing already enable. how would I open it? Thanks.

    • Evilkenivel6

      you need to DISABLE simple file sharing. open a random folder>tools>folder options. its the last one. DISABLE simple file sharing. as in NO check mark. 

  • Evilkenivel6

    make sure simple file sharing is disabled (open my computer>tools>folder options>view, all the way at the bottom UNCHECK simple file sharing. then right click on the harddrive>properties>security>advanced>owner> click administrator and check the box at the bottom (replace owner on subcontainers and objects)  make sure that box is checked and press ok. let it work its magic. it will take a while.  then try to format it.

    >>>>PRO TIP. if your operating system is running off of that harddrive you cannot format it. you need to boot off of another harddrive or boot off of a cd (XP or WINDOWS 7 cd to format and then install the new operating system.)    if you format it will erase EVERYTHING on that harddrive.

    • Gauravgargy12

      Thknx your process is Good..

      It's working easiable

  • http://twitter.com/NPerfectHarmony NPerfectHarmony

    I'm running winxp home, with service pack 3.  Everything was working fine until recently when I try to share a file on my home network, the option for sharing is no long available.  The three tabs I get when I right click on a file are General, DFS  and customize.  I'm not sure what happened but if anyone can help it would be great.   thank you

Teknopoint Multimedia - Adobe Training, Design and Development, RIA Consulting. Teknopoint Multimedia - Adobe Training, Design and Development, RIA Consulting.

Themes