Solved

Terminal Session IDs not sequential

Posted on 2011-03-09
3
950 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
[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
  • 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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

732 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