Skip to main content

Lock Computer when Idle

Posted August 2002 by Steve Sinchak

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.

Related Posts


If you own a Google Chromecast streaming device, you can easily share a browser tab in Chrome browser or even your entire desktop.  This can be very useful when presenting from your laptop or if you just want to watch something on a big screen that is only on your PC.  The only requirement is you must be on the same network as your Chromecast...

Read More

If you are a fan of minimalist desktop experiences, hiding the desktop icons are an easy way to clean up the Windows interface.  Instead of saving everything to your desktop, use the default profile folders such as downloads and documents.  Actually hiding all the icons on your desktop is a very simple customization hidden in the right-click context menu.  Just right-click on the desktop, select View...

Read More

Google security researchers have published details about a major security flaw found in the SSL protocol that is used to encrypt data transferred between your browser and a web server. SSL is typically used in situations where logon credentials are validated...

Read More

Enabling two-factor authentication is a great way to add an additional level of protection to your Microsoft account.  Even if your password is stolen, your account is still protected because two-factor authetication requires an additional level of verification to log in. Microsoft calls their version of two-factor authentication "two-step verification" and it works by providing you with a random code...

Read More