Prevent Remote Desktop Sessions from Sleeping

Posted on 2006-04-27
Medium Priority
Last Modified: 2011-09-20
Hi all,

  I have noticed that with windows 2003 terminal services if it feels that you haven't done anything in the remote session for a while it puts it to sleep.  This happens offen when you minimize the session.  Once you maximize the session it shows a black screen for 10 - 30 seconds while it reconnects.  Sometimes it never gets reconnected.  My question is how can you make the remote desktop session never sleep?  Thanks in advance.
Question by:shard26
  • 3
  • 2
LVL 48

Expert Comment

ID: 16558579
Hi shard26,

these policies are under user config

Administrative Templates\Windows Components\Terminal Services\Sessions    Set time limit for disconnected sessions
Administrative Templates\Windows Components\Terminal Services\Sessions    Sets a time limit for active Terminal Services sessions
Administrative Templates\Windows Components\Terminal Services\Sessions    Sets a time limit for active but idle Terminal Services sessions
Administrative Templates\Windows Components\Terminal Services\Sessions    Allow reconnection from original client only
Administrative Templates\Windows Components\Terminal Services\Sessions    Terminate session when time limits are reached


Author Comment

ID: 16562952
Jay Jay,

  Thanks for the responce.  I have looked at these settings locally and in the domain and they are set to "not configured".  Did you set yours manually or are there default settings that aren't beeing shown even though it is set to "not configured"?

LVL 48

Accepted Solution

Jay_Jay70 earned 1000 total points
ID: 16566972
if i have problems like you are having then i go and enforce something

ie, we had a bit of a problem with disconnected sessions being open to long....so we enforced the policy and now everything is good

not configured means just that, whatever the defaults are in windows will carry through

Author Comment

ID: 16700953

  I have not tryed your suggestion but since you are the only person to respond.  I will give you the accepted answer. Once I have made the changes I will reply to this thread. Thanks for your help.
LVL 48

Expert Comment

ID: 16704389
let me know how you go

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

807 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