by Andreas

How to kill an RDP session on a remote server

My RDP session is locked up, and the remote server is located roughly 16 000km away. I’ve still got contact with it, but when initiating a remote desktop session all I get is a black screen. This is how you kill a RDP session on a remote machine:

First, if the server is on a different domain map up one of the drives to gain access (replace the hidden text with the IP address or server name):

image

Next, get a list of running sessions on the remote server. There are two ways, one using qwinsta and one using session (Windows 7):

image

or:

image

 

Kill the session by using the ID (3 in my case):

image

or

image

And if all else fails, reboot the whole thing:

image