Mstsc Remote Desktop maximum number of connection reached reset with command prompt
Error: To get the remote session if already exceeded.
You can also check the sessions on the remote machine if you are an administrator.
Open a command prompt as a domain administrator for that machine or map a drive to it.
In the command prompt, type: query session /server:servername
Replace servername with the name or IP address of the remote machine.
Now we have details on all active and disconnected users or sessions on the remote machine. To reset a session, use this command:
reset session [ID] /server:servername
For example:reset session 2 /server:10.10.10.2
Replace [ID] with the number from the previous output and “servername” with the remote machine name or IP address. This will reset the session, allowing you to log in via Remote Desktop connection.