How to end Win2K screen saver, or make Win2K reboot when screen saver is on
Posted on 2004-10-22
I have a 24x7x365 server application on a dedicated Win2K box. I want my application to restart Windows at a pre-determined time every day (or by a remote command at any time).
I have the code to successfully reboot Windows 2000 using ExitWindowsEx() but this fails to completely shut down Win2K if the password-enabled screen saver is on.
Another acceptable solution would be to programmatically log back in, if that's possible.
If this stuff is easy to find, take it easy on me: I'm on-site 200 miles from home and have to try to get home for dinner!