Monday, November 22, 2010

How to kill a Remote Desktop Connection

I got the following from:

In case that site goes down here's how to do it on my Win7 machine:

  1. Open the cmd line in admin mode
  2. net use \\[server] /USER:[login] "[password]"
  3. query session /server:[server]
  4. reset session [id from above] /server:[server]
The only thing I changed was admin mode.  I wasn't able to use query.exe or reset.exe unless the command prompt had admin privileges.  These executables are in the system32 directory.


Anonymous said...

I could have used this the other day. Thanks.

Post a Comment