How to lock Windows XP when Idle

by Nish Vamadevan on 24/04/2007 · 16 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.

{ 16 comments… read them below or add one }

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

Carl Hungus September 3, 2009 at 20:39

Brilliant, thanks very much.

Reply

Carl Hungus September 3, 2009 at 20:39

Brilliant, thanks very much.

Reply

NADEEM September 16, 2009 at 21:01

Really helpful, it worked for me. Thanks

Reply

NADEEM September 16, 2009 at 21:01

Really helpful, it worked for me. Thanks

Reply

Rajeev Ranjan October 9, 2009 at 15:35

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

Reply

E February 4, 2010 at 15:47

Thanks a lot, very good trick

Reply

Nish Vamadevan February 5, 2010 at 17:44

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

Reply

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

Wajid Iftikhar April 28, 2010 at 11:09

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

Reply

Wajid Iftikhar April 28, 2010 at 11:09

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

Reply

Duri May 16, 2011 at 14:14

Hey Thx

This works BUT our workstation prompts a new password every 30 days… if we put in our new password will this automatically update to the new password?

Reply

Nish Vamadevan May 18, 2011 at 14:28

Duri,

It is nothing to do with password, You got to enter the right password for your account.

Reply

Balaviswanathan October 18, 2011 at 23:01

Nish,
So do we need to enter the password that was used at the time of creating the lock schedule even if we change the system password?

Reply

Nish Vamadevan November 23, 2011 at 20:23

Balaviswanathan, System password should work.

Reply

Chetan July 26, 2011 at 16:18

thanx a lot it really helped

Reply

Leave a Comment

 

Previous post:

Next post: