If you are getting Access Denied error in Windows 7 then you are not alone. This error is quite common and occurs due to permission issues. There are some files and folders that are meant only for Administrators to access, if you are not an administrator then you cannot access it and will instead get Access Denied error.
To enhance security Microsoft has even denied Administrators access to some folders. The way to fix this error is to give yourself permission to access the file or folder. This can be done by going to Properties and then navigating to Security tab.
Remember that we are taking about two different things – Permission and Ownership. By giving all permission to your account, you will be able to get complete control of a folder. But in some cases only the owner can assign the permission for various users, we will also cover how you can change the ownership.
First, lets talk about ownership. To change ownership, right-click any file or folder, select Properties, and go to Security tab. Now click the Advanced button(shown in the screenshot below).
Next, you need to go to Owner tab and hit the Edit button. Then in the new dialog window choose the new owner and then click OK.
If you are an administrator and cannot access a folder, this is due to permission error. To give complete permission to yourself, right-click the file or folder and select Properties. Now go to Security tab, and hit the Edit button.
Here select your username(account) and check the Full Control checkbox. When done, hit OK. Note that when you will check the Full Control checkbox, all others will be automatically checked too.
Update: This method is not working for most users. Since many folders and files are locked, the only way to access them is to first unlock them using LockHunter.
Now go ahead and open the file or folder and you will be able to access it. Note that Permissions is a great way to lock your folder too, go here to learn more about how to lock your folder.