|
如果注册表编辑器已被锁定
1.用VBS文件解锁:
打开记事本录入以下内容:
Dim A
Set A=CreateObject("WScript.Shell")
A.RegWrite"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistrytools","00000000","REG_DWORD"
A.RegWrite"HKEY_LOCAL_MACHINE\Software\CLASSES\.reg\","regfile"
A.RegWrite"HKEY_LOCAL_MACHINE\Software\CLASSES\.inf\","inffile"
输入完成后另存为UNLOCKREGEDIT.VBS,双击执行即可。
2.用JS文件解锁:
打开记事本录入以下内容:
VAR:A=WScript.CreateObject("WScript.Shell")
A.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistrytools","00000000","REG_DWORD");
A.RegWrite ("HKEY_LOCAL_MACHINE\Software\CLASSES\.reg\","regfile");
A.RegWrite ("HKEY_LOCAL_MACHINE\Software\CLASSES\.inf\","inffile");
输入完成后另存为UNLOCKREGEDIT.jS,双击执行即可。 |
|