To prevent others from modifying your registry , you can disallow registry editor Regedit.exe to run. The method is as follows:
1, open the registry, find Hkey_current_usersoftwaremicrosoftwindowscurrentversion Policiessystem, if there is no system under policies, Please create a new item (primary key) below it and name it system;
2, and then in the right margin to create a double byte (DWORD) value, named it disableregistrytools;
3. Double-click DisableRegistryTools to modify its numeric data to 1 (originally 0)
After this, quit Registry Editor, open the registry again, prompted "Registry Editor has been disabled by the administrator," then others, even you can no longer use Regedit.exe.
To recover, you can use the Notepad program to create a file with Reg suffix, and copy the following content into it:
REGEDIT4
Hkey_current_usersoftwaremicrosoftwindowscurrentversionpoliciessystem
"DisableRegistryTools" =dword:00000000
Win9x write this, win2000,xp, REGEDIT4 to WindowsRegistryEditorVersion5.00 on the line
Then double-click it to run it
In addition to change the REGEDIT4 to WindowsRegistryEditorVersion5.00, when the last line is written, be sure to click the return, let the cursor another row, and then save, should not appear you said the problem.
Registry Editor is locked, please use the following code:
Dimwsh
Setwsh=wscript. CreateObject ("WSCRIPT.") SHELL ")
WSH. POPUP (Unlock Registry)
WSH. RegWrite "Hkcusoftwaremicrosoftwindowscurrentversionpoliciessystemdisableregistrytools", 0, "REG_DWORD"
WSH. POPUP ("Registry is unlocked")
Save as VBS file for direct execution
Q: Registry is locked
To prevent others from modifying your registry, you can disallow Registry Editor Regedit.exe to run. The method is as follows:
1, open the registry, find Hkey_current_usersoftwaremicrosoftwindowscurrentversion Policiessystem, if there is no system under policies, Please create a new item (primary key) below it and name it system;
2, and then in the right margin to create a double byte (DWORD) value, named it disableregistrytools;
3. Double-click DisableRegistryTools to modify its numeric data to 1 (originally 0)
After this, quit Registry Editor, open the registry again, prompted "Registry Editor has been disabled by the administrator," then others, even you can no longer use Regedit.exe.
To recover, you can use the Notepad program to create a file with Reg suffix, and copy the following content into it:
REGEDIT4
Hkey_current_usersoftwaremicrosoftwindowscurrentversionpoliciessystem
"DisableRegistryTools" =dword:00000000
Win9x write this, win2000,xp, REGEDIT4 to WindowsRegistryEditorVersion5.00 on the line
Then double-click it to run it