How can I logoff from the command prompt?
John Savill
March 4, 1999
1 Min Read
A. The Windows NT 4.0 Resource Kit Supplement 2 ships with theutility LOGOFF.EXE and this can be used to logoff from the command line.
The syntax is
C:> logoff [/f] [/n]
Where the option /f means running processes will be closed without asking tosave unsaved data but will ask for confirmation. /n will logoff withoutconfirmation but will ask to save unsaved data.
Using both together will result in no confirmation and all unsaved databeing lost.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like