troubleshooting Question

Terminal server 2003 refusing more than 23 connections

Avatar of Thompsonit
ThompsonitFlag for United Kingdom of Great Britain and Northern Ireland asked on
Windows Server 2003SBSRemote Access
14 Comments1 Solution388 ViewsLast Modified:
Hi all I have a strange problem with my TS 2003 server.

We have an SBS 2003 (Dell Poweredge 2900) sp1 acting as DC AD & TS licensing server, we also have another server running TS on 2003 sp1 (Dell Poweredge 1900).

A week ago the TS began disconnecting clients for no apparent reason,  it also stopped allowing clients to connect unless the total users connected dropped below 23. Thinking it was something wrong with the TS I ran some updates including Server 2003 SP2 - this went drastically wrong so I took the opportunity to fully reinstall TS.

Unfortunately this still didn't solve the problem, I checked the SBS box and discovered that the License Server was only issuing per device Temp licenses even though there were 35 volume licenses avail (TS per user CAL tokens).

I checked the event log and found various ID 38 errors, I started reading up and found:
Event Type:    Error
        Event Source:    TermServLicensing
        Event Category:    None
        Event ID:    38
        Date:        04/05/2010
        Time:        11:21:26
        User:        N/A
        Computer:    ********************
        Description:
        Can't generate a license for client because of error 'Can't add certificate to store, error c0010020.

I followed the instruction:
1. Stop the terminal services licensing service

2. Delete the following registry keys

        HKLM\Software\Microsoft\TermServLicensing\Certificates.

        HKLM\System\CurrentControlSet\services\TermservLicensing\Parameters\Certificates.000

        HKLM\System\CurrentControlSet\services\TermservLicensing\Parameters\Certificates.001

3. Start the terminal services licensing service

This stopped the errors but this morning I'm still having problems with what seems to be a limit of connections. I've checked the TS Config, RDP-Tcp connections, Network adapter and it's set to unlimited connections.

Some times I can get 24 or even 25 users connected but 9/10 I can only get 22 connections, this is causing me to logoff/ disconnect an idle user to allow another user on.

Additional info - The only users effected are external connections (internally I can create countless sessions far in excess of the 22 'limit') The external users receives a timeout error, there is nothing in the event logs on either the TS or the SBS server, if I telnet using port 3389 from the external users machine I  get the equivalent of an CLS command which I read was what I should get - therefore the machine is capable of talking to the TS.

I'm now at my wits end as there seems nothing else wrong in the setup.

Many thanks for any help.
ASKER CERTIFIED SOLUTION
Alan_White

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros