All Products
Search
Document Center

When you connect to a Windows instance remotely, the system prompts "the terminal server exceeds the maximum allowed connection"

Last Updated: Dec 30, 2020

Disclaimer: This article may contain information about third-party products. Such information is for reference only. Alibaba Cloud does not make any guarantee, express or implied, with respect to the performance and reliability of third-party products, as well as potential impacts of operations on the products.

Problem description

When you remotely connect to the ECS server in Windows, you are prompted that the maximum number of allowed connections for a terminal server is exceeded.

Cause

This problem occurs because the default Windows system is Standard Edition, which only supports the simultaneous management of two free remote connection terminals.

Solution

Alibaba Cloud reminds you that:

  • Before you perform operations that may cause risks, such as modifying instance configurations or data, we recommend that you check the disaster recovery and fault tolerance capabilities of the instances to ensure data security.
  • If you modify the configurations and data of instances including but not limited to ECS and RDS instances, we recommend that you create snapshots or enable RDS log backup.
  • If you have authorized or submitted security information such as the logon account and password in the Alibaba Cloud Management console, we recommend that you modify such information in a timely manner.

You can log out of the current user and log on again after logging on to the Console. The procedure is as follows:

  1. Click start>Run it and enter mstsc/admin to log on to the console console directly.
    Note: Take a Windows 7 client as an example.
  2. In Windows XP SP2, you can use the following command to log on to the console.
    mstsc /console /v:[$IP]
     Note:[$IP] is the IP address of the remote server.
  3. Log on to the ECS instance through a remote terminal in the ECS console, go to the task manager, log off the connected user, and then log on again.
  4. Restart the ECS instance, and release the remote connection request that is not released in the ECS console.

Application scope

  • ECS