One of our computers runs an application which shows current productivity and condition of the facility. The application has very large numbers so the staff can do other work and still view it from a distance.
The problem is after about 15 minutes of idle (no keystrokes or mouse moves from a user) the computer locks out and goes back to the Windows logon prompt (hit ctrl-alt-del to logon and asks for user name/password).
I would like to programmatically prevent this from happening. I've tried moving the mouse cursor a pixel each minute. I've tried sending a couple of caps locks thru Sendkeys. I've tried intercepting the WM_SYSCOMMAND message and looking for the SC_SCREENSAVE parameter and changing it.
None of this works. Is there a registry entry or some other way to prevent Windows from locking out after a certain idle time?
The problem is after about 15 minutes of idle (no keystrokes or mouse moves from a user) the computer locks out and goes back to the Windows logon prompt (hit ctrl-alt-del to logon and asks for user name/password).
I would like to programmatically prevent this from happening. I've tried moving the mouse cursor a pixel each minute. I've tried sending a couple of caps locks thru Sendkeys. I've tried intercepting the WM_SYSCOMMAND message and looking for the SC_SCREENSAVE parameter and changing it.
None of this works. Is there a registry entry or some other way to prevent Windows from locking out after a certain idle time?