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