SoFunction
Updated on 2025-04-14

Fix locked registry

The trick of locking the registry is more vicious. It makes common users more difficult even if they simply modify the registry and restore it. The symptoms are that when you click "Run" in the Start menu, when you enter the regedit command in the Run box, the registry cannot be used, and you will find that the system prompts you that you do not have permission to run the program, and then ask you to contact the system administrator.

This is due to the Registry Editor:

Because the DWORD value "DisableRegistryTools" under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System is modified to "1", restore its key value to "0" to restore the use of the registry.

Solution:

(1) You can create a tool to unlock the registry by yourself, which is to use Notepad to edit a .reg file with any name. For example, the content is as follows: REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]

"DisableRegistryTools"=dword:00000000

It should be noted that if you use this method to create a tool to unlock the registry, you must strictly follow the above writing format, and you cannot miss it, and you cannot modify it (in fact, you only need to "copy" and "paste" the above content into your machine notepad); after completing the above work, click the "Save As" item in the file menu of notepad. The file name can be at will, but the file extension must be .reg (remember), and then click "Save". This registry unlocking tool is completed. After that, you only need to double-click the generated tool icon, which will prompt you whether to add this information to the registry. You need to click "Yes", and then the system prompts that the information has been successfully entered in the registry, and then click "OK" to unlock the registry.