Fix 'Error Writing the Value's New Contents' in Windows 10 Registry

Fix 'Error Writing the Value's New Contents' in Windows 10 Registry

Encountering the 'Error Writing the Value's New Contents' in Windows 10 Registry can be frustrating. This article will guide you through several effective methods to resolve this issue.

How do I fix error editing value in the registry?​

1. Run Regedit as an Administrator​

  1. Press the Windows key + R to open the Run dialog box.
  2. Type "regedit" and press Enter to open the Registry Editor.
  3. Right-click on the Regedit shortcut or executable file and select "Run as administrator."
    Run-regedit-as-Admin.png
  4. If prompted by User Account Control, click "Yes" to grant administrative privileges.
  5. Try to modify or add the desired registry value and check if the error persists.
Running Regedit as an administrator ensures you have the necessary permissions to modify the registry values, which often resolves this error.

2. Grant Permissions to the Registry Folder​

  1. Press the Windows key + R to open the Run dialog box.
  2. Type "regedit.exe" and hit Enter to open Registry Editor.
  3. Navigate to the location of the registry file that causes the error.
  4. Right-click on the folder and select "Permissions."
  5. In the Security tab, examine the Deny column. If any permissions such as Full Control, Read, or Special permissions are ticked, untick them.
  6. Click on Apply & OK.
  7. Reboot your system.
Changing the permissions for the specific registry folder ensures that you have the necessary access rights to modify it, preventing the error.

3. Fix Corrupted System Files​

  1. Open the Command Prompt as an administrator by pressing Windows key + X and selecting "Command Prompt (Admin)" or "Windows PowerShell (Admin)."
  2. Type the following command and press Enter:sfc /scannow

  3. The System File Checker tool will scan your system for corrupted files and attempt to repair them. This process may take some time.
  4. Once the scan and repair process is complete, restart your computer and check if the error is resolved.
Using the System File Checker tool to fix corrupted system files can resolve issues that prevent the registry editor from saving your changes.

4. Delete Faulty Registry Keys​

  1. Open Regedit as an administrator (refer to Solution 1).
  2. Navigate to the faulty registry key by expanding the corresponding registry hives and folders.
  3. Right-click on the problematic key and select "Delete."
  4. Confirm the deletion when prompted.
  5. Restart your computer and check if the error is resolved.
Deleting a faulty registry key can resolve issues caused by corruption or incorrect values in that specific key.

5. Boot into Safe Mode​

  1. Press the Windows key + R to open the Run dialog.
  2. Type "msconfig" and hit Enter to open System Configuration.
  3. Under the Boot tab, check "Safe Boot."
    Safe-Boot-Windows-10.png
  4. Click on Apply > OK > Restart.
  5. In Safe Mode, open Registry Editor to delete or modify the file you want to remove.
Booting into Safe Mode excludes third-party programs or services that might interfere with the registry editing process, allowing you to make necessary changes.

6. Scan for Malware or Viruses​

  1. Ensure that your antivirus software is up to date. If not, update it to the latest version.
  2. Perform a full system scan to detect and remove any malicious software.
  3. Follow the instructions provided by your antivirus software to quarantine or remove any detected threats.
  4. After the scan and removal process is complete, restart your computer and check if the error persists.
Scanning for malware or viruses can eliminate any malicious software causing interference with the registry editor.

7. Check and Modify Environment Variables (For Java Users)​

  1. Open the Start Menu and type "Environment Variables" in the search bar. Select "Edit the system environment variables."
  2. In the System Properties window, click on "Environment Variables."
  3. In the System variables section, find and select the Path variable, then click "Edit."
  4. Ensure that the paths to your Java installations are correctly listed. Add or modify the paths as needed (e.g., C:\Program Files\Java\jdk1.8.0_45\bin).
  5. Click OK to save changes and close all windows.
  6. Open Command Prompt and type "java -version" to verify the correct Java version is being used.
Ensuring the correct path to the Java installation for Java-related registry issues can resolve version conflicts and related errors.
Author
Windows Daily
First release
Last update

More resources from Windows Daily

Top