#126690 - 2004-09-16 08:19 AM
Re: Screensaver trouble
|
Gos
Fresh Scripter
Registered: 2004-05-28
Posts: 23
|
Hehe. Well, I (somehow) managed to believe the keystroke would have something to do with something something. That it actually played a part of the whole thing. But apparantly not. =)
I have done some testing. This is what I have figured out - So if someone knows it is wrong, please correct me. =)
I have tried to update the following with the Updatethingy:
ScreenSaveActive - Works ScreenSaverIsSecure - Works ScreenSaveTimeOut - Does not work SCRNSAVE.EXE - Works Wallpaper - Works
|
Top
|
|
|
|
#126692 - 2004-09-16 12:27 PM
Re: Screensaver trouble
|
Gos
Fresh Scripter
Registered: 2004-05-28
Posts: 23
|
It work. But it wont work before you loged off and back on a couple of times.
No Global GP. =)
|
Top
|
|
|
|
#126694 - 2004-09-16 02:55 PM
Re: Screensaver trouble
|
Gos
Fresh Scripter
Registered: 2004-05-28
Posts: 23
|
Killed and revived.... Seems like it is not updatable. =\
Thanks.
|
Top
|
|
|
|
#126696 - 2004-09-17 09:41 AM
Re: Screensaver trouble
|
Gos
Fresh Scripter
Registered: 2004-05-28
Posts: 23
|
No. Win2000 and XP.
|
Top
|
|
|
|
#126698 - 2004-09-17 04:05 PM
Re: Screensaver trouble
|
Allen
KiX Supporter
   
Registered: 2003-04-19
Posts: 4562
Loc: USA
|
I used to do what you are doing in my login script for both W2K and XP. I had no problems adjusting the timeout. I didn't use Jen's UpdateUserParameters UDF, but just a simple set command (I think they are doing similiar things, just differnt ways). Here's a link to a post similar to this: Applying Registry Settings
You might try the set command, but if Jen's UDF is not working, the set probably won't help either.
Code:
$sskey = "HKEY_CURRENT_USER\Control Panel\Desktop"
WriteValue($sskey, "ScreenSaveActive", "1", "REG_SZ")
WriteValue($sskey, "ScreenSaveTimeOut", "120", "REG_SZ")
WriteValue($sskey, "ScreenSaverIsSecure", "1", "REG_SZ")
WriteValue($sskey, "SCRNSAVE.EXE", "C:\WINDOWS\System32\scrnsave.scr", "REG_SZ")
set 'ss='
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 202 anonymous users online.
|
|
|