“The terminal server has exceeded the maximum number of allowed connections”
If you’ve got an unreliable internet connection, it’s possible to build up remote desktop connections that don’t time out when they should, putting you in a rough position. If you have access to another server machine, you can use the following commands to view and reset active connections.
> query session /server:servername
> reset session [ID] /server:servername
More information at: Command Line Hack for: “Terminal Server Has Exceeded the Maximum Number of Allowed Connections”
Update: In the syntax ‘/server:servername’ The ‘server’ is explicitly the text ‘server’. For instance, if my server is at 192.168.1.104, the command would be:
> query session /server:192.168.1.104
> reset session 2 /server:192.168.1.104