#92744 - 2003-09-04 08:00 PM
screensavertimeout
|
pvds
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:
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
   
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
|
|
Top
|
|
|
|
#92748 - 2003-09-04 08:56 PM
Re: screensavertimeout
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
if your policy re-applies, it is your only option.
|
|
Top
|
|
|
|
#92750 - 2003-09-04 09:17 PM
Re: screensavertimeout
|
pvds
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)
|
|
Top
|
|
|
|
#92751 - 2003-09-06 07:25 AM
Re: screensavertimeout
|
Kdyer
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 ]
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 671 anonymous users online.
|
|
|