Error writing the value’s new contents Windows 10 registry [FIX]

Tashreef Shareef
by Tashreef Shareef
Windows & Software Expert
Download PDF
Affiliate Disclosure

Windows 10 registry error writing the value's new contents

The Regedit (registry editor) tool in Windows 10 allows the users to make some modification to their registry keys and values. However, at times while deleting some registry files through Regedit, you may encounter the Error writing the value’s new contents in Windows 10. Affected users took to the Microsoft Community Forums to explain the problem.

I have been trying to delete some registry files through regedit (also tried shortcut, launch as admin) but everytime i try to either delete the entire file, or adjust its value i get the following errors:
upon trying to delete:
“Unable to delete all specified values”
upon trying to delete its value:
“Cannot edit <filenamehere>: Error writing value’s new contents.”

Follow these steps to fix this error in Windows 10.

How do I fix error editing value in the registry?

1. Run Regedit as Administrator

  1. Navigate to Task Manager and kill the application process of a program you are making changes to.
  2. Type regedit in the search bar.
    Run Regedit as Admin Windows 10 registry error writing the value's new contents
  3. Right-click on Registry editor and select Run as administrator.
  4. Now try to make the changes that you were trying to make and check if the error is resolved.

Forget about the lengthy manual approach with these automatized registry cleaners.

2. Change Permission for Registry Folder

  1. Press Windows Key + R to open Run.
  2. Type regedit and press OK to open the Registry Editor.
  3. In the registry editor navigate to the location of your registry file that is resulted in the error.
  4. Right-click on the folder and select Permissions.
  5. In the Security tab, under “Permission for Application Packages” check the Deny column.
  6. If any of the permissions (Full Control, Read, Special Permissions) is checked under Deny column, uncheck it.
    Windows 10 registry error writing the value's new contents
  7. Click on Apply and click OK to save the changes.
  8. Close and re-open the Registry Editor and check if you are able to make the changes without getting any error.

3. Boot into Safe Mode

  1. Press Windows Key + R to open run.
  2. Type msconfig and press OK to open System Configuration.
  3. Open the Boot tab and check “Safe Boot” under Boot Options.
  4. Click Apply and OK.
    Windows 10 registry error writing the value's new contents
  5. It will ask you to restart the system, click Restart.
  6. After the restart, open the Registry Editor and try to delete the file. This should allow you to make any changes if the error is caused by a third-party app.


Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!