Maximum number of connections exceeded when connecting with RDP to VPS
Posted by zz-James Moir on 21 June 2016 04:07 PM


You are no longer able to establish a Remote Desktop Connection (RDP) to your VPS and you receive the following error:

The terminal server has exceeded the maximum number of allowed connections.


The problem occurs when all the available terminal service sessions are in use. Often this is caused when users do not correctly log off and simply close the RDP window, which leaves the session open.


You can always establish a connection to the virtual console of the VPS, regardless if it is in use. To connect to the console you need to add the /console switch to the RDP executable. You can update the RDP shortcut in the start menu to always connect to the console or run it once as shown by the steps below.

To connection to the console of the VPS follow these steps:

  1. Click the Windows Start button.
  2. Select Run.
  3. In the Run dialog box enter:
    mstsc.exe /console
  4. Click Ok.

The RDP application will start and any RDP connections will be established to the console. If there is already a connection to the console this existing connection will be closed automatically.

Logging off Inactive Users

Once logged in you may wish to logout any inactive sessions and free up terminal services connections. To do this right click on the task bar and select Task Manager. From the Users tab you can select the user and then select Logoff.