How to View / Disconnect Remote Desktop Sessions from remote Commandline

I used to receive the maximum number of connections error message when I try to log on to the Windows Server in Windows Remote Desktop.

Open the command prompt on the client computer as a domain Admin user.

You will get a list of the Remote Sessions in the command window:

qwinsta /server:SERVERIP

Command line to disconnect the remote session:

rwinsta SESSIONID /server:SERVERIP 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s