Whenever you are working on your PC on some important project and have to leave somewhere urgently, I am sure you don?t go
before locking your PC , Do you?
Though it sucked when everytime I (
www.earlyface.com.n g) had to
log off everytime to lock my PC. Its a very slow process and I hate my machine working slow. And as we all know that necessity is the mother of invention , I came up with a pretty cool solution of this problem and just loved the outcome:D
Here in this post I?l tell you how to create your own auto PC Locker and lock your PC just by a Double Click.
NOTE:- You must require a possword on Start up for this (no matter admin or user)
Well The method is pretty simple
Open Notepad copy and paste the script below and save it .VBS extention
This wil create a shortcut (on desktop).. run(click) it
set WshShell = WScript.CreateObjec t(?WScript.Shell?)
set oShellLink = WshShell.CreateShor tcut(wshShell.SpecialFol ders(?Desktop?) & ?LockWorkstation.lnk?)
oShellLink.TargetPa th = ?%windir%system32rundll32.exe?
oShellLink.Argument s = ?user32.dll,LockWorkStation?
oShellLink.SaveAnd you are done.
Keep reading and keep learning. Do pass on comments Aand invite your to
Earlyface/color]Forum.