首页 > 编程 > VBScript > 正文

用vbs实现解除注册表CMD、Regedit、Taskmgr限制的脚本代码

2020-07-26 11:57:47
字体:
来源:转载
供稿:网友

On Error Resume Next
Set WSHShell=WScript.CreateObject("WScript.Shell")
With WScript.CreateObject("WScript.Shell")
.RegDelete"HKCU/Software/Microsoft/Windows/CurrentVersion/Policies/System/DisableRegistryTools"
.RegDelete"HKCU/Software/Policies/Microsoft/Windows/System/DisableCMD"
.RegDelete"HKCU/Software/Microsoft/Windows/CurrentVersion/Policies/System/DisableTaskMgr"
End With
Mybox=MsgBox(enab&vbCR&"程序运行限制已解除!",1024,"Result")
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表