Friday, August 30, 2013

How to Create Shutdown, Restart, Hibernate and Sleep Shortcuts for MS Windows

Right-click on the desktop, choose New and then Shortcut. In the shortcut location box, you will need to enter the correct command, which I have mention for you below. ( For Windows 7 & Windows 8)

Shutdown Computer           Shutdown.exe -s -t 00
       
Restart Computer              Shutdown.exe -r -t 00      

Lock Workstation              Rundll32.exe User32.dll,LockWorkStation

Hibernate Computer          rundll32.exe PowrProf.dll,SetSuspendState

Sleep Computer                 rundll32.exe powrprof.dll,SetSuspendState 0,1,0

                                              -f Forces running applications to close without warning.
                                                           -t xx Set timeout for shutdown to xx seconds.
 

Right-click on the desktop, choose New and then Shortcut. In the shortcut location box, you will need to enter the correct command, which I have mention for you below. ( For Windows XP )   
Shutdown Computer            %windir%\System32\shutdown.exe -s -f -t 00
       
Restart Computer               %windir%\System32\shutdown.exe -r -f -t 00

Shutdown Computer           Shutdown.exe -s -t 00
       
Restart Computer              Shutdown.exe -r -t 00     

1 comment:

  1. Congratulation for the great post. Those who come to read your article will find lots of helpful and informative tips.

    Samsung - 15.6" Laptop - 4GB Memory - 750GB Hard Drive - Silver

    ReplyDelete