Jens,
I am sure that is the case, but all I know is that no matter how many times I changed HKCU\Cpl\Desktop it did not change the screensaver, but ONLY the specific screensaver I was defining, all other settings worked, i.e. screensaversecure, screensaveractive. When I wrote to
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop it set the screensaver no problems.
I ran through the script with debug on and I figured out that it is saying that the system cannot find the file specified. Maybe there is extensive funtionability to debug on that I am not aware of, but all I could see was the ability to see what happens line by line. It tries to apply the setting and then it hits the ? @SERROR i have positioned after it and it spits out that the system cannot find the file specified.
Les,
No, really I totally understand that. And I am not disagreeing with that fact, I am just telling you what is happening, not what is SUPPOSED to happen. When I am writing to HKCU it is NOT adding the key to HKU\SID, don't ask my why not...it just isn't. I've checked a couple times now.
I am certainly not trying to tell either of you "how it is supposed to be" I am just explaining what my own eyes have seen. Maybe I should move the test pc to Eerie Indiana?
_________________________
Micah Davis
"A truly wise man never plays leapfrog with a unicorn."