How to reset a terminal services session remotely

Probably all of you have run into the problem where a colleague forgot to log off after using a remote session through Terminal Services and then you get the beautiful ‘there are too many users connected’ error.

Probably this colleague already left for the day and you’re not able to contact him, so the best option here is to reset his session. In order to do this go to Command Prompt, and type:

qwinsta / being your server IP address.

It should return a result table like this:


Choose the ID of the session that you would like to end and type:

rwinsta / n

n being the session ID you want to reset.

That’s It! You can log on now!

Tweet about this on TwitterShare on LinkedInShare on FacebookShare on Google+

Leave a Reply