Screensaver in windows server 2003
Is it possible to disable the screensaver in a
windows server 2003?
Windows Forum
Is it possible to disable the screensaver in a
windows server 2003?
by sgt_shultz
assuming you mean how to disable screensavr (and therby pesky password) when logged in, yes? MS keeps vainly trying to make svr products idiot/bullet proof security-wise so pretty sure i remember reading that you cannot turn off screen saveer in win2003...but geez, maybe you got locked svr room and not worried that anyone could walk up to system and do as they please with your network if you forget one night to logoff before you go home and bored new gal on cleaning crew has hacker boyfriend who loves to show off for her..ha. ha. ahem.
but in true MS fashion, they have some workarounds posted. do not know if this would help you any but here is snippet from mskb at support.microsoft.com describing vb code to disable scnsvr by resetting timeout counter (sheesh). and they wa-a-y at the bottome this little nugget: using SetCursorPos() to simulate user at keyboard (yikes!!) i wonder what the highest number you can put in there is...so i imagee you could do this a command prompt for test and then put in batch file? you'd have to schedule it as a task to run every so often..maybe only schedule it to run during your shift. (what, me worry?)). maybe MS will 'fix' it in svce pack. but it would put in pretty big security hole and windows 2003 touted big as secure out of the box....anyhow:
by sgt_shultz
from Article ID : 140723
Last Review : November 16, 2004
Note that terminating a screen saver that is already running as demonstrated above is totally separate from disabling the screen saver altogether, so that no screen saver starts after the designated time period expires. This can be done easily using: SystemParametersInfo( SPI_SETSCREENSAVEACTIVE,
FALSE,
0,
SPIF_SENDWININICHANGE
);
This method works well for terminating the currently running screen saver. However, one problem that you might encounter is that the system will not restart the screen saver unless the user moves the mouse or presses a key. If you need the screen saver to start up again, you'll need to reinitialize the time-out period. Do this by using one of the following methods: ? Calling SystemParametersInfo (SPI_SETSCREENSAVEACTIVE, TRUE, 0, SPIF_SENDWININICHANGE).
? Using SetCursorPos() to simulate user input.
Both of these methods will cause the system to restart the time-out counter for the screen saver.
by longennamer
This discussion is closed to new replies.
Sort by Trending