Link to home
Start Free TrialLog in
Avatar of Alemus
Alemus

asked on

Changing the screen saver timeout after login

I need a way to change the login timeout after a user has logged into the computer.

The user will not have access to the control panel and this needs to be something that does not require a registry change that involves a reboot.

My reasoning is we have group policies that set the logout to 10 minutes. We have about four computers we use for presentations that need this time to be reset since there is apparently no way to set a machine level policy.

I have tried a vb script and this does not work becuase these require a reboot.

Avatar of Don
Don
Flag of United States of America image

You CAN make it  a machine policy by using Loopback Policy
http://x220.minasi.com/forum/topic.asp?TOPIC_ID=22714 
Avatar of Dirtpatch-Jenkins
Dirtpatch-Jenkins

I know you said that a group policy dictates the time,, but does it enforce it?

can u just right click on your desktop goto screen saver and over ride the default there?
group policy refresh would just set it back
from above link
 
Policy settings that control screen saver settings are in the USER node, not the Computer one. You want to mandate a screen saver for all users, but ONLY when those users are sitting at a given machine. The answer is a loopback policy, which says "there are indeed USER settings, but only apply them to anyone sitting at this particular COMPUTER."

Two possibilities, create a separate OU and policy for these 4 PCs or adjust the policy refresh period so you can change it on the PC when needed and it doesn't change during a presentation.

3rd option: If these PCs aren't used for anything but presentations, perhaps you can just remove them from the domain.
Ok, this is possible using a batch File. This does not require a reboot, but it will make the timeout unchangable, unless you delete the policy registry key back out. See below code:-
Just replace <timeout_value> with the time you want in seconds i.e for 10min <timeout_value> = 600
reg add "HKcu\Control Panel\Desktop" /v screensavetimeout /d <timeout_value> /f
REG ADD "HKCU\Software\Policies\Microsoft\Windows\Control Panel\Desktop" /V ScreenSaveTimeOut /T REG_SZ /F /D <timeout_value>
RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters ,1 ,True

Open in new window

group policy refresh would just set it back
ASKER CERTIFIED SOLUTION
Avatar of Crifford
Crifford
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial