CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/ Windows/CurrentVersion/Policies/Explorer
SetKeyValueHKEY_CURRENT_USER, "Software/Microsoft/Windows/CurrentVersion/ Policies/Explorer", " NoRun ", "1", REG_DWORD
以上是在HKEY_CURRENT_USER,
"Software/Microsoft/Windows/ CurrentVersion/Policies/Explorer里面加上一个键并设置键值为1的REG_DWORD格式, 这个是用来屏蔽开始菜单里的运行的,
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/Windows /CurrentVersion/Policies/Explorer"
SetKeyValueHKEY_CURRENT_USER, "Software/Microsoft/Windows/CurrentVersion/Policies/Explorer", "NoFind", "1", REG_DWORD
这段代码是用来屏蔽查找的, 就是说在你的计算机的开始菜单里会找不到这一项,
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft /Windows/CurrentVersion/Policies/Explorer"
SetKeyValueHKEY_CURRENT_USER,"Software/Microsoft/Windows /CurrentVersion/Policies/Explorer", "NoLogOff", "1", REG_DWORD
这段是用来屏蔽注销的
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft /Windows/CurrentVersion/Policies/Explorer"
SetKeyValueHKEY_CURRENT_USER, "Software/Microsoft/Windows/CurrentVersion/Policies/Explorer", "NoClose", "1", REG_DWORD
这段是用来屏蔽关闭计算机的
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/ Windows/CurrentVersion/Policies/System"
SetKeyValueHKEY_CURRENT_USER, "Software/Microsoft/Windows/CurrentVersion/Policies/System", "DisableTaskMgr", "1", REG_DWORD
这段是用来屏蔽任务管理器的
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/Windows /CurrentVersion/Policies/System"
SetKeyValueHKEY_CURRENT_USER, "Software/Microsoft/Windows/CurrentVersion/Policies/System", "DisableRegistryTools", "1", REG_DWORD
这段是用来禁止使用注册表的
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/ Windows/CurrentVersion/Policies/Explorer"
SetKeyValueHKEY_CURRENT_USER,"Software/Microsoft/ Windows/CurrentVersion/Policies/Explorer", " NoDesktop ", "1", REG_DWORD
这段是用来隐藏桌面的
CreateNewKeyHKEY_CURRENT_USER,"Software/Microsoft/ Windows/CurrentVersion/Policies/Explorer"
SetKeyValueHKEY_CURRENT_USER,"Software/Microsoft/Windows/ CurrentVersion/Policies/Explorer", "NoDrives", "1", REG_DWORD
这段是用来屏蔽A盘的,键值1代表A盘,2代表B盘, 4代表C盘,8代表D盘,就是说二倍二倍的下去代表下一个盘。
注册表加键和键值
最新推荐文章于 2024-05-29 14:25:39 发布