windows2003 Remote Desktop has exceeded the maximum number of connections forced logon method

Source: Internet
Author: User
Tags mstsc

When the remote desktop exceeds the maximum number of connections, you can use the following command to force the login to execute on the command line:

Usage: mstsc/console/v:ip:port | Mstsc/v Ip:port/console
Example: mstsc/console/v:192.168.0.1:3389

If the target host modifies the terminal port, the port is changed to the modified ports.

Other ways to solve the problem

First, after landing, open Task Manager-user, log off other users.

Second, if you can telnet, no matter what way, anyway, you can get the server shell.
Go up and look at the landing user, enter the command: query user


Increase the maximum number of links

1. Modify from Terminal Services Configuration: Run-tscc.msc (Terminal Services Configuration)-Connect-double-click Rdp-tcp or right-click-Properties, select the "Network Card" tab-Modify the "Maximum number of connections" to the value you need, of course, this value can not be too large, otherwise it will occupy more system resources. However, the modified value here does not seem to work, set to unlimited time will still appear in this article said.
2. The Group Policy level is higher than the Terminal Services configuration, and the corresponding options in the Terminal Services configuration are grayed out when Group Policy is enabled
Run-gpedit.msc-Computer Configuration-Administrative Templates-windows components-Terminal Services Double-click the limit number of connections to the right-select enabled-fill in the maximum number of connections allowed

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.