Terminal Session IDs not sequential

Posted on 2011-03-09
Medium Priority
Last Modified: 2012-05-11
When users connect to terminal sessions, the session ID that gets created is not in any sequence.
 For eg. if I'm first and only user on terminal server in the morning at the office, I should get a session ID of 1, but I would get something else, and consecutive users get assigned random IDs instead of sequential.

We've been having problems with very slow performance inside terminal sessions, event logs not leaving any kind of errors, so we are looking into these anamolies.

Can someone tell why the session IDs are genrated in such a way and if there is a way to fix it?

Thank you!
Question by:m2chaudh
  • 2
LVL 35

Expert Comment

by:Cris Hanna
ID: 35096430
Found the following " Non console terminal server sessions begin at the number one and increment dynamically to the physical limit of the terminal server, or the maximum number of sessions limit defined in the terminal server configuration"

What issues are you having?


Accepted Solution

m2chaudh earned 0 total points
ID: 35109106
I have done some digging and here is the main issue causing the session ID’s.
Tserver 2003 and Tserver 2000 has a known issue with ghost printers.
This happens when users log off and their virtual printers do not get removed.
We have a utility running on our customers with these servers to help clean them up.  
It is called HIVE cleaner and you have it running.

When there is a ghost printer left behind from a session the next session can not use that session number.

It is not of great concern, it does not mean that the user is still fully running, just that the counter has not been reset.
Sort of like the take a number at the butcher counter.
If there is a ghost printer the butcher lady can not replace the roll and then just keep going up.

Since your Tserver is 2003 & older and it will be replaced with a Tserver 2008R2 with way more features in the next year or so I would not worry.

The only way to stop it is to not allow client side printer mappings.
This also means we can not print to our local printer anymore.

The printing in Tserver 2008 and Tserver 2008R2 has been completely rewritten to support better local resource management.

Author Closing Comment

ID: 35145501
Found this to be viable answer to my problems, real problem was network congestion, therefore I was trying to close loose ends with the idea to discover the real culprit, but this isnt one of them.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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.

Join & Write a Comment

Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
Exchange database can often fail to mount thereby halting the work of all users connected to it. Finding out why database isn’t mounting is crucial and getting the server back online. Stellar Phoenix Mailbox Exchange Recovery is a champion product t…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

621 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