The terminal server has exceeded the maximum number of allowed connections

Remote desktop connections remain active until the logged in user selects “Log Off” from the Start Menu. If a user closes the remote desktop window without logging off, the user will still remain logged on.

Only up to two simultaneous Remote Desktop connections are allowed by default and active and disconnected sessions are calculated in this connection limit.

If a third simultaneous attempt is made to login to the server “The terminal server has exceeded the maximum number of allowed connections” error will be shown to the user, and they will be unable to complete the login process.

Fortunately, there is a way around this:

  1. Click OK to the error message.
  2. Type mstsc /v:xx.xx.xx.xx /f –console into Start – Run replacing xx.xx.xx.xx with the remote IP
  3. Login with Administrator account.

This will connect you to the remote computer.

3 Responses

  1. TonyS says:

    The issue I have is that I get:
    Error 5 getting sessionnames
    Error [5]:Access is denied

    everytime I try to access the server via command prompt.
    How do I get around this apparent permission issue?

  2. TonyS says:

    I did not mention above that this is Small Business Server 2000 and I am connecting remotely from my home office using Vista Ultimate.

  3. NormanK says:

    I have a domain with a Windows 2003 server serving as the controller and a second machine as a Terminal Server. I can remote desktop into the TS machine fine but when I try to remote into the DC I get the “terminal server has exceeded the maximum…” message. I’ve tried the Run command to get into the console but it doesn’t work. TS Manager shows only one admin connection, no idle or disconnected sessions and no console session. I presume something’s up on the DC: is there a way to fix this by remoting into the TS machine?