Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows 2012 auto logoff after 5 minutes of being idle

Posted on 2015-01-15
8
Medium Priority
?
4,740 Views
Last Modified: 2015-01-17
How do I make my windows server 2012 log off automatically after 5 minutes of being idle?
0
Comment
Question by:Anthony H.
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 7

Expert Comment

by:Deadman
ID: 40552841
under User Configuration\Policies\Administrative Templates\Control Panel\Personalization you can select Enable Screen Saver, Password Protect Screen Saver, and Screen Saver Timeout
0
 

Author Comment

by:Anthony H.
ID: 40552846
will that Lock it or Log it off?
0
 
LVL 7

Expert Comment

by:Deadman
ID: 40552847
It will lock.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:Anthony H.
ID: 40552869
i'm looking for log off.
0
 
LVL 4

Expert Comment

by:Monika Bharti
ID: 40552873
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\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits

User Configuration\Policies\Administrative 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.
0
 

Author Comment

by:Anthony H.
ID: 40552875
I'm not using RDS, it's just a standalone server.
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40552947
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\Administrative 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.
0
 
LVL 20

Accepted Solution

by:
compdigit44 earned 2000 total points
ID: 40555667
I do not believe a TS policy will affect the console session.. Other have posted simular questions...

https://social.technet.microsoft.com/Forums/windowsserver/en-US/73d5e4e3-ce9d-4f0f-9f44-94a53a0c74d4/server-console-session?forum=winservergen

What is you create a batch file that would run logoff0 the console session and possible use Task Schedule to act on this only when idle... I have not tested this in my lab though
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question