Monday, December 31, 2012

Kill a Terminal Server Session from the Command Line

How to Kill a Terminal Services Session from the Command Line

  1. Open a CMD prompt
  2. To query for current sessions, type:
    • qwinsta.exe /server:<servername>
  3. To kill a session, type:
    • rwinsta.exe /server:<servername> <session id>

No comments:

Post a Comment