Cannot edit installerdlls error writing the value's new contents

A classic Windows error!

The "Cannot edit installed DLLs" error typically occurs when you're trying to modify a system file or a file that's currently in use by another process. In this case, it seems like you're trying to write to a DLL (Dynamic Link Library) file, which is a shared library used by multiple applications.

Here are a few possible solutions to help you resolve this issue:

  1. Close unnecessary applications: Try closing any applications that might be using the DLL file. This could include background processes, antivirus software, or other programs that are running in the background.

  2. Run the Registry Editor as an administrator: Sometimes, the Registry Editor (Regedit.exe) needs elevated privileges to modify system files. Right-click on the Regedit.exe file and select "Run as administrator" to open the Registry Editor with elevated privileges.

  3. Use the built-in Windows utility: You can use the built-in Windows utility, fciv, to verify the integrity of the DLL file. To do this, open a Command Prompt as an administrator and run the following command:

    fciv -v <path_to_dll_file>

    Replace <path_to_dll_file> with the actual path to the DLL file you're trying to modify.

  4. Use a hex editor: If the above steps don't work, you can try using a hex editor like HxD or XVI32 to modify the DLL file. These editors allow you to edit the binary contents of the file, which might be necessary if the file is in use by another process.

  5. Re-register the DLL file: If the DLL file is registered with the system, you can try re-registering it using the following command:

    regsvr32 <path_to_dll_file>

    Replace <path_to_dll_file> with the actual path to the DLL file.

  6. Take ownership of the file: If none of the above steps work, you can try taking ownership of the file using the following steps:

a. Open the File Explorer and navigate to the location of the DLL file. b. Right-click on the file and select "Properties". c. Click on the "Security" tab. d. Click on the "Edit" button next to "Group or user names". e. Click on the "Add" button and enter "Everyone" in the "Enter the object names to select" field. f. Click "OK" to close the dialog box. g. Right-click on the file and select "Properties" again. h. Click on the "Security" tab and make sure that the "Everyone" group has "Full control" permissions.

After taking ownership of the file, try modifying it again.

Remember to be careful when modifying system files, as incorrect changes can cause system instability or even crashes. It's always a good idea to create a backup of the file before making any changes.