Hibernation allows your PC to save its current state to disk and power off completely, using zero electricity while preserving open apps and documents for a faster resume than a full boot. To enable or adjust hibernation, you must use Command Prompt with administrator privileges—no GUI setting can force it if disabled at the system level. This guide walks you through enabling, disabling, and verifying hibernation using built-in Windows tools.

What You'll Need

  • An administrator account on the PC
  • Command Prompt opened as Administrator (not just as a user)
  • Adequate free space on your system drive (C:)—at least equal to your installed RAM size—for the hibernation file (hiberfil.sys)
  • Physical access to the PC (remote sessions often block hibernation commands)

Step-by-Step

  1. Press Windows + S, type cmd, right-click Command Prompt, and select Run as administrator. If prompted by User Account Control, click Yes.
  2. At the command prompt, type powercfg /hibernate on and press Enter to enable hibernation. You’ll see no output if successful; the system creates the hiberfil.sys file automatically.
  3. To confirm hibernation is active, type powercfg /a and press Enter. In the output, look for Hybrid Sleep and Hibernation listed under The following sleep states are available on this system. If Hibernation appears, the command worked.
  4. To reduce the size of hiberfil.sys (e.g., to 50% of RAM), type powercfg /h /type reduced and press Enter. This is safe for most systems and saves disk space without breaking hibernation. For full control over size, use powercfg /h /type classic (full size) or powercfg /h /type mini (smallest, but less reliable on some hardware).
  5. To disable hibernation and delete hiberfil.sys (freeing disk space), type powercfg /hibernate off and press Enter. You’ll see no output if successful.
  6. Verify hibernation is disabled by running powercfg /a again—Hibernation should no longer appear in the list of available sleep states.

Common Mistakes

  • Running Command Prompt without administrator privileges—commands will fail with Access Denied or no effect.
  • Confusing hibernation with sleep or hybrid sleep: hibernation fully powers down; sleep keeps RAM powered; hybrid sleep saves to both RAM and disk. These are separate settings.
  • Assuming hibernation works on all PCs: older laptops or systems with certain drivers (especially USB 3.0 or NVIDIA graphics) may not support it. Check powercfg /a first.
  • Deleting hiberfil.sys manually—this breaks hibernation and may cause errors. Always use powercfg /hibernate off.
  • Expecting hibernation to work over Remote Desktop—Windows blocks hibernation in remote sessions for security reasons.

Tips

  • Use powercfg /energy to run a 60-second system health check; it flags drivers or settings that could block hibernation.
  • On laptops, keep the charger plugged in while enabling hibernation—some systems disable it when running on battery by default.
  • Set hibernation as the default action for the power button: go to Control Panel > Hardware and Sound > Power Options > Choose what the power buttons do > Change settings that are currently unavailable > Hibernation.
  • For fast resume, ensure Fast Startup is enabled (Settings > System > Power & sleep > Additional power settings > Choose what the power buttons do > Enable hibernation). It uses hibernation for shutdowns.
  • Monitor hiberfil.sys usage: in Command Prompt (admin), dir C:\ /a shows hidden files—hiberfil.sys only appears when hibernation is enabled.

Troubleshooting

If hibernation doesn’t appear after running powercfg /hibernate on, follow these checks in order:

  1. Restart the PC—some driver changes require a reboot to take effect.
  2. Check disk space—run dir C: in Command Prompt and confirm at least 1 GB free space (or equal to RAM size). If low, delete temporary files via cleanmgr or Storage Settings.
  3. Update device drivers—especially chipset, graphics, and power management drivers. Outdated drivers often block hibernation. Use Device Manager or the manufacturer’s support site.
  4. Disable Fast Startup temporarily—go to Power Options > Choose what power buttons do > Change settings not available > uncheck Turn on fast startup. Then try powercfg /hibernate off, restart, then powercfg /hibernate on.
  5. Check BIOS/UEFI settings—enter your system’s firmware (restart and tap F2, F10, or Del during boot) and ensure Sleep State is set to Linux or Windows UEFI, not Disabled or S3 (ACPI) if unsupported.
  6. Run the Power troubleshooter—Settings > Update & Security > Troubleshoot > Additional troubleshooters > Power > Run the troubleshooter.

If hibernation still fails, your hardware may not support it. Check your laptop or motherboard manual for ACPI S4h support, or contact the manufacturer.

Frequently Asked Questions

Does hibernation work on Windows 11?

Yes—same commands apply. Hibernation is supported on Windows 10 and 11 home, pro, and enterprise editions, provided hardware supports it.

Can I hibernate from Command Prompt directly?

No—shutdown /h triggers hibernation, but you must be logged in locally (not remote). Example: shutdown /h /f /t 0 forces immediate hibernation.

Why does my PC wake up automatically after hibernating?

Check wake timers and devices: run powercfg /waketimers in admin Command Prompt to list scheduled tasks. Also run powercfg /devicequery wake_armed to see which devices (like keyboard, mouse, or network adapters) can wake the system. Disable them in Device Manager > Properties > Power Management.

Does hibernation use battery?

No—once hibernated, the PC is fully powered off. Battery drain is negligible (a few percent per month), unlike sleep mode.

Can I hibernate a PC without a battery (desktop only)?

Yes—hibernation works on desktops with no battery. The hiberfil.sys file is still required on the system drive.

Is hibernation safer than shutdown?

For preserving open work, yes—hibernation saves your session. For security, shutdown is safer: hibernation leaves RAM contents on disk, which could be accessed if the drive is stolen (though BitLocker encryption mitigates this).