用vbs实现解除注册表CMD、Regedit、Taskmgr限制的脚本代码
发布时间:2016-12-28 来源:查字典编辑
摘要:OnErrorResumeNextSetWSHShell=WScript.CreateObject("WScript.Shell")With...
OnErrorResumeNext
SetWSHShell=WScript.CreateObject("WScript.Shell")
WithWScript.CreateObject("WScript.Shell")
.RegDelete"HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystemDisableRegistryTools"
.RegDelete"HKCUSoftwarePoliciesMicrosoftWindowsSystemDisableCMD"
.RegDelete"HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystemDisableTaskMgr"
EndWith
Mybox=MsgBox(enab&vbCR&"程序运行限制已解除!",1024,"Result")