• First, check the session number with qwinsta: QWINSTA /server:computername
  • Write down the session ID.
  • Then use the logoff command: LOGOFF sessionID /server:computername.