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
- Navigate to Task Manager and kill the application process of a program you are making changes to.
- Type regedit in the search bar.
- Right-click on Registry editor and select Run as administrator.
- Now try to make the changes that you were trying to make and check if the error is resolved.
2. Change Permission for Registry Folder
- Press Windows Key + R to open Run.
- Type regedit and press OK to open the Registry Editor.
- In the registry editor navigate to the location of your registry file that is resulted in the error.
- Right-click on the folder and select Permissions.
- In the Security tab, under “Permission for Application Packages” check the Deny column.
- If any of the permissions (Full Control, Read, Special Permissions) is checked under Deny column, uncheck it.
- Click on Apply and click OK to save the changes.
- 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
- Press Windows Key + R to open run.
- Type msconfig and press OK to open System Configuration.
- Open the Boot tab and check “Safe Boot” under Boot Options.
- Click Apply and OK.
- It will ask you to restart the system, click Restart.
- 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: