Registry Editors allows you to view Windows registries and make changes. At times, you might fail to change a registry value or delete certain registry files with an error writing the value’s new contents. If you are in the same boat, keep reading this post from MiniTool to get this issue fixed.
Error Writing the Value’s New Contents
Windows Registry Editor allows you to make some changes on registries so as to set up access permissions or change the hardware or software configurations. However, sometimes, things might not go as expected. For example, you cannot edit registry value or tweak registry entry or with the following error prompt:
Cannot edit <filename>: Error writing value’s new contents.
When you cannot change registry entry or edit registry value, scroll down to find feasible solutions now!
MiniTool ShadowMaker TrialClick to Download100%Clean & Safe
How to Fix Error Writing the Value’s New Contents on Windows 10/11?
Preparation: Create a Backup of the Registry Database
Accidental removal of important registry entries may cause some unrecoverable damages to your PC, so you had better create a backup of the registry database in case something goes wrong during the process. Follow these steps:
Step 1. Type regedit in the search bar and hit Enter.
Step 2. To back up the entire registry database, right-click on Computer and select Export.
Fix 1: Run Registry Editor as an Administrator
At first, you can launch Registry Editor with administrative rights to see if it will make a difference. Follow these guidelines:
Step 1. Right-click on the taskbar and select Task Manager from the context menu.
Step 2. In the Processes tab, right-click on the process that you are making changes to and select End task.
Step 3. Press Win + S to evoke the search bar and type regedit to locate Registry Editor.
Step 4. Right-click on it to choose Run as administrator.
Step 5. Now, make the changes that you failed to make to see if error writing the value’s new contents is fixed.
Fix 2: Grant Permissions to the Registry Folder
Another way to gain the permissions is to change the permission for the specific registry folder. Here’s how to do it:
Step 1. Press Win + R to open the Run box.
Step 2. Type regedit.exe and hit Enter to open Registry Editor.
Step 3. Navigate to the location of the registry file that causes in the error.
Step 4. Right-click on the folder and select Permissions.
Step 5. In the Security tab, examine the Deny column. If any permission such as Full Control, Read, or Special permissions is ticked, untick it.
Step 6. Click on Apply & OK.
Step 7. Reboot your system.
Fix 3: Boot into Safe Mode
If you suspect any third-party programs or services are the culprit of error writing the value’s new contents, you can try booting your computer to Safe Mode to exclude their interference. To do so:
Step 1. Press Win + R to open the Run dialog.
Step 2. Type msconfig and hit Enter to open System Configuration.
Step 3. Under the Boot tab, check Safe Boot.
Step 4. Click on Apply > OK > Restart.
Step 5. In Safe Mode, open Registry Editor to delete the file you want to remove.
Also see: System Was Unable to Find Specified Registry Key/Value
Final Words
By now, you have taken full permission to change Windows Registry without error writing the value’s new contents. Meanwhile, don’t forget to create a backup of the registry database and your important files in advance to avoid any possible data loss.