The "hibernation" command has disappeared


  1. DMD
    Posts : 86
    W10 Pro 64 bit 21H1
       #1

    The "hibernation" command has disappeared


    Good evening
    I updated to the latest (Italian) version of W10 (18362.239) and for some time, I don't remember when, that I wasn't using hibernation, today I needed it and I discovered that I miss this command.
    I made the direct command, as an administrator, "powercfg.exe / hibernate on" at the command prompt
    But the command does not appear in the Start Menu or even the entry in the control panel.





    Some idea?
    Thank you
      My Computer


  2. Posts : 31,596
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #2

    DMD said:
    But the command does not appear in the Start Menu or even the entry in the control panel.
    You may need to Restart before the hibernate option appears in Control Panel's Power options. You need to show settings that are currently unavailable in order to enable showing hibernate on Start.

    Add or Remove Hibernate from Power menu in Windows 10


    Edit:
    You may need to Restart before the hibernate option appears in Control Panel's Power options....
    I have just tested that. After enabling hibernate but before a Restart it does not appear in the dropdown list in your screenshot. After a Restart it does.
    The "hibernation" command has disappeared-image.png
      My Computers


  3. DMD
    Posts : 86
    W10 Pro 64 bit 21H1
    Thread Starter
       #3

    I followed your advice, and restarted, but the hibernation command does not appear yet
      My Computer


  4. Posts : 68,837
    64-bit Windows 11 Pro for Workstations
       #4

    Hello @DMD,

    You might see if you may be able to enable hibernate using a different option below.

    Enable or Disable Hibernate in Windows 10
      My Computers


  5. Posts : 31,596
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #5

    DMD said:
    I followed your advice, and restarted, but the hibernation command does not appear yet
    That's odd, it should be there by now.

    Try turning off Fast Startup (that uses the the hibernation file hibefil.sys too).

    Turn On or Off Fast Startup in Windows 10

    Then use powercfg /hibernate off followed by powercfg /hibernate on and Restart the PC.


    Your specs say that you have W10 Pro. You may want to check that hibernation isn't disabled by group policy.

    Disable Shut Down, Restart, Sleep, and Hibernate in Windows 10
      My Computers


  6. DMD
    Posts : 86
    W10 Pro 64 bit 21H1
    Thread Starter
       #6

    Ringrazio tutti per i consigli che mi hai dato.
    In primo luogo, di dimensioni il file file di ibernazione
    con la "powercfg / h / tipo full" di comando.
    Poi ho provato pił volte a eseguire i comandi
    "powercfg -h off" riavvio e "powercfg -h on" riavvio.
    Ora ho finalmente avuto il comando nel menu Start e nei pulsanti di alimentazione.




    Last edited by DMD; 22 Jul 2019 at 10:57.
      My Computer


  7. Posts : 68,837
    64-bit Windows 11 Pro for Workstations
       #7

    Great news.
      My Computers


  8. Posts : 31,596
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #8

    DMD said:
    Now I finally got the command in the Start Menu and in the power buttons.
    Glad to hear that.
      My Computers


  9. DMD
    Posts : 86
    W10 Pro 64 bit 21H1
    Thread Starter
       #9

    Good morning
    I was thinking of grouping the commands in a single bat file.
    Mine is just an idea, I don't know if it's okay, like this script:

    Code:
    @echo off
    :CheckPrivileges
    net session >nul 2>&1
    if not %ErrorLevel% == 0 (
            color 4f    
            echo.        
            echo EXECUTE THE FILE WITH THE ADMINISTRATOR PRIVILEGES
    echo.
    echo                Output in progress ...
        rem Delay di uscita dallo script    
        PING 127.0.0.1 > NUL 2>&1
            goto End
    )
    cls
    
    Color 1f
    echo ==========================================
    echo.
    echo       ACTIVATE HIBERNATION
    echo.
    echo ==========================================
    echo.
    echo.
    
    rem  --------FILE OF HIBERNATION COMPLETE------------------
    powercfg /h /type full
    
    rem  --------HIBERNATION ON------------------
    powercfg -h on
    
    Reg Add HKLM\SYSTEM\CurrentControlSet\Control\Power /v HibernateEnabled /t REG_DWORD /d 1 /f > nul
    
    :restart
    echo.
    echo.
    echo.
    echo    MUST BE RESTART
    set /p var=Do you do it now? (Y/N):
    
    if %var% == Y goto shutdown 
    if %var% == y goto shutdown 
    if %var% == N goto exit
    if %var% == n goto exit
    goto restart
    
    :shutdown
    cls
    
    shutdown -r -f -t 0 -c "RESTART"
    exit
    Thanks for your suggestions
    [COLOR=inherit !important]


    [/COLOR]
      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 08:47.
Find Us




Windows 10 Forums