How to Fix “Error Creating Key or Error Creating Value” in the Registry Editor?

When attempting to create or make changes to certain keys or values in the Registry Editor, users might encounter an error message “Error Creating Key or Error Creating Value”. This error typically suggests that the user account trying to carry out the action does not have the necessary security permissions.

Error Writing to Registry

The security permissions determine the level of access granted to a user account, which in turn either allows or prevents the account from modifying specific resources in Windows.

Other factors that could lead to this error include using a standard account, interference from third-party programs, or running the Registry Editor without administrative privileges.

1. Run as Administrator

Executing the Registry Editor with administrative privileges provides the user’s account with higher access levels, thereby enabling the intended modifications to the registry keys or values.

  1. Click on the Start Menu, type regedit, then right-click on Registry Editor and select Run as Administrator.
    Regedit Search

2. Grant Necessary Security Permissions

A standard user account may not have the necessary security permissions to alter specific keys or values. Granting these permissions can elevate the user’s privileges and potentially resolve the issue. It is advisable to back up the registry before proceeding, to restore default configurations if needed.

  1. Right-click the Start Menu, type regedit, then right-click on Registry Editor and select Run as Administrator.
    Regedit Search
  2. Navigate to the key causing the error, right-click on it, and select Permissions.
    Registry Key Permissions
  3. In the Permissions Window, locate your user account under Group or Usernames and click to select it.
  4. Tick the Allow box next to the Full Control permission and click Apply.
    Full Control Permissions
  5. If an error stating ‘Unable to save permissions’ appears, or your user account is not listed, click the Advanced button under permissions.
    Advanced User Permissions
  6. In the Advanced Security Settings window, click the Change button next to Owner.
    Advanced Security Settings
  7. Enter your username into the ‘Enter the object name to select’ box, then click the Check Names button. Confirm that your account appears correctly and click OK.
    Check Names for Permissions
  8. In the Advanced Security Settings, select the following options, then click Apply:
    ‘Replace owner on sub-containers and objects’
    ‘Replace all child object permission entries with inheritable permission entries from this object’
    Changing Owner in Advanced Security Settings
  9. Return to highlighting your user account from the list, ensure the Allow box next to Full Control is checked, and click Apply.
    Full Control Permissions Applied

3. Boot into Safe Mode to Make Changes

Sometimes, third-party software or programs can interfere with registry modifications. Booting into Safe Mode launches Windows with only the essential programs and drivers, which could resolve potential conflicts.

  1. Press Windows + R to open the Run command, type in msconfig and click OK.
    System Configuration
  2. Within the System Configuration window, select the Boot tab, then under Boot Options, choose Safe Boot followed by Minimal. Click Apply and OK.
    Safe Boot Option
  3. At the next prompt, click Restart to reboot your computer into Safe Mode.
    Restart into Safe Mode
  4. Once Windows has booted in Safe Mode, attempt the registry changes again.
  5. Once done, open the ‘msconfig’ again and uncheck the safe boot option and then restart your computer.
ABOUT THE AUTHOR

Hamza Mohammad Anwar


Hamza Mohammad Anwar is an intermediate JavaScript web developer with a focus on developing high-performance applications using MERN technologies. His skill set includes expertise in ReactJS, MongoDB, Express NodeJS, and other related technologies. Hamza is also a Google IT Certified professional, which highlights his competence in IT support. As an avid problem-solver, he recreates errors on his computer to troubleshoot and find solutions to various technical issues.