用vbs实现解除注册表CMD、Regedit、Taskmgr限制的脚本代码
摘要: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")
【用vbs实现解除注册表CMD、Regedit、Taskmgr限制的脚本代码】相关文章:
上一篇:
用vbs实现注册表开关的脚本
下一篇:
自己写的一个定时关机或重启的vbs脚本