Custom Search

Friday, September 30, 2011

Lock your PC automatically after the execution of Scripts.

Use the following Script and run

Set obj = CreateObject("WScript.Shell")


sCmnd = "%windir%\SYSTEM32\rundll32.exe user32.dll,LockWorkStation"

obj.Run sCmnd, 0, False