Wednesday, August 18, 2010

The terminal server has exceeded the maximum number of allowed connections

Error Description

The terminal server has exceeded the maximum number of allowed connections

The above error is most often user will get if users are working with RDC (Remote Desktop Connection)

Why this error occurs
  1. The maximum number of sessions allowed remotely for RDC is TWO at any given time.
  2. Unfortunately the logged in user is NOT logged off their session, then their session will be acive. so other users tries to RDC will get this familiar error

How to resolve
  1. Open the command prompt in your client system
    Enter the command mstsc /v:servername /admin /f –console (This will login to the remote system in console using admin user. In user dialog, enter your admin username and password)
  2. Once logged in, go to Start- Run- type tsadmin- Click Enter
  3. This will open the Terminal Services Manager and shows up the users session connected to the system.
  4. Logoff the other two sessions (Right mouse click and click logoff menu item from menu)
  5. Try to RDC now, it will successfully allow the user to RDC to remote system.

servername is a variable that you have to replace with your server ip or server name

how to avoid this error

Insist the user to logoff their session once they have done their work remotely

No comments:

Post a Comment