Similar to system files and folders, some registry keys and values in system registry have been protected from accidental modification or deletion by end-user. Windows operating system restrict and lock some important registry keys by not granting write access right to standard user accounts, and even administrators. Instead, these protected registry keys are owned by System or TrustedInstaller, and has read-only permissions for end-user.
When a user doesn’t have permissions to modify, edit, create, add, change, delete or remove a registry key with Registry Editor (RegEdit.exe), one of the following error messages which denied permissions is displayed:
Error Creating Key
Cannot create key: You do not have the requisite permissions to create a new key under Registry Key.
Error Creating Value
Cannot create value: Error writing to the registry.
Error Renaming Key or Value
The Registry Editor cannot rename Registry Key or Value. Error while renaming key or value.
Error Editing Value
Cannot edit Registry Value. Error writing the value’s new contents.
Error Deleting Values
Unable to delete all specified values.
Error Deleting Key
Cannot delete Registry Key: Error while deleting key.
When a registry key is blocked from change, user also cannot run a .REG registry registration entries to merge the registry keys, values or value data to the system registry with the following permission denied error message:
Cannot import RegistrationEntries.reg. Not all data was successfully written to the registry. Some keys are open by the system or other process.
In order to take ownership and grant full control (read and write) permissions and rights on the protected system registry key to fix permissions denied issue, follow these steps:
- Run Registry Editor (RegEdit).
- Navigate to the registry key which user wants to modify its security settings.
- Right click on selected registry key, and select Permissions.
- Click on the Advanced button.
- In “Advanced Security Settings” dialog window, go to the Owner tab.
- Select and highlight the currently logged on user name or Administrators group (if user is a member of Administrators” in the Change owner to: box.
- Select the tick the check box for Replace owner on subcontainers and objects option, and click OK.
- Back in “Permissions” dialog window, click on Add… button.
- Enter the user’s login user name in the Enter the object names to select text box, and click on the Check Names button.
If there is error with the user ID entered, correct the error. If there is no error found, click the OK button.
- Back in “Permissions” dialog window, select and highlight the newly added user name in Group or user names: section, and tick the checkbox for Allow access right next to Full Control in the Permissions for <user name> section.
Note: Read permission is automatically selected when Full Control is granted.
Click on OK when done.
Tip: If user is a member of Administrators group, it’s possible to grant to Full Control access rights directly to Administrators too, which will be extend to all users with administrator’s privileges.
User can now perform any “operation” such as add, create, edit, change, modify, delete, erase or remove on the registry keys been granted full control permissions.
Share This Post
- Able2Extract Professional 11 Review – A Powerful PDF Tool
- How to Install Windows 10 & Windows 8.1 with Local Account (Bypass Microsoft Account Sign In)
- How to Upgrade CentOS/Red Hat/Fedora Linux Kernel (cPanel WHM)
- How to Install Popcorn Time Movies & TV Shows Streaming App on iOS (iPhone & iPad) With No Jailbreak
- Stream & Watch Free Torrent Movies & TV Series on iOS with Movie Box (No Jailbreak)
- Xiaomi AMAZFIT Cor IPS Smartband User Manual English Version
- Xiaomi Mijia Mini 4K 30fps Action Camera User Manual English Version
- Free Download 8 Awesome Software (Worth $350+) For Special Giveaway
- Windows 10 Insider Preview Build 18234 Released to Insider in Fast ring for PC – Here’s What’s New Improvements, Fixes, and Known Issues
- Windows 10 Insider Preview Build 17755 What’s New, Fixed and Known issues for PCs