I Can't Access My Files: "Access Denied error

Windows XP | Access Denied Errors
Question:


I run Windows XP Pro and I recently had to recover from a crash. When I restored my backup files and folders I get an error that says "Access Denied", even though I am logged on with Administrative rights.


If you are unable to access a file or a folder, you must take ownership of that file or folder. When you do this, you replace the security permissions to have access.

NOTE:
If you are using Windows XP Professional, you must disable Simple File Sharing. By default, Windows XP Professional uses Simple File sharing when it is not joined to a domain.
See KB 307874 (http://support.microsoft.com/kb/307874/) How to disable simplified sharing and set permissions on a shared folder in Windows XP
How to take ownership of a folder

NOTE:
You must be logged 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.

To take ownership of a folder, follow these steps:

Right-click the folder that you want to take ownership of, and then click Properties.
Click the Security tab, and then click OK on the Security message (if one appears).
Click Advanced, and then click the Owner tab.
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.
Click OK, and then click Yes when you receive the following message:
You do not have permission to read the contents of directory folder name. Do you want to replace the directory permissions with permissions granting you Full Control?
All permissions will be replaced if you press Yes.
Note folder name is the name of the folder that you want to take ownership of.
Click OK, and then reapply the permissions and security settings that you want for the folder and its contents.


How to take ownership of a file
NOTE:
You must be logged on to the computer with an account that has administrative credentials.
To take ownership of a file, follow these steps:

Right-click the file that you want to take ownership of, and then click Properties.
Click the Security tab, and then click OK on the Security message (if one appears).
Click Advanced, and then click the Owner tab.
In the Name list, click Administrator, or click the Administrators group, and then click OK.
The administrator or the Administrators group now owns the file. To change the permissions on the files and folders under this folder, go to step 5.
Click Add.
In the Enter the object names to select (examples) list, type the user or group account that you want to give access to the file. For example, type Administrator.
Click OK.
In the Group or user names list, click the account that you want, and then select the check boxes of the permissions that you want to assign that user.
When you are finished assigning permissions, click OK.
That's it.. you should now be able to access your files and folders accordingly. If you have any further questions, feel free to email me anytime.