Command Line Hack For: "Terminal Server Has Exceeded The Maximum Number Of Allowed Connections"

The terminal server has exceeded the maximum number of allowed connections. The system can not log you on."

Here's a command line hack that you can use to figure out what sessions are connected to the server. Note that you could substitute the IP address for the server name.

query session /server:servername

This will show the list of open sessions.

To clear a session:

reset session [ID] /server:servername

This command won't display any output, but when we run the query command again, we should see that the session has now been disconnected.


Can also use:

qwinsta /server:servername followed by

rwinsta /server:servername [ID]

 

Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 24610

Need more information or have a question ?