How to lock Windows XP when Idle

by Nish Vamadevan on 24/04/2007 · View Comments

Go to Start –> Control Panel

Open up Scheduled Tasks

Click on File –> New –> Scheduled Tasks

Name it whatever you like, I named it Auto Lock

Open up Auto Lock Under the Task Tab, add the following to the Run: Textbox

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

Click on the Schedule Tab

Under Schedule Task: drop down menu, select When Idle

On the Schedule Task When Idle option, set an appropriate Idle time, I set it as 10 Minute(s)

Click Apply, and you will have a popup to add password. Type in the password and confirm it. (I use the same password as my XP login password)

That’s it, It should auto lock your PC after it reaches the set idle time.

{ 8 comments… read them below or add one }

1 Nish Vamadevan May 22, 2007 at 14:12

Try the same password as the login password… That’s what I tried and it worked…

You will get this error, if you use a password other than your own Login Password.

Reply

2 Carl Hungus September 3, 2009 at 21:39

Brilliant, thanks very much.

Reply

3 NADEEM September 16, 2009 at 22:01

Really helpful, it worked for me. Thanks

Reply

4 Rajeev Ranjan October 9, 2009 at 15:35

Hey Friend it’s Mind blowing salutation. U rocked.

Reply

5 E February 4, 2010 at 15:47

Thanks a lot, very good trick

Reply

6 Nish Vamadevan February 5, 2010 at 17:44

I have a habbit of walking out without locking the PC, hence I did this… :)

Reply

7 Edinburgh IT Support April 7, 2010 at 13:58

Nice one – a few of our clients were asking for this and this is a good work-around for machines that aren’t on a Domain.

Reply

8 Wajid Iftikhar April 28, 2010 at 12:09

Thanks dear……………it really works. Kindly share and introduce more tips like this.

Reply

Leave a Comment

blog comments powered by Disqus

Previous post:

Next post: