You want to reboot or shut down your PC quickly, and customize the way that it shuts down.
Using a graphical user interface
For a fast way to shut down or reboot your PC, create a shortcut on your desktop, and then double-click the shortcut.
To create the shortcut, right-click the desktop and select New Shortcut. The Create Shortcut wizard appears. On the first screen, for the location of the item, type shutdown, followed by one of several switches, like this:
shutdown -r -t 01 -c "Rebooting your PC"
Click Next, and in the next screen, type in the name of the shortcut. This is what will appear on the shortcut on the desktop. Then click Finish. To shut down or reboot, double-click the shortcut.
The example above would create a shortcut that would reboot your PC after a one-second delay and display the message "Rebooting your PC." You can instead tell the PC to reboot or you can have it log you off instead of shutting down. Table 6-3 lists the switches you can use with shutdown.