How to disconnect Remote Desktop sessions


Is there an easy way  to close a Remote Desktop sessions on a windows server?

Open command prompt window (Programs / Accessories / Command Prompt ) and get the session number:

query session

Enter “tsdiscon”  from a command line: (the n should be replaced with the session number)

tsdiscon n