tldr/pages/windows/logoff.md

291 B

logoff

Terminate a login session.

  • Terminate the current session:

logoff

  • Terminate a session by its name or id:

logoff {{session_name|session_id}}

  • Terminate a session on a specific server connected through RDP:

logoff {{session_name|session_id}} /server:{{servername}}