Disable Screen Saver Wait time

  • Thread starter Thread starter Ricky
  • Start date Start date
R

Ricky

I am running Windows XP and I would like to keep the wait time of the
screen saver at 10 minutes but not allow the user to change this time.
Is there any
registry key to grey out that section in the Screen Saver tab.
 
If you're running XP Pro, you can set this via the Group Policy Editor
(Start, Run and enter GPEDIT.MSC). Go to User Configuration, Administrative
Templates, Control Panel, Display.

For XP Home, you need to edit the Registry manually. Go to Start, Run and
enter REGEDIT Go to:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop

In the right pane, right click and select New, String value and enter the
value, in seconds, that you would like to have the delay set for.

Again, this is a "per-user" setting, so must be repeated for each user's
desktop. Additionally, you can see www.dougknox.com, Win XP Tips, Advanced
Registry Editing, for a method to do this, without having to log onto each
user's Desktop.
 
I am running Win XP pro and the only problem is that I need to do this
programmatically. So I was looking for a registry setting to run a
script or even an API call to be able to run.
 
I gave you the Registry entry that could be changed with a script or via an
API call from a C or VB program.

Ooops............... sorry. Left out the value name :(

ScreenSaveTimeOut

in the key: HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control
Panel\Desktop

A script to change this value would be:

Set WSHShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\Software\Policies\Microsoft\Windows\Control
Panel\Desktop\ScreenSaveTimeOut", "900", "REG_SZ"

The above code is only 2 lines, so if it wraps, unwrap it.

Copy and paste the two lines into a notepad file and save it with a VBS
extension. Adjust the 900 to the actual number of seconds that you want,
then create a shortcut to the VBS file and place it in the Documents and
Settings\All Users\Start Menu\Programs\Startup.
 
Back
Top