Wondershare Recoverit

File Recovery

  • Recovers deleted or lost files effectively, safely and completely.
  • Supports data recovery from 500+ data loss scenarios, including computer crash, partition loss, accidental human error, etc.
  • Supports 1000+ file formats recovery with a high success rate and without any quality loss.
Free Download Free Download Free Download Learn More >
file recovery

How to Solve the ‘Access Denied Error’ in Windows

Wondershare Recoverit Authors

Jan 15, 2024 • Filed to: Windows Computer Solutions • Proven solutions

Windows Operating System, especially the recent variants of this Operating System impose very stern restrictions on system-wide locations, folders, and files. This is particularly helpful when one has to ward off users in a network or any other guest users on the Local PC and is an effective security option to restrict unauthorized users. This also prevents viruses, malware, and other harmful external sources from gaining access to critical folders and files. So, where does the question of ‘Access Denied Error’ occur?

It is common knowledge that whenever any virus interferes in the functioning of the system, the foremost attacks are carried out against the security vulnerabilities. However, the recent versions of Windows, especially Windows 8 and Windows 10 have been equipped with enhanced and thriving Advanced Security Settings, thus keeping the novice users away from the complete access of system locations.

However, what if you, on your system are faced with the ‘Access Denied Error’ message or situation? It is not unusual to see this error while working on the recent variants of Windows. However, if you are faced with this error, working on your system can become difficult, and therefore, it is important to cure the ‘Access Denied Error’ situation. In the given article, we see how one can regain the rightful ownership of their files and folders from the ‘Access Denied Error’ situation.

There are two methods to go about finding a solution to the ‘Access Denied Error’ situation. However, for the ease of amateur users, we shall only consider the one carried out through Graphical User Interface. The command prompt method can be reserved for the ones that are either professionally sound or have a strong technical background while dealing with Windows. For normal users, we do not advise the command prompt method and hence won’t list it here.

How to Overcome the ‘Access Denied Error’ Situation:

This is a long process that would involve several steps, and therefore, we request you to follow the screenshots patiently and overcome the ‘Access Denied Error’ situation.

1. To start with, you must move to the location where the system file that requires modification is residing. However, you will be faced with the ‘Access Denied Error’ situation as the latest variants of Windows deny all type of write access to the system file. The screen will have ‘File Access Denied’ dialog box when you attempt to modify, delete, or rename the file.

Solve Access Denied Error: 1

2. You would be required to have the administrative privileges to change the file access permissions, as it won’t be possible for the standard user account holders are not allowed to change the ownership of system files. You are to right-click the file whose access permissions are required to be changed and follow it by selecting ‘Properties’. Move to the ‘Security tab’, select ‘Administrators’ (<your user account name>/Administrators) from the ‘Permissions’ box if you wish to view the current file access permissions.

Solve Access Denied Error: 2

3. According to the default settings, only users from the ‘Administrator’ group can read and execute the files. However, they do not have permission to modify and write to file. If you wish to gain full write access, click on ‘Advanced’, which can be found underneath the permissions box.

Solve Access Denied Error: 3

4. ‘Advanced Security Settings’ dialog of the file would open up, showing all the permission entries. This would contain the Owner’s name, etc, and comes along the option the change for the file access permissions of the given user. Change the owner by clicking ‘Change’, which will open ‘Select User or Group’ dialog to help you select a new owner of the file. Use the ‘Advanced’ option to select the user from the list. You can do this by clicking on the ‘Advanced’ button.

Solve Access Denied Error: 4

5. When you come into the ‘Advanced’ mode, you can access all the available users by clicking on ‘Find Now’. This shows users and system objects in the list at the bottom, allowing you to select the user or group you wish to give the ownership to. For example, you are willing to give full write and access permission to a user who is in the ‘Administrators’ group, you should select ‘Administrators’ and hit Ok. This is a crucial step in overcoming the ‘Access Denied Error’ situation. More users can be added by adding the ‘Users’ group from the list.

Solve Access Denied Error: 5

6. Click on ‘Ok’ to close the ‘Select User or Group’ window after you have added the ‘Administrators’ group.

Solve Access Denied Error: 6

7. The ownership of the file would be changed upon clicking. Now, to overcome the situation of ‘Access Denied Error’, you would have to add a specific ‘Auditing entry for Administrators’ group to modify the file permissions (read, execute, write, and modify). Click on ‘Add’ after heading over to the ‘Auditing tab’.

Solve Access Denied Error: 7

8. ‘Select User or Group’ dialog would be opened, which allows you to add a user object for inserting into the auditing entries list. Name of the user can be added manually or by clicking on ‘Advanced’, you can select the user from the list.

Solve Access Denied Error: 8

9. After you are done adding the ‘Administrator’ to auditing entries, to specify the file permissions, it opens an ‘Auditing Entry’ dialog. One can click ‘Show Advanced Permissions’ to view and enable all the file-related access permissions including traverse folder/execute a file, read attributes, Read extended attributes, creates files/writes data, write attributes, delete, read permissions, change permissions, take ownership and more. You can select ‘Success’ from the ‘Type’ drop-down menu, and enable ‘Full Control’ and hit Ok.

Solve Access Denied Error: 9

10. This defines the file permissions for the given user. To overcome the ‘Access Denied Error’ situation, you should click on ‘Apply’ followed by ‘Ok’ to make changes to file access permissions.

Solve Access Denied Error: 10

11. After you click to make the file access permissions, Windows Security dialog appears, which further confirms the changes made to file security and permission settings. Click ‘Ok’ and then move from the ‘Advanced Security Settings’ and file Properties dialog.

Solve Access Denied Error: 11

12. The last steps include opening the File Properties dialog, heading over to the security tab, and clicking on ‘Edit’. Now, it allows you to change the file access permissions for the ones who belong to the ‘Administrators’ group. You can now select the user from the list, and under the Allow filed, check the ‘Full control’ checkbox to gain full file access permissions.

Solve Access Denied Error: 12

13. A dialog box would pop-up on the screen confirming the action. Click on ‘Yes’ and gain full file access control for the given file.

Solve Access Denied Error: 13

As we see from the above steps, getting a solution to the ‘Access Denied Error’ situation is not possible. After you have retained the ownership of the file, you can make changes according to your needs to the file.

computer data recovery

Your Safe & Reliable Computer Data Recovery Software

  • Recover lost or deleted files, photos, audio, music, emails from any storage device effectively, safely and completely.
  • Supports data recovery from recycle bin, hard drive, memory card, flash drive, digital camera, and camcorders.
  • Supports to recover data for sudden deletion, formatting, hard drive corruption, virus attack, system crash under different situations.
Recoverit author

David Darlington

staff Editor

Home > Resources > Windows Computer Solutions > How to Solve the ‘Access Denied Error’ in Windows