Dec 03, 2020 • Filed to: Windows Computer Solutions • Proven solutions
However, occasionally some security setup is based on 'denied by default', meaning that in the absence of a rule granting access, nobody can access anything. In this case, it is much harder for a software system to explain to the user why the 'access denied' occurred. Follow me: Support me, please: 5/6/12-DD/MM/YY Still works -.
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.
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.
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.
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.
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.
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.
6. Click on ‘Ok’ to close the ‘Select User or Group’ window after you have added the ‘Administrators’ group.
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’.
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.
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.
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.
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.
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.
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.
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.