Remote desktop Users may often encounter the problem of "exceeding the maximum number of allowed connections", because the default setting of remote desktop for administrator is two connections, in addition, If you disable remote desktop without logging off after remote logon, the session is actually still on the server side, so the above prompt is easily displayed when you connect again. Solution 1: Use logout to disable remote desktop, limit the time of Disconnected Sessions, and increase the number of connections.
The last two methods can be modified in either the terminal services configuration, the group policy, or the English system, therefore, the following operations are for English systems.
1. Modify the terminal services configuration
Start-> control pannel-> administrative tools-> terminal services configuration
Select connections on the left and double-click RDP-Tcp on the right to open the attribute Setting dialog box.
Select the sessions tab, select the first override user settings, and modify the end a disconnected session time, for example, 30 minutes. In this way, if the connection is not reconnected within 30 minutes after the connection is disconnected, the system automatically ends the session.
Select the network adapter and modify maximum connections. The default value is 2. Change it to the number you want, but it should not be too large. Otherwise, the occupied system resources are relatively large. However, it seems that this modification does not work for the administrator. After the modification is completed, the setting is changed back to 2.
2. Modify group policy
This level is higher than the terminal services configuration. After modification, the changes in the terminal services configuration above will become grayed out and cannot be modified.
Start-> run-> gpedit. msc
Computer configration-> Administrative templates-> windows components-> terminal services
Double-click limit number of connections on the right to open the Settings dialog box, select Enabled, and add the maximum number of connections to TS maximum connections allowed.
Terminal services-> sessions on the left
Double-click set time limit for disconnected sessions on the right, select Enabled, and select time from End a disconnected session.
Guanwei blog