注册表加键和键值

转载 2007年09月25日 15:37:00
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盘,就是说二倍二倍的下去代表下一个盘。
 

相关文章推荐

注册表 Run、RunOnce 键值解析

注册表 Run、RunOnce 键值解析   绝大多数使用过 Windows 操作系统的用户都不会对注册表的 Run、RunOnce 键值感到陌生,但你真的了解所有这些键值的细节吗?让我们具体说来...

四极管:读取注册表键值函数分析

函数:RegOpenKeyEx ;RegQueryValueEx 一、RegOpenKeyEx() 函数功能:打开一个指定的注册表键 2、函数原型: LONG RegOpenKeyEx(   ...

注册表120项优化键值

  • 2011-02-19 16:35
  • 38KB
  • 下载

VBS写入较长的二进制注册表键值的方法

举个例子 Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentV...
  • zm2714
  • zm2714
  • 2012-09-10 11:48
  • 2146
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)