Enable Hibernate with powercfg /hibernate on
Restore the missing Hibernate option and the hiberfil.sys file it depends on, from an admin prompt.
01Command
$ powercfg /hibernate on
powercfg /h on02What it does
Hibernate writes the entire session (open apps, files, windows) to disk and powers the machine fully off — ideal for laptops that should use zero power overnight. Windows sometimes disables it, which removes hiberfil.sys and hides the menu entry; powercfg /hibernate on recreates the file and re-registers the state. Note the file defaults to roughly 40% of your RAM size, so on a 32 GB machine expect about 13 GB of disk usage; powercfg /h /type reduced keeps fast startup while shrinking that. If the menu option still doesn't show, turn it on under Control Panel > Power Options > "Choose what the power buttons do".
03Risk
04Undo
$ powercfg /hibernate off05Sources
- powercfg command-line optionsEvidence: Documents powercfg /hibernate (alias /h) with on/off switches to enable or disable hibernation.
Last verified: 2026-09-18 · Category: System & Settings
06Related solutions
One command that shows OS version, install date, boot time, memory, network adapters and installed hotfixes.
Built-in Windows command to compute MD5, SHA1 or SHA-256 hashes of any file.
Remove hidden, system and read-only flags from files or whole directory trees.