Remotely log off user from CMD

  1. First, check the session number with qwinsta:
  2. QWINSTA /server:YOURCOMPUTERNAMEHERE
    Write down the session ID.

    SESSIONNAME USERNAME ID STATE TYPE DEVICE
    services 0 Disc
    console FuzziusNavus 1 Active
    rdp-tcp 65536 Listen
  3. Then use the logoff command:
  4. LOGOFF YOURSESSIONIDHERE /server:YOURCOMPUTERNAMEHERE

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s