Jump to content
Sign in to follow this  

How to disable screen lock in Windows XP?

Recommended Posts

I wanted to make some script which would run on computers with logged on users to prevent them lock screen, because usually I need to do some preparations or modifying in another script which I want to remotelly run there and it wouldn't work on a locked screen - or maybe I am wrong and some functions like winwaitactive work on locked comp - so I need something to delay it or prevent.

I tried a script which periodically moves a mouse 1 pixel left and then after one minute 1 pixel right, but it seems not to work - the computer locks.

So what can I do besides somehow changing the time to run the screensaver?

Share this post

Link to post
Share on other sites

To disable locking the workstation for any user, go to:



For specific users, go to the same location, except use Current User instead of Local Machine.

Once there, make a DWORD value called 'DisableLockWorkstation', and set the value to 1 to disable locking of the workstation.


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...