Logging Off, Shutting Down, and Rebooting
The primary tool you use to log off, shut down, and reboot a Server Core system is the shutdown command. The following table shows some common usage.
shutdown Commands | Comments |
---|
Log off.
| The /l (โelโ, not one) switch is used to log off. The default delay is 30 seconds. |
Shutdown.
| The /s switch is used to shut down the computer. The default delay is 30 seconds. |
Reboot system.
| The /r switch is used to shut down and reboot the computer. The default delay is 30 seconds. |
Hibernate the computer.
| Forces the computer into hibernation. |
Abort a shutdown.
| The /a switch aborts a shutdown, but you have to run it before the time-out period expires. |
Modify the time-out delay.
/t number-seconds C:\>shutdown /r /t 60
| You can modify the time-out delay used with the /l, /s, or /r commands. |
Display Shutdown GUI.
| Figure 3 shows the Shutdown
GUI. You can use this to easily enter information for the event
tracker, such as why the system was rebooted and comments. Even though
this GUI is called Remote Shutdown Dialog, it can be used to shut down
the local computer by using the local computer name.
Tip
Although this section is focused on using shutdown to log off and reboot Server Core, you can also use it to shut down remote computers.
Note
You can also enter event track information from the command line. Use shutdown /? to view the syntax.
|