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.


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

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

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

  3. 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.
Custom Search

New Articles

Incoming Search Terms for the Article

some keys are open by the system or other processes - cannot create value error writing to the registry - cannot import error accessing the registry - error writing the value's new contents - 221 541 reg err - all - not all data was successfully written to the registry - remove Grant Admin Full Control - cannot create value error writing registry - cannot access registry key - windows 7 regedit access denied - "error writing to registry" "access denied" - windows 7 regedit permissions - vista registry permissions fix - cannot edit error writing the value's new contents - registry fix to allow administrator access window 7 - allow to write to the registry+win 7 - full control permissions - cannot create value error writing to the registry windows 7 - grant admin full control - delete registry keys permissions - windows 7 registry permissions - write control permissions - windows 7 add registry key - error editing value - error editing value regedit - permission to change regedit in windows 7 - windows 7 can't change registry permissions - windows 7 full control - cannot create value: error writing to registry - grant permission to change registry - windows 7 protected registry keys - windows 7 registry error deleting key - : all data was not correctly recorded in the register. some keys are open by system or by other processes. - cannot edit Allow mobile: Error writing the value's new contents vista error - registry import in windows 7 - windows "cannot create value: Error writing to the registry" - how to import reg keys to win7 - access to registry keys eset - full control permission to the registry - Take Ownership - win 7 registry control - "Windows 7" "error while deleting key" - error writing to the registry - Grant Admin Full Control.reg - regedit error writing the value's new contents - the registry editor cannot rename new value #1 - vista permission to delete reg keys - windows 7 key in registry - full control permission -