Re: Screensaver GUI not updating.
- From: Brian Wolven <brian.wolven@xxxxxxxxxxxxxx>
- Date: Mon, 16 Apr 2007 12:05:49 -0400
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
.
- Prev by Date: Re: vbscript question
- Next by Date: Email multiple files from web page
- Previous by thread: Re: vbscript question
- Next by thread: Re: Screensaver GUI not updating.
- Index(es):
Relevant Pages
|