Feed on
Posts
Comments

What I wanted to do is that, after my computer has been idle for 3 minutes, it should lock itself. How to achieve this is one of the trouble for me for almost two days. I have been digging around the net, but no answer. I tried to find myself in GPO (Group Policy Editor), but I don’t find the option directly.

But many articles I read on the net pointed me that I can changed four options in GPO. But that is for screensaver. I tweak a bit to achieve what I want. Remember I have told you guys about how to create shortcut to lock computer. Well, I used that tweak.

Here are the steps that I took:

  • First go to Start –>> gpedit.msc
  • Go to User Configuration –>> Administrative Templates –>> Control Panel –>> Display

There are many options there, but you just need to change four of them as follow.

  • For screen saver option, just choose Enabled.
  • For screen saver executable, choose Enabled and then type “rundll32 user32.dll,LockWorkStation
  • For password protect the screen saver, choose Enabled.
  • For screen saver timeout, choose Enabled and then type the amount of time you want to lock your computer in seconds. (For example, if you want to lock your computer after three minutes of idle time, type 180)

That’s it. Next time if you’re away, you don’t have to worry about some other would invade your computer.

BtoN’s Tips : I have tested this on Vista and should work on Windows XP too. For screen saver timeout, if I set value less than 60, it won’t work.

The following posts are interesting too

RSS feed | Trackback URI

7 Comments »

Comment by pooh
2007-12-20 15:44:00

this is great! thanks

 
Comment by plaw013
2008-05-21 15:57:12

Perfect – just what I was looking for… :grin:

 
Comment by SG
2008-08-20 02:07:09

Thanks for the info…does the “rundll32 user32.dll,LockWorkStation“ – need to be added in quotes?

 
Comment by Veera
2009-06-19 20:51:37

wow, great, it realy works….

 
Comment by SJ
2009-07-20 17:30:13

Works perfectly. Also with XP.
SG – are you really that slow in the uptake?

 
Comment by zviadi
2009-10-08 17:24:37

thank you very much

but i think it should work without

adding
rundll32 user32.dll,LockWorkStation

 
Comment by Amit
2009-12-03 13:10:18

Thanks duds, its great.

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.