If you are seeing an access denied file or folder error on your Windows system, you are not alone. Many Windows users have got it. This usually occurs when they are accessing or making changes to a file or folder. Sometimes the error appears when upgrading from a previous version of Windows.

Why does the error appear?

In many cases, you can get this error because you don’t have the appropriate ownership or permissions to access or change the file or folder. But the error may also occur if the file or folder is corrupted.

How can you fix it?

This is an annoying issue. It stops you from opening or changing the file or folder. And there may be some important data in that folder but you can’t access them now. But not to worry. Here are a few tips that can help you fix this error or save your data:

Method 1: Take the ownership of the file or folder
Method 2: Get the proper permissions
Method 3: Recover your data

Method 1: Take the ownership of the file or folder

The access denied error may occur if you don’t have the ownership of the file or folder or the ownership has changed. You can try taking the ownership and see if this resolves the problem.

Note that the steps to take the ownership on Windows 10/8 is slightly different from the steps on Windows 7. The following part will show you how to take ownership on the these different systems.

IMPORTANT: You should log on your operating system as an administrator before you go on — An administrator has the privileges to make advanced changes to the file or folder and the steps as follows require those privileges.

If you are not clear if your account type is administrator, click the Start button in the lower left corner of the screen and then type “account“.

After that, click Manage your account or User Accounts in the list of results. Then in the window popping up, you will see your account name and the account type.

If your account type is not administrator, sign out of this account and log into an administrator account, or ask the administrator of this computer to log on for you.

Also, note down the account name after you log on as a administrator. This is useful when you change the ownership.

To take the ownership on Windows 10/8:

1) Right click the problem file or folder. Then select Properties.

2) Click the Security tab, and then the Advanced button. This will open Advanced Security Settings for this file or folder.

3) Click Change to change the owner.

4) Type the account name you are using into the box under Enter the object name to select. Then click the Check Names button (and the computer will complete the object name for you). After that, click OK.

5) If you want to take the ownership of all the files and subfolders in this folder, select the check box of Replace all child object permission entries with inheritable permission entries from this object. Then click OK. 

6) Click OK to save the changes and close the Properties dialog.

7) Try opening or making changes to the file or folder and see if the error disappears.

To take the ownership on Windows 7:

1) Right click the problem file or folder. Then select Properties.

2) Click the Security tab, and then the Advanced button. This will open the Advanced Security Settings for this file or folder.

3) Click the Owner tab. Then click the Edit button to change the owner.

4) Click the Other users or groups button to choose the user manually.

5) Type the account name you are using into the box under Enter the object name to select. Then click the Check Names button (to let the computer to enter the complete object name for you). After that, click OK.

6) Check Replace owner on subcontainers and objects If you want to take the ownership of all the files and subfolders. Then click OK.

7) Click OK to apply the changes and close the settings window.

8) Click OK to apply the changes and close the Properties dialog.

9) Check and see if the error disappears.

Method 2: Get the proper permissions

The system may deny your access if you don’t have the proper permissions to read or modify the file or folder. You can try get yourself the permissions and see if this can get rid of the error.

IMPORTANT: You should log on your operating system as an administrator before you go on — An administrator has the privileges to modify permissions of a file or folder.

If you are not clear if your account type is administrator, click the Start button in the lower left corner of the screen and then type “account“.

After that, click Manage your account or User Accounts in the list of results. Then in the window popping up, you will see your account name and the account type.

If your account type is not administrator, sign out of this account and log into an administrator account, or ask the administrator of this computer to log on for you.

Also, note down the account name after you log on as a administrator. This is useful when you try to get the proper permissions.

1) Right click the problem file or folder. Then select Properties.

2) Click the Security tab, and then the Edit button. This will open the Permissions dialog for this file or folder, which allows you to change the permissions.

3) In the Group or users names box, click your name (the name you use to log into this computer). Then, in the Permissions for Users box, select the Allow check box of Full control (this will allow you to have full control to access and modify this file or folder). After that, click OK to apply the changes and exit this dialog.

4) Click OK to apply all the changes and close the Properties dialog. 

5) If this method works for you, you won’t get the access denied error when you try to open or modify the file or folder.

Method 3: Recover your data

It is also possible that you get the access denied error because the file or folder you are accessing is corrupted. You can’t open it or make any changes. Honestly, in most cases, the corrupted files and folders cannot be repaired. You can only either delete it or recover it from a backup copy. But still you can utilize some data recovery tools or services to recover data from a corrupted folder. So if the data in the problem folder is important for you, you can try using find some programs or services to perform data recovery in order to save them.

13
13 people found this helpful
guest
2 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments