Knowledge Essentials - 3Essentials Hosting

RDP: The terminal server has exceeded the maximum number of allowed connections

Article ID: 1869

 Back to Search

When you try to connect to a machine using Remote Desktop connection, you might come across this error message.

The terminal server has exceeded the maximum number of allowed connections

This is because Windows Server only allows two connections through RDP, and you’ve either have two users already logged on to that machine, or you’ve got disconnected sessions that still thinks they are active. If a user simply closes the remote desktop window when they’re finished, that user will still remain logged on.

To gain access to the server you will need to log on using the console session ( session 0 ).

We recommend reading the following article which discusses the concept of RDP sessions in more detail: RDP Basics and Understanding Sessions

The following lists options for how to log on using the console session from a Windows or a Mac OS.   This will allow you to log in and close the remote sessions.

In all options replace vdesktop### with your server IP or hostname.  If you do not know it please contact support.

Windows:

Option 1:  Use RD Tabs to log on using the console session.

1.  Download and install RD Tabs at http://www.avianwaves.com/tech/tools/rdtabs/
2.  Start RD Tabs and fill out the following fields in the Remote Desktop Connection Properties box:
 
Computer:  vdestkop###.3essentials.com
Username:  Your Username
Password:  Your Password
 
3.  Check the Use console / admin session.
 
 
4.  Click Connect.

5.  Once logged in you can now start Task Manager (taskmgr) and log off the users in the Users Tab.

6.  Log off properly by going to Start > Log Off and re-login with your account.

 

Option 2:  Use the mtsc command to connect to the console session.

1.  The command to start mstsc will depend on the version of Windows operating system you are using:

Windows XP :   Type mstsc -v:vdesktop### /f -console

Windows Vista or later:  Type mstsc /admin /v:vdesktop### /f 

2.  Execute the command in a command prompt or Start > Run > Type the command to start mstsc > Enter.

3.  Your standard Remote Desktop Connection window should now pop up.   Log in as normally with your administrator account

4.  Once logged in you can now start Task Manager (taskmgr) and log off the users in the Users Tab.

5.  Log off properly by going to Start > Log Off and re-login with your account.

 

Mac: 

 

Option 1:  Use Microsoft RDP client for Mac version 2.1 or greater.

 

1.  Launch the RDP client 
2.  In the Computer box, type the name or IP address of the Windows-based computer that you want to connect to, followed by /console. 
There is no space between the IP address and /console. (for example, vdesktop###.3essentials.com/console).
3.  Click Connect.
4.  Once logged in you can now start Task Manager (taskmgr) and log off the users in the Users Tab.

5.  Log off properly by going to Start > Log Off and re-login with your account.

 
Note: This login method works only when you connect if your server is running 2003 OS.

 

 
Downloads Associated With This Article
No downloads are currently associated with this article.