Page 1 of 1 1
Topic Options
#92744 - 2003-09-04 08:00 PM screensavertimeout
pvds Offline
Hey THIS is FUN
*****

Registered: 2001-04-14
Posts: 201
Hi,

Need much help on this one!

All our users have mandatory profiles with GPO on windows XP.
We use a logoff screensaver set at 5 minutes that works fine but! Two computers have
a beamer attached for instructions. On these computers a timeout of 5 minutes is to short.
Because the screensavertimeout is set in the GPO it seems to bee impossible to change: [Mad]

Have changed all the registry settings but this is not working.
Found some topics that it can be done with WMI but I am too stupid to figure it out.

I hope some of you have figured this out already or know a good until (command line)

Peter

Top
#92745 - 2003-09-04 08:02 PM Re: screensavertimeout
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
if it is due to GPO, then you have to fix it with GPO.

deny those machines permissions to that GPO, and provide another GPO for them with the correct settings
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#92746 - 2003-09-04 08:37 PM Re: screensavertimeout
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
It also depends on how STRICT the policy is. Does it re-apply itself during the day, does it LOCK registry permissions on the keys, etc...

The location is here for the screen saver.
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop

By renaming the KEY Desktop or removing it will at least temporarily disable the policy. However a GPO can also be set to prevent a normal user from modifying this key as well. All depends on how tough the Admin is on the subject.

Top
#92747 - 2003-09-04 08:50 PM Re: screensavertimeout
pvds Offline
Hey THIS is FUN
*****

Registered: 2001-04-14
Posts: 201
DOC
The registry changes dont work.

Radimus
Your suggestion is ok but in our case the last option.

Top
#92748 - 2003-09-04 08:56 PM Re: screensavertimeout
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
if your policy re-applies, it is your only option.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#92749 - 2003-09-04 09:05 PM Re: screensavertimeout
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
Don't work? or you don't have rights to DELETE that key?

I would like to see that for myself. If you can and do delete that DESKTOP key then the Screen Saver should no longer be controlled until a new policy update which is 90 minutes by default I think.

However Rad is correct that applying the GPO measures is the "correct" way to handle this.

[ 04. September 2003, 21:07: Message edited by: NTDOC ]

Top
#92750 - 2003-09-04 09:17 PM Re: screensavertimeout
pvds Offline
Hey THIS is FUN
*****

Registered: 2001-04-14
Posts: 201
DOC

It simply dont work and it can be changed by using wmi and WBEMobject? lots of topics in VB
but I could not get it to work GROM (Dutch for) [Mad]

Top
#92751 - 2003-09-06 07:25 AM Re: screensavertimeout
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Here is the code we used at one time.. We have GPO applied across the whole organization now..

YMMV as the GPO would tend to take precedence..

code:
 $screensavekey='HKCU\Control Panel\Desktop'
IF Readvalue('HKCU\software\Microsoft\Windows\CurrentVersion\Policies\System','NoDispScrSavPage')<>1
IF 0=KEYEXIST('HKCU\software\Microsoft\Windows\CurrentVersion\Policies\System')
$rc=ADDKEY('HKCU\software\Microsoft\Windows\CurrentVersion\Policies\System')
ENDIF
$rc=WRITEVALUE('HKCU\software\Microsoft\Windows\CurrentVersion\Policies\System','NoDispScrSavPage',1,'REG_DWORD')
ENDIF
;IF (Readvalue($screensavekey,'ScreenSaveTimeOut')<>'900')
; $rc=WRITEVALUE($screensavekey,'ScreenSaveTimeOut','900','REG_SZ')
;ENDIF
IF Readvalue($screensavekey,'ScreenSaveActive')<>1
$rc=WRITEVALUE($screensavekey,'ScreenSaveActive',1,'REG_SZ')
ENDIF
IF Readvalue($screensavekey,'SCRNSAVE.EXE')<>$windir+'\system32\logon.scr'
$rc=WRITEVALUE($screensavekey,'SCRNSAVE.EXE',$windir+'\system32\logon.scr','REG_SZ')
ENDIF
;IF Readvalue($screensavekey,'ScreenSaverIsSecure')<>1
; $rc=WRITEVALUE($screensavekey,'ScreenSaverIsSecure',1,'REG_SZ')
;ENDIF

HTH,

Kent

[ 06. September 2003, 07:28: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#92752 - 2003-09-07 01:39 AM Re: screensavertimeout
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Apply GPO loopback.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#92753 - 2003-09-07 03:17 PM Re: screensavertimeout
pvds Offline
Hey THIS is FUN
*****

Registered: 2001-04-14
Posts: 201
Kent,

No luck withe your script

Les,

GPO loop back?????

Help

I still do not have a solution but made an work around.
I made a new screensaver witch become active after a couple of minutes and displaying a message that the screensaver is active.
By clicking this message the screensaver script is teminated by leaving the message the screensaver become active after a couple of minutes.
Its not beautiful but it works for Us.

Stil looking for the WMI solution!!
Peter

Top
#92754 - 2003-09-07 03:30 PM Re: screensavertimeout
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Loopback in GPO is covered in AD101. Not the sort of topic I could do justice on here. Try reading your AD docs or Google.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#92755 - 2003-09-07 08:27 PM Re: screensavertimeout
pvds Offline
Hey THIS is FUN
*****

Registered: 2001-04-14
Posts: 201
Less,

That is the one I was looking for going to tets it tomrrow

Thanks

Peter

Top
Page 1 of 1 1


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

Who's Online
0 registered and 476 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.068 seconds in which 0.024 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