Remote Desktop Tricks - Hung Session and kicking users off

 Have you ever tried to remote desktop into a windows server and get the error message “The Terminal server has exceeded the maximum number of allowed connections” Here is a quick work around to get you back on track.

Terminal Server has exceeded the maximum number of allowed connections

 

You can open a session as if you are sitting in front of the server.
Go to Start > Run

 

Start > Run

 

 

Type the command

mstsc -V server /f -console

(Replace server with the server name or IP address of the server you want to connect to.)

 

 

Then hit ok.

Commnd

It should launch remote desktop. Then just login as you normally would.

 

connecting

 

Now if we have some hung sessions we need to kill any sessions that are not being used.
We can do this with terminal manager under administrator tools on the server.

Go to Start > All Programs > Administrative Tools> Terminal Services Manager

 

 

Terminal Service Manager

You will see your session in green

 

 

Users

To kick off other users or kill hung sessions, right click on them and select disconnect.

Log Off

Now just make sure you logout when you are done so this emergency session is not hung on the server.

ShareThis
 

If this information was useful, please consider donating a small amount to help cover bandwith costs.