Mstsc Remote Desktop maximum number of connection reached
Error: TO get the remote session if already exceeded.
You can also query the sessions on the remote machine as an administrator of that machine.
Open a command prompt as a domain administrator that the remote machine is set to or map a drive of that remote machine.
Then in the command prompt, type as below:
query session /server:servername
Replace servername with the remote machine name or IP address.
Now we have the information of all the users/sessions that are active/disconnected on the remote machine. We can now reset one of the session with the following command.
reset session [ID] /server:servername
reset session 2 /server:10.10.10.2
Replace [ID] with the number from the previous output and server name with the remote machine name or IP address. This will reset the session and now you can login using Remote Desktop connection.