Page 2 of 2 <12
Topic Options
#126689 - 2004-09-15 02:27 PM Re: Screensaver trouble
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
LOL
Quote:

Does it matter what key you push to continue?




You have to push the "ANY" key!
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#126690 - 2004-09-16 08:19 AM Re: Screensaver trouble
Gos Offline
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
#126691 - 2004-09-16 11:46 AM Re: Screensaver trouble
Cybex Offline
Getting the hang of it
*****

Registered: 2004-07-21
Posts: 81
Loc: Brandon, FL.
Could the timeout you are setting be trumped by a domain policy which was already set? Try looking at the policies to see if the Local Setting is different than the Effective Setting. You may only be changing the local setting and the effective setting to say 10 min, but the effective setting which could be set via GP from the domain may still be set to 15 min.
_________________________
Common sense isn't so common.

Top
#126692 - 2004-09-16 12:27 PM Re: Screensaver trouble
Gos Offline
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
#126693 - 2004-09-16 01:51 PM Re: Screensaver trouble
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
it might be that it's not updateble
try this:
run your script, kill explorer.exe and rerun it with taskmanager, did the setting change?
that's the optimal "update all settings" way without relogging.
_________________________
!

download KiXnet

Top
#126694 - 2004-09-16 02:55 PM Re: Screensaver trouble
Gos Offline
Fresh Scripter

Registered: 2004-05-28
Posts: 23
Killed and revived.... Seems like it is not updatable. =\

Thanks.

Top
#126695 - 2004-09-16 03:14 PM Re: Screensaver trouble
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Quote:

Killed and revived.... Seems like it is not updatable. =\

Thanks.




Sounds like Windows NT 4 to me ... is it ??
_________________________



Top
#126696 - 2004-09-17 09:41 AM Re: Screensaver trouble
Gos Offline
Fresh Scripter

Registered: 2004-05-28
Posts: 23
No. Win2000 and XP.
Top
#126697 - 2004-09-17 01:38 PM Re: Screensaver trouble
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
that "does not make sense"...
in english, this is something I haven't come accross too often.

well, xp I could understand, but on w2k it should work just fine.
_________________________
!

download KiXnet

Top
#126698 - 2004-09-17 04:05 PM Re: Screensaver trouble
Allen Administrator Offline
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
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 202 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.032 seconds in which 0.013 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org