How to Create Desktop shortcut to Shutdown or Reboot

You can always customize the way Windows Shutdown or Reboot. In-fact, you can change the traditional way of clicking “Start” button, then clicking “Turn off Computer” and finally selecting “Turn off” or “Restart” etc.


All this can be done with a simple icon on your desktop!

Here is how:

  • Right-Click on your desktop and Select “New”, then “Shortcut”.






  • A new window will open. Just type “shutdown” (without the quotes), Click “Next>



  • Finally, Click ‘Finish”.




  • Now, you’ll see an icon on the desktop, just Double-click it and your computer will Shutdown.




But you can do lot more with a Shutdown shortcut than merely shutting down your PC. You can use any combination of several switches to add some flavor, like this:

shutdown -r -t 01 -c "Rebooting your PC"

Double-clicking on that shortcut will reboot your PC after a one-second delay and display the message "Rebooting your PC." The shutdown command includes a variety of switches you can use to customize.

For example, use this technique to create two shutdown shortcuts on your desktop—one for turning off my PC, and one for rebooting.


shutdown -s -t 03 -c "Bye Bye Now!"

shutdown -r -t 03 -c "I’ll be back ;)!"



Switch explanation

-s : Shuts down the PC.

-r : Reboots the PC.

-l : Logs off the current user.

-t nn : Indicates the duration of delay, in seconds, before performing the action.

-c "message text" : Displays a message in the System Shutdown window.

-f : Forces any running applications to shut down.


People who read this post also read :