我意外地禁用了注册表工具

时间:2016-10-20 02:15:17

标签: batch-file command-prompt regedit

我想知道在批处理命令中运行此命令后是否有办法恢复注册表编辑器编辑器访问:

REG add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /t Reg_dword /v DisableRegistryTools /f /d 0

非常感谢任何帮助!

2 个答案:

答案 0 :(得分:1)

尝试从运行提示符

运行以下命令
REG add "HKCU\Software\Policies\Microsoft\Windows\System" /v DisableCMD /t REG_DWORD /d 0 /f

REG add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /t Reg_dword /v DisableRegistryTools /f /d 0

答案 1 :(得分:1)

使用运行提示尝试以下两个命令:

REG add "HKCU\Software\Policies\Microsoft\Windows\System" /v DisableCMD /t REG_DWORD /d 0 /f

REG add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /t Reg_dword /v DisableRegistryTools /f /d 0