Anthony H.
asked on
Windows 2012 auto logoff after 5 minutes of being idle
How do I make my windows server 2012 log off automatically after 5 minutes of being idle?
under User Configuration\Policies\Adm inistrativ e Templates\Control Panel\Personalization you can select Enable Screen Saver, Password Protect Screen Saver, and Screen Saver Timeout
ASKER
will that Lock it or Log it off?
It will lock.
ASKER
i'm looking for log off.
To specify timeout and reconnection settings for a remote session:
On the RD Session Host server, open Remote Desktop Session Host Configuration. To open Remote Desktop Session Host Configuration, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Session Host Configuration.
Under Connections, right-click the name of the connection, and then click Properties.
In the Properties dialog box for the connection, on the Sessions tab, select the following options as necessary:
Select the Override user settings check box, and then set timeout settings for End a disconnected session, Active session limit, and Idle session limit.
Select the Override user settings check box, and then select one of the following reconnection settings: Disconnect from session or End session.
Click OK.
Changes to timeout and reconnection settings are not applied to sessions that are connected when the change is made. The changes will take effect the next time the user establishes a new connection to the RD Session Host server.
You can also configure timeout and reconnection settings by applying the following Group Policy settings:
Set time limit for disconnected sessions
Set time limit for active but idle Remote Desktop Services sessions
Set time limit for active Remote Desktop Services sessions
Terminate session when time limits are reached
Computer Configuration\Policies\Administrativ e Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits
User Configuration\Policies\Administrativ e Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits
Note:
If you see able and disable option, select appropriate option according to your requirements.
ASKER
I'm not using RDS, it's just a standalone server.
The policies will still work, regardless of whether you have installed the RDS roles or not.
Configure the below settings in either Group Policy or the Local Computer Policy (gpedit.msc) directly on the 2012 server.
Computer Configuration or User Configuration\Policies\Adm inistrativ e Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits
You will want to enable the below settings for what you want to achieve:
- Set time limit for active but idle Remote Desktop Services sessions - Enable and set Idle session limit to 5 minutes
- End session when time limits are reached - Enable
Depending on where you apply the policy (Computer or User level), you may need to restart the server.
Configure the below settings in either Group Policy or the Local Computer Policy (gpedit.msc) directly on the 2012 server.
Computer Configuration or User Configuration\Policies\Adm
You will want to enable the below settings for what you want to achieve:
- Set time limit for active but idle Remote Desktop Services sessions - Enable and set Idle session limit to 5 minutes
- End session when time limits are reached - Enable
Depending on where you apply the policy (Computer or User level), you may need to restart the server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.