on error resume next
Set WshNetwork = WScript.CreateObject("WScript.Network")
Set objWMIService = GetObject("winmgmts://" & WshNetwork.ComputerName & "/root/cimv2:Win32_Process")
error = objWMIService.Create("rundll32.exe user32.dll,LockWorkStation", null, null,intProcessID)
wScript.quit
lock workstation
最新推荐文章于 2023-09-17 15:13:49 发布