2008 TS farm - need users to get their last connected session

Posted on 2012-08-23
Medium Priority
Last Modified: 2012-10-25
I have a 2008 TS farm and when a user disconnects  from one session when he comes back in to the system she is looking to grab the session she left but she is being directed by default to the next available TS server and loses his connection/place so to speak - this is not restricted to any one user but to all users.  Is there any way to program it so that users getting the last session they 'disconnected' from has a higher priority than other load-balancing considerations - in other words they get the Terminal Server their disconnected session is on? All MS here - no Citrix.
Question by:lineonecorp
  • 5
LVL 18

Expert Comment

by:Sushil Sonawane
ID: 38323898
Please refer below link to configure timeout and reconncection setting for terminal server.


Expert Comment

ID: 38325827
In terminal services configuration, you may also need to set "restrict each user to one session" to "yes".

Author Comment

ID: 38333632
Thanks for the comments. We think we have found the solution - a hot fix from Microsoft. We are just waiting for a window of time to apply. I will notify here of the results.
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.


Author Comment

ID: 38370707
Thanks for your patience. The hotfix was not applicable to 2008 R2. We have discovered some more detail of the problem. As I indicated we have a multiple physical host 2008 R2 Hyper-virtualized TS farm with several session brokers (virtualized as well) and a connection broker (VM) as well. What is happening is that around noon the Session Brokers suddenly lose their connection to the Connection Broker and then a minute later reconnect. However in the process of disconnecting and reconnecting, the Connection Broker now no longer has the appropriate connection information for the clients that were logged on to the TS. The clients are still connected via the TS to the Session Broker but because the Session Broker lost connection to the Connection Broker it seems that those users who disconnected and would ordinarily get their session back - we have a 2 hour time out - are no longer being redirected to their existing session. This only happens at noon which coincides with the time that people go for lunch and disconnect their sessions en masse - at other times of day when there is a more intermittent disconnection situation- a person here and there disconnects from their session but there is no 'mass disconnection' there is no issue - the users when the reconnect go back to the session they left. I would appreciate any thoughts as to what might be the cause of this/how we might isolate the problem? Is there some kind of maximum disconnection issues with Connection Broker?

Author Comment

ID: 38400849
Still monitoring?

Accepted Solution

lineonecorp earned 0 total points
ID: 38517492
Problem was related to one group of users using a common name to log into their local accounts before accessing TS.  Messed up Connection Broker's ability to keep profiles straight.

Author Closing Comment

ID: 38533436
Nothing posted by Experts was in the right direction. Our fix was definitive.

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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).
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

840 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