Re: Screensaver GUI not updating.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



blane wrote:
Hi all, we have a weird environment in which we do not have an AD for 1100 servers and the native windows TCP/IP stack is disabled. This means that we have to script and deploy updates by hand. We are doing this through simple vb.net and reg files.

We are now required to set the screensaver to activate and be password protected. Everything is working fine, howver when we set the HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveTimeOut value to a string of 600 (10 minutes), it does not update the value in the desktop properties screensaver tab. This causes the screensaver to come on after the specified interval in the GUI. So basically we update the value in the registry to 600, but that is not reflected in the GUI.

I have verified that the registry is updating and all other screensaver reg updates are applying correctly and being interpreted by the system.

Any ideas on how to make the GUI read the updated registry value? A reboot after applying the reg update does not solve the problem. Can anybody tell me what value that the screensaver GUI is reading? I have tried the HKEY_USERS\.DEFAULT\Control Panel\Desktop settings as well.

I use the following call when modifying the wallpaper via a script. Perhaps something similar will force the screensaver GUI to update?

WshShell.Run _
"%windir%\System32\RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters", _
1, False
.



Relevant Pages

  • Re: Screensaver GUI not updating.
    ... "blane" wrote in message ... We are now required to set the screensaver to activate and be password ... interval in the GUI. ... So basically we update the value in the registry to ...
    (microsoft.public.scripting.vbscript)
  • Editing Default Value Type
    ... registry. ... I'm wanting to set website.com to Always Allow Cookies within IE. GUI works ... but I need to script it. ...
    (microsoft.public.scripting.vbscript)
  • Re: Registry Changes Do Not Save
    ... possibly be reverting back to a previous configuration. ... AutoLogon main registry key: ... Screensaver password duration: ... When I leave the computer running and reboot, ...
    (microsoft.public.windowsxp.general)
  • Re: Remote OS Shutdown with WMI problems
    ... 2003 server. ... This script will work if someone is logged into the server that is ... definitely receives and interprets the shutdown message however doesn't ... moves the mouse to cancel the screensaver. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Disabling screensaver for all users
    ... it creates a registry entry to keep the old ... On Error Goto 0 ... > initiated and reenable the screensaver after the installation is finished. ...
    (microsoft.public.scripting.vbscript)