Windows 10 Hibernation not available

I found the solution: in fact the file was too small!

I don't know why powercfg -h sets the file so small automatically, but running the following fixed the problem:

powercfg -h -size 75%

Just to clarify @Manny post since am unable to post a comment.

  • Select Command Prompt. Make sure you run as Admin - right click on the command prompt and select Run as administrator
  • Type 'powercfg -h off' Press Enter.

    powercfg -h off
    

    If it returns an unexpected error

    powercfg -h -size off
    
  • Type 'powercfg -h on' Press Enter.

    powercfg -h on
    

    If it returns an unexpected error

    powercfg -h -size on