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

Everything you need to make changes to your registry

by Tashreef Shareef
Tashreef Shareef
Tashreef Shareef
Windows & Software Expert
Tashreef Shareef is a software developer turned tech writer. He discovered his interest in technology after reading a tech magazine accidentally. Now he writes about everything tech from... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • If you are getting an error writing the value's new contents in Registry Editor, it might be because you don't have the required permission.
  • A quick fix to the issue is to run Registry Editor with administrative privileges.
  • Another simple solution to the problem is to take ownership and full control of the registry folder.
error writing the values new contents

XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

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.

 RELATED STORIES YOU MAY LIKE:

This article covers:Topics: