Name

Logoff — \windows\system32\logoff.exe

Synopsis

Logoff is a quick way to log off the current user (either sitting in front of the computer or logged in remotely), rather than doing so through the Start Menu; you can even create a shortcut to allow you to quickly end the current session. The syntax is as follows:

logoff [session | id] [/server:name] [/v]

Option

Description

session | id

The name or ID of the session to end (never both).

/ server : name

Specifies the remote terminal server (remote desktop) hosting the session to end.

/v

Displays additional information.

Get Windows XP Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.