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.

LVL 2
AlemusAsked:
Who is Participating?
 
CriffordCommented:
No, as long as the gp refresh is set to long enough this works fine. By default I believe this is set to a fairly long time anyway. If this batch file is placed in the All Users Startup directory it will be processed on logon, but after GP processing.
0
 
DonNetwork AdministratorCommented:
You CAN make it  a machine policy by using Loopback Policy
http://x220.minasi.com/forum/topic.asp?TOPIC_ID=22714 
0
 
Dirtpatch-JenkinsCommented:
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?
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
DonNetwork AdministratorCommented:
group policy refresh would just set it back
0
 
DonNetwork AdministratorCommented:
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."

0
 
subliferCommented:
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.
0
 
CriffordCommented:
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

0
 
DonNetwork AdministratorCommented:
group policy refresh would just set it back
0
 
DonNetwork AdministratorCommented:
yes  every 90 minutes, but instead of using a workaround that a limited user may not have access to use(write to the registry)  a simple group policy with loopback and applying to these four computers should be simple enough.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.