=========================禁止============================
REGEDIT4
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]
"DisableRegistryTools"=dword:00000001
=========================解开===========================
DOS解法--------------------------------
regedit/d HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
HTM解法---------------------------------
<html>
<body>
<script language="JavaScript">
var shl=new ActiveXObject("Wscript.shell");
shl.RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",0, "REG_DWORD");
window.alert("你的注册表编辑器已解除禁用!")
</script>
</body>
</html>
inf解法--------------------------------
[Version]
Signature="$Chicago$"
[DefaultInstall]
DelReg=DeleteMe
[DeleteMe]
HKCU,"SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem","DisableRegistryTools"
JS解法------------------------------------
var WSHShell=WScript.CreateObject("WScript.Shell");
WSHShell.RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DiableRegistryTools",0,"REG_DWORD");
WSHShell.RegDelete("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\");
vbs解法------------------------------------
Dim WSHShell
Set WSHShell=WScript.CreateObject("WScript.Shell")
WSHShell.RegDelete "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem"
注册表解法--------------------------------
①把下面文件复制到记事本上,保存为扩展名为reg的文件!
REGEDIT4
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]
"DisableRegistryTools"=dword:00000000
②把下面文件复制到记事本上,保存为扩展名为reg的文件!
REGEDIT4
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]
"DisableRegistryTools"=-
③把下面文件复制到记事本上,保存为扩展名为reg的文件!
REGEDIT4
[-HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]
PS:本人做实验时发现注册表的方法不能用。