Search Archive

How to create shortcut on shutdown and restart buttons on desktop ?


  • To create a shutdown and restart button on Desktop we have to create a shortcut. 
  • To do this first Right Click on the Desktop and then click New Button. 
  • Then scroll down to Shortcut. On clicking it a new Window appears with a blank space saying "Type the location of items". 
  • In this space write "shutdown.exe -s -t 5" or "%windir%\system32\shutdown.exe -s -t 5"
  • Now the -s stands for shutdown and -t denotes the time in seconds to wait before windows shutdown. 
  • Then click next and give a name as shutdown and click Finish. 
  • To apply icons to it simply Right click it and Properties and then Change Icons. 
  • For Restart simply change -s with -r like this way "%windir%\system32\shutdown.exe -r -t 10" or "shutdown.exe -r -t 10".