Grant Read Write (Full Control) Permissions on Registry Keys (Fix Cannot Import and Access Denied Error in RegEdit)

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.

Registry Access Error

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.

Cannot Import Registry Keys with .REG File

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:

  1. Run Registry Editor (RegEdit).
  2. Navigate to the registry key which user wants to modify its security settings.
  3. Right click on selected registry key, and select Permissions.

    Edit Registry Key Permissions

  4. Click on the Advanced button.

    Advanced Registry Security Settings

  5. In “Advanced Security Settings” dialog window, go to the Owner tab.
  6. 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.
  7. Select the tick the check box for Replace owner on subcontainers and objects option, and click OK.

    Take Ownership of Registry Key

  8. Back in “Permissions” dialog window, click on Add… button.
  9. Enter the user’s login user name in the Enter the object names to select text box, and click on the Check Names button.

    Add User for Permissions Granting

    If there is error with the user ID entered, correct the error. If there is no error found, click the OK button.

  10. 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.

    Taking Full Control Registry Key

    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.

4 Responses to “Grant Read Write (Full Control) Permissions on Registry Keys (Fix Cannot Import and Access Denied Error in RegEdit)”

  1. Scott
    December 10th, 2009 07:20
    4

    This solution does not work.

  2. Barking Spider
    November 6th, 2009 12:50
    3

    Followed instructions and still not able to delete a key whether I change ownership to myself or administrator.

  3. Roy Remington
    November 5th, 2009 09:59
    2

    I did all that and it still won’t allow me to add any keys to the tcpip key but it will allow me to add it to any other place but that.

  4. kocoman
    September 26th, 2009 16:01
    1

    It does not work in Windows 7 when I try to rename the Safeboot (Minimal, network) under HKLM\System\CurrentControlSet\Control (to disable safe mode)

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

cannot import error accessing the registry - some keys are open by the system or other processes - error writing the value's new contents - windows 7 registry permissions - cannot create value error writing to the registry - can not edit registry - all - windows 7 regedit error writing the value - grant admin full control - error writing the value's new contents windows 7 - windows 7 permissions fix - not all data was successfully written to the registry - windows 7 regedit permissions - full control permission - can't change registry permissions in windows 7 - grant admin full control.reg - you do not have the requisite permissions to create a new key - windows 7 full control - registry write - cannot create value error writing registry - cannot delete registry key windows 7 - regedit error editing value Error writing the value's new contents - some keys are open by system or other processes - Windows 7 Cannot import error accessing registry - change permissions in registry - change registry permissions in windows 7 - some keys are open by the system or other processes windows 7 - vista regedit full control - error writing the values new contents - windows 7 error deleting entry - remove grant admin full control - Windows 7 registry permission - full control permission WINDOWS 7 - error accessing the registry windows 7 - Full Control (all) (all) - vista registry editor error accessing the registry - cannot edit write protect : error writing the value's new content - cannot import registration files "error accessing the registry" - editing permissions setting in vista registry - how to remove reg key that is blocked - permissions registry - regedit cannot edit error writing the value's new contents trusted installer - cannot create value: error writing to the registry eset - cannot import registry error accessing the registry - error deleting key eset - registry permissions windows 7 - take full admin control registry vista - unable to creting keys in regedit in vista - windows 7 registry permissions fix - cannot edit Default Format Error writing the value's new content -