Click here to Skip to main content
15,886,026 members
Articles / Operating Systems / Windows
Tip/Trick

Shortcut to Shutdown and Restart PC

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
2 Oct 2011CPOL 12.4K   1   1
Shortcut to Shutdown and Restart PC
This is a handy little shortcut I use on all my desktops. It saves the hassle of clicking START, Turn Off Computer, then choosing Shutdown or Restart.

  1. Right Click an empty area on your desktop
  2. Choose New, shortcut
  3. In the location box, type or copy and paste this:
    C++
    %windir%\system32\shutdown.exe -s -t 00

  4. Hit Next
  5. You can change the name to Shutdown, or whatever you want
  6. Click finish


You can do the same thing for a Restart shortcut by putting this in the location box:
C++
%windir%\system32\shutdown.exe -r -t 00


After you've created these shortcuts, you change their icons by right clicking on them, properties, change icon, then choose from whatever pleases you...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) NICE Computers
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
Generalvery nice and good article.. Pin
Denno.Secqtinstien17-Nov-11 23:35
Denno.Secqtinstien17-Nov-11 23:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.