SoFunction
Updated on 2025-04-12

Collection of methods for disabling and unlocking of registry

Disable the registry
------
First, for users of 2000/xp/2003, run:; disable the service Remote Registry, so that others cannot remotely modify your registry.

Then
1. Use software to disable the registry
For example: (The text here is automatically blocked by the system)

2. Pass .reg file
Save the following content as, double-click it, the registry will be disabled
REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000001

3. In Windows 2000/XP/2003, run and open "Group Policy". Then expand "User Configuration → Administrative Templates → System", double-click "Block Access to Registry Editing Tools" in the right window, and select "Enabled" in the pop-up window.

Unbanned Registration Form
------
1. Use software to disable the registry
For example: (The text here is automatically blocked by the system)

2. Pass the .reg file (Applicable to 98 system, under XP/2003, the reg file cannot be imported after disabling the registry)
Copy the following content to Notepad and save it as a file with the extension reg. After double-clicking, the registry will be unlocked.

REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000000

3. Pass .vbs file
Copy the following content to Notepad and save it as a file with vbs extension. After double-clicking, the registry will be unlocked.

Dim WSHShell
Set WSHShell=("")
 "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\"

4. Through .inf file
Copy the following content to Notepad, save as a file with an extension inf, right-click to select Install, and unblock the registry

[Version]
Signature="$Chicago$"
[DefaultInstall]
DelReg=DeleteMe
[DeleteMe]
HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\System","DisableRegistryTools"

5. Through .js file
Copy the following content to Notepad and save it as a file with js extension. After double-clicking, the registry will be unlocked.

var WSHShell=("");

("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\DiableRegistryTools" ,0,"REG_DWORD");

("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\");

6. Unblock the registration form under the command line
Command: reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools

7. In Windows 2000/XP/2003, run and open "Group Policy". Then expand "User Configuration → Administrative Templates → System", double-click "Block access to registry editing tools" in the right window, select "Disabled" in the pop-up window, and then exit "Group Policy" to unlock the registry.