Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page




 

Microsoft DOS logoff command

Quick links

About logoff
Availability
Syntax
Examples

About logoff

The logoff command is an external command that allows a user to quickly logoff their computer from the command line or within a batch file.

Availability

The logon command is an external command that is available in the below Microsoft operating systems.

Windows 2000
Windows XP
Windows 7

Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Syntax

Terminates a session.

LOGOFF [sessionname | sessionid] [/SERVER:servername] [/V]

sessionnameThe name of the session.
sessionid The ID of the session.
/SERVER:servernameSpecifies the Terminal server containing the user session to log off (default is current).
/VDisplays information about the actions performed.

Examples

logoff

Would immediately log off the profile currently logged into Windows.

Note: Running this command does not prompt you if you're sure you want to logoff.

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope