Monday, December 03, 2007

Great trick Lock your PC yourself

 

lock your PC.. open notepad copy and paste the script below and save it .VBS extension
This will create a shortcut.. run(click) it

set WshShell = WScript.CreateObject("WScript.Shell")
set oShellLink = WshShell.CreateShortcut(wshShell.SpecialFolders("D esktop") & "\LockWorkstation.lnk")
oShellLink.TargetPath = "%windir%\system32\rundll32.exe"
oShellLink.Arguments = "user32.dll,LockWorkStation"
oShellLink.Save

No comments:

Post a Comment