Windows 10 sleep shortcut

Page 2 of 2 FirstFirst 12

  1. Posts : 317
    Microsoft Windows 10 x64
       #11
      My Computer


  2. Posts : 11
    Windows 10
       #12

    For those who would like to be able to still use hibernate on their computer (I almost never "Shut Down" my laptop), here is another option along the same lines. Create a .bat file (I call it sleep.bat) with the following:
    Code:
    @echo off
    powercfg -hibernate off
    C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState
    powercfg -hibernate on
    For the shortcut command I use:

    cmd.exe /c D:\Data\sleep.bat
      My Computer


  3. Posts : 1
    W10
       #13

    Just in case anyone wants to use hybrid sleep (hibernation and sleep together, copies to RAM and disk just in case of power loss):

    I haven't been able to find a successful command from Windows 10. The solutions in this thread use sleep or hibernation, but not both at the same time (hybrid sleep).

    However, I found that using NirCmd uses hybrid sleep with the standby command.

    Extract NirCmd to a folder
    Create . bat with the following line - X:\FOLDER\nircmd.exe standby
    Execute .bat (does not require elevated privilege/administrator)

    You can confirm the hybrid sleep state by generating a system power report with powercfg:
    Open command prompt as administrator
    Enter: powercfg /systempowerreport
    Open the file at the location indicated. Usually "C:\Windows\system32\sleepstudy-report.html"
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:20.
Find Us




Windows 10 Forums