Solved

Terminal Session IDs not sequential

Posted on 2011-03-09
3
938 Views
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!
0
Comment
Question by:m2chaudh
  • 2
3 Comments
 
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"
http://www.virtualizationadmin.com/articles-tutorials/terminal-services/general/terminal-server-session-sharing-explained.html

What issues are you having?

0
 

Accepted Solution

by:
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.
0
 

Author Closing Comment

by:m2chaudh
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.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Remote Desktop Shadowing often has a lot of benefits. When helping end users determine problems, it is much easier to see what is going on, what is being slecected and what is being clicked on. While the industry has many products to help with this,…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now