Terminal Server exceeds maximum allowable number of connections solution

Source: Internet
Author: User
Tags port number mstsc

When using the server, many times it is Remote Desktop operation, you may encounter such a situation, when you enter the account and password when the "Terminal Server exceeded the maximum allowable connection" hint. When you encounter this problem, how to solve it?

Method 1: Enter the command "mstsc/v A.b.c.d/console" in the Run window, as shown in the following figure. where the/V a.b.c.d and/console before and after, A.B.C.D is the address of the remote server, if you modify the default remote landing port 3389, you need additional port number, such as/V A.B.C.D: Port number/console, and then you can enter account password login. This method is best tested on server2003 or XP, and the success rate of Win7 is low.

After successful landing, you need to log off the account has been landed, so you can immediately mstsc landing, look at the picture below, select the logo is not 0 of the cancellation can be identified as 0 is their own, off immediately off the line.

Method 2: Use XP or server2003 to open "CMD" and enter "query User/server:a.b.c.d" To view the user connection session, as shown in the Session Name column, the name with "RDP" is a remote user connection. Next, execute the command "logoff Id/server:a.b.c.d" and log out of useless user sessions, such as logoff 1/server:a.b.c.d. After you log off all the online reply links, you can use MSTSC for remote login.

Note: The above operation is not easy to implement in the default Win7 environment, it is recommended to use XP or server system test.

How does the terminal server exceed the maximum allowable number of connections?

Simply put, log on to the server after a long time does not operate and then lose the remote connection, this account has been online, the next time you log on to the server, and set up a new connection has not dropped the line, so that the connection will be more than the maximum number of connections, this error occurred.

How to avoid exceeding the maximum allowable number of connections this occurs?

The method is, the remote operation after the timely cancellation of the account, the method is the right key taskbar, the second picture, select the account cancellation, of course, including the current login account, and try to avoid long time to login without operation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.