Today we will teach you how to Shutdown, Restart, Sleep, Lock or Hibernate a Computer with one click. So let’s learn.
How to create a Shutdown Shortcut?
1. First, go to your Desktop and click on the right button in the blank. Go to New Option and click on Shortcut.
2. Then a window like a picture below will appear. Enter here:
Then click on Next.
Then another window will appear as below. Name it Shutdown here (or give it any name you want). Then click on Finish.
Then a Shortcut like a picture will appear on your Desktop.
Double click on it now the computer will shut down.
Restart Code – Shutdown.exe /r /t 00
Sleep Code – rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Hibernate Code – rundll32.exe PowrProf.dll,SetSuspendState
Lock Code – Rundll32.exe User32.dll,LockWorkStation