Monday, May 25, 2009

Lock ur PC yourself

This will Lock ur pc.. :
Open notepad copy and paste the script below and save it *.VBS extention
This wil create a shortcut.. run(click) it
Set WshShell = WScript.CreateObject("WScript.Shell")
set oShellLink = WshShell.CreateShortcut(wshShell.SpecialFolders("Desktop") & "\LockWorkstation.lnk")
oShellLink.TargetPath = "%windir%\system32\rundll32.exe"
oShellLink.Arguments = "user32.dll,LockWorkStation"
oShellLink.Save

No comments:

Post a Comment