Guest Tim_S Posted September 25, 2007 Posted September 25, 2007 The screen saver time out in the registry if changed doesn't take effect until the person log's off and back on again. I know this is normal by design. I would like to know if anyone has been able to find a workaround from having to log-off and back on to the change stick. For instance I open regedit and manually edit the key HKCU\control panel\desktop key and edit the screensavetimeout setting to from 1 minute to 2 minutes and exit regedit. The screen saver will still engage at 1 minute mark. If I then use the desktop properties tool it still shows 1 minute. If I just exit the desktop tool the tool resets the registry key back to 1 minute. But, If I pick 2 min in the tool and then apply it takes effect immediately. I would like to be able to set the value directly in the registry and have the value take effect without having to use the desktop tool or log-off and back on. I set the time out setting using a batch file, and it works only if the user logs off/on again not in the immediate session. I would like for this to be transparent to the user. I even tried running the following string to refresh the settings after I import the registry screensavetimeout setting, but it fails to work for this. RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters ,1 ,True Thanks if you know.... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.