用vbs实现解除注册表CMD、Regedit、Taskmgr限制的脚本代码
程序员文章站
2022-07-04 20:39:04
on error resume next set wshshell=wscript.createobject("wscript.sh...
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")
上一篇: windows2003一句话开3389的vbs代码
下一篇: 自己写的一个定时关机或重启的vbs脚本