• John H @JohnH6 Mod Westcliff-On-Sea - updated 3y

    Turning off a Windows PC - Part 2

    The quickest and easiest way to perform Power functions on a Windows PC, is to have icons on your Desktop, as shown in the image below. To change the appearance of the icon(s), see the first comment below. Click here: https://bit.ly/3ajSDid for instructions on how to set them up. To avoid typing the required text, you can copy and paste from the text below.

    Shutdown: Copy and paste the following: Shutdown.exe /s /t 00
    Restart: Copy and paste the following: Shutdown.exe /r /t 00
    Sleep*: Copy and paste the following: rundll32.exe powrprof.dll,SetSuspendState 0,1,0
    Hibernate: Copy and paste the following: rundll32.exe PowrProf.dll,SetSuspendState
    Lock: Copy and paste the following: Rundll32.exe User32.dll,LockWorkStation

    *Depending on your PC, Sleep may Hibernate instead. If so, choose Sleep in the usual way, or, now that you have a Shutdown icon, you could change your Power button to Sleep instead. You may also have a Sleep symbol on an F key, or elsewhere on the keyboard.

I.T. Non-Techie help, information and tips

No advertising please. For the non-techie among us who may need a helping hand at times.