Comments
Item

Lock Computer when Idle

Published in Windows XP Miscellaneous Tweaks by TweakXP Member with 7,764 views and 2 comments
Go into c:\windows and create a new shortcut.

for the path of what you want the shortcut to be, paste this...

%windir%\System32\rundll32.exe user32.dll,LockWorkStation

click next

rename it (ex. sysdll) make it sound important, because it is after all going to make your PC more secure.

click finish

now goto control panel>scheduled tasks

double click add scheduled task

click next

at the next screen, click browse

browse to your new shortcut... (ex. c:\windows\sysdll.ink)

select it

pick daily and then click next

click next

type in a pw for your scheduled task
confirm

click next

click finish

now double click on the new scheduled task you just made

click the schedule tab

under scedule task: select When Idle

enter in how long you want your computer to go before it gets locked

click ok

your all set... it's a nice little trick, and it beats the hell out of a screensaver password.


 
Free Computer Magazines and eBooks
 
Comments
Robin
2 years ago
i did what it said here but this did not work.
I created the file as told here, if i clicked the file it did WORK.
but if you use scheduled task to have it lock the computer when Idle it DID NOT WORK.
i think it`s because it runs this! %windir%\System32\rundll32.exe

Not this
%windir%\System32\rundll32.exe user32.dll,LockWorkStation.
can someone tell me whats wrong here?

Paul
One year ago
I lock my Workstation when going somewhere by clicking WINDOWS+L