How to Kill Remote Desktop Sessionsby Mikhail Polenin
Your copy of Windows only allows a certain number of clients to connect via Remote Desktop to your server. Sometimes you actually end up with a “ghost session” from a previous session that didn’t close properly and prevents you from making a new session. To kill this session, you must acquire privileges on the Microsoft server you run remotely and kill the process using the command line.
Go to your "Start" menu and click “Run.”
Write “cmd” and press “Enter” on your keyboard.
Write “net use \server_ip /USER:your_name password.” This logs you in to the remote server without using RDP, or Remote Desktop protocol. Replace “server_ip” with your server’s IP, “your_name” with your user name and “password” with the password you use to log in.
Write “query session /server:name.” Replace “name” with the server’s name. You get the session ID here.
Write “reset session id /server:server_ip,” replacing “server_ip” with the server’s IP. Do not replace anything else, as all the rest is part of the command. This terminates the active session on your remote server. Try connecting now through Remote Desktop to the new server.
- link Microsoft: Net Use
- photo_camera Jupiterimages/Goodshoot/Getty Images
Click here to provide feedback on this article