B
bcsia
I've had the need to write a little script that makes
changes to the HKCU\Control Panel\Desktop\SCRNSAVE.EXE and
HKCU\Control Panel\Desktop\screensavetimeout keys. Both
keys are imported correctly and I can see that the changes
take place to the corresponding HKEY_USERS keys. Even
though the keys are changed, when I open up the properties
window, I see that the WAIT time doesn't correspond to
what is in the keys. The Screensaver is correct, but not
the wait time.
I've tested this on a few computers, manually changing the
screensavetimeout keys and then checking the properties,
and fails to work on any of our Win2k systems. If I
change the time in the properties, I can see the keys
change in the registry. However, if I try to change them
back, manually, the change isn't reflected in the
properties window.
What am I missing here? I really want to be able to
programatically change the wait time.
Thanks.
changes to the HKCU\Control Panel\Desktop\SCRNSAVE.EXE and
HKCU\Control Panel\Desktop\screensavetimeout keys. Both
keys are imported correctly and I can see that the changes
take place to the corresponding HKEY_USERS keys. Even
though the keys are changed, when I open up the properties
window, I see that the WAIT time doesn't correspond to
what is in the keys. The Screensaver is correct, but not
the wait time.
I've tested this on a few computers, manually changing the
screensavetimeout keys and then checking the properties,
and fails to work on any of our Win2k systems. If I
change the time in the properties, I can see the keys
change in the registry. However, if I try to change them
back, manually, the change isn't reflected in the
properties window.
What am I missing here? I really want to be able to
programatically change the wait time.
Thanks.