File Access Denied on Windows XP and how to take ownership

In a recent hard disk 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.

Here are the 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 object 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.

  • Dave

    I was getting a possible failure error message about my hard drive so I replaced it. Since then I can access all the folders and files (as far as I can see) except for one, which of course is the most used and important.

    I tried some of the suggestions found here but none have solved the problem.

    I am running WinXP, do not have the 'Security" tab, and am wondering why only the one folder is not accessible.

    Please help.