Purpose:Reboot the computer, log off Windows, or shut down

 

Format:REBOOT [/= /A /B text] /F /H /K /L /M[0|1] /P /R /S /V /W /Y]

 

/A (restart apps)

/P(ower off)

/B(lock)

/R(eboot)

/F(orce)

/S(hutdown)

/H(ibernate

/V(erify)

/K (lock)

/W (standby)

/L(ogoff)

/Y (hybrid)

/M(onitor)


 

Usage:

 

REBOOT will log off or shut down the operating system, or completely restart your computer. It normally performs a warm reboot, or a shutdown and restart under Windows.

 

REBOOT defaults to performing a warm boot, with no prompting. The following example prompts you to verify the reboot, then does a warm boot:

 

reboot /v

 

TCC issues the standard commands to shut down other applications and the Windows before rebooting. Windows may prompt you for additional actions, or even ignore the request altogether depending on which processes are running.

 

Options:

 

/=Display the REBOOT command dialog to help you set the command line options. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

ARestart applications. Shuts down the system and then restarts it, as well as any applications that have been registered for restart using the Windows RegisterApplicationRestart API.

 

/B textBlock shutdown / reboot. The system will display text in the popup explaining the reason for blocking the shutdown.

 

/FForce the specified reboot option. This option does not send the WM_QUERYENDSESSION message to applications, so this can cause applications to lose data. This option is only valid when used with the /P, /R, or /S options.

 

/HSave everything in memory to your hard disk, and shutdown to save power. The desktop is restored to its original state when the computer is restarted.

 

/KLock the workstation. To unlock, the user must log in.

 

/LLog off Windows, but do not reboot. This option is equivalent to selecting Shutdown from the Start menu, then selecting "Close all programs and log on as a different user" in the shutdown dialog.

 

/MSwitch the display to low power (M0) or shut off the display (M1 -- will not work on all systems). This option will not reboot the computer unless you also include /R.

 

/PLog off Windows and turn off the computer.

 

/RReboots the system. This is the default, but is required if you specify /M0 or /M1 and also want to reboot.

 

/SShut down the system, but do not reboot. This is equivalent to selecting Shutdown from the Start menu, then selecting "Shut down the computer" in the shutdown dialog.

 

/VPrompt for confirmation (Y or N) before acting.

 

/WSave power by turning off the monitor and hard disks. When the computer comes out of standby, the desktop is restored to its original state.

 

/YHybrid shutdown - prepare the system for a faster reboot. This option is only valid wihen used with the /P, /R, or /S options.