禁止使用注册表编辑文件regedit.exe 

在HKEY_USERS\.DEFAULT\Software\Microsoft\

Windows\CurrentVersion\Policies\System 下
在右边的窗口中创建一个DOWRD值:"DisableRegistryTools",并将其值设为“1”。