Shortcut to Shutdown and Restart Windows

{lang: 'ar'}

Tired of using couple of steps to Shutdown or Restart Windows? You can create a shortcut to shutdown or restart Windows by the following steps. This is applicable for Windows XP

  • Right-click on the Desktop region and select New > Shortcut. Create Shortcut wizard appears.
  • Enter the following in the box shutdown -s -t 05. This is shown in the screen shot. Click Next.

-s denotes shutdown and -t denotes the time in seconds for the shutdown. The entire usage for shutdown.exe command is given in a subsequent section.

  • Enter a name for the shortcut say, Shutdown.
  • Click Finish to create the shortcut. A shortcut is now created in your Desktop. Note that the shortcut has a generic icon displayed
  • Right-click on the shortcut and choose <Properties> button. Properties window appears.
  • Choose <Change Icon> button.
  • Click the Browse button and select an icon of your choice. Click <OK>.
  • Choose <Apply> to finish. You can also drag this icon to Quick Launch toolbar.
  • Click the Shutdown icon to shutdown your computer. Ofcourse, ensure all work is saved – setting a reasonable time for shutdown will also give you a chance to save any unsaved work at the end.

Shutdown Usage

Usage for various arguments is given below.

Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \computername] [-t xx] [-c "c
omment"] [-d up:xx:yy] 

No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c “comment” Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without war
ning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer le
ss than 256)
yy is the minor reason code (positive integer le
ss than 65536)

Shortcut to Restart

  • The steps to create a Restart shortcut are the same as above with the following usage

shutdown -r -t 5 (-r denotes restart option and -t denotes the time in seconds for the restart).

Click here for reuse options!

Copyright 2007 referpages

Related posts:

  1. Windows 7 – Shutdown and Restart Shortcut
  2. Disk cleanup utility in Windows 7

Speak Your Mind

*

Page optimized by WP Minify WordPress Plugin