Google Box
 News
  Tips Home :

How to kill terminal server sessions. Utilities for terminal services: qwinsta and rwinsta

Doc TypeTricks & Tips
Email SettingMake Public
Email Addresssteve dot robinson at notes411 dot com
Keep informed?Yes
AuthorSteven Charles Robinson
Company NameNotes411
CategoryMicrosoft
Modified 13/07/2006 15:17:54
Subject How to kill terminal server sessions. Utilities for terminal services: qwinsta and rwinsta


Often Windows 2000 boxes exist in your organisation that do not have licensed Terminal Services running. This means you can only have two active sessions. Sometime more than one person may leave sessions live by not logging out. To kill these session there are two utilities that can be used via DOS prompt from a remote PC to remove the offending sessions.

1. qwinsta: queries the sessions

qwinsta /?

Display information about Terminal Sessions.

QUERY SESSION [sessionname | username | sessionid]
              [/SERVER:servername] [/MODE] [/FLOW] [/CONNECT] [/COUNTER]

  sessionname         Identifies the session named sessionname.
  username            Identifies the session with user username.
  sessionid           Identifies the session with ID sessionid.
  /SERVER:servername  The server to be queried (default is current).
  /MODE               Display current line settings.
  /FLOW               Display current flow control settings.
  /CONNECT            Display current connect settings.
  /COUNTER            Display current Terminal Services counters information.

2. rwinsta: removes the sessions

rwinsta /?

C:\Documents and Settings\stever>rwinsta /?
Reset the session subsytem hardware and software to known initial values.

RESET SESSION {sessionname | sessionid} [/SERVER:servername] [/V]

  sessionname         Identifies the session with name sessionname.
  sessionid           Identifies the session with ID sessionid.
  /SERVER:servername  The server containing the session (default is current).
  /V                  Display additional information.




Add Response   ||  Add a Document



Responses to "How to kill terminal server sessions. Utilities for terminal services: qwinsta and rwinsta":

© 2003 notes411.com. All rights reserved. Disclaimer. site designed & developed by appsworks.com
Lotus Notes is a registered trademark of IBM. This site is not affiliated with IBM or Lotus.