Hibernation is a power-saving state that saves your current session to disk and fully powers down the system. Unlike sleep mode—which keeps RAM powered—hibernation uses no electricity, making it ideal for laptops when you’ll be away for hours or days. To enable it, you must first ensure your system has enough free space on the drive where Windows is installed (typically C:) equal to at least 75% of your installed RAM, and your power plan must support hibernation. This guide walks you through enabling hibernation via Command Prompt and adjusting settings in Windows Power Options.

What You'll Need

  • An administrator account on Windows 10 or 11
  • Sufficient free disk space on the system drive (C:)—at least 75% of your RAM size
  • Physical access to the device or remote admin rights (for remote machines)

Step-by-Step

  1. Open Command Prompt as an administrator: press Windows + S, type cmd, right-click Command Prompt (or Windows Terminal if using it), and select Run as administrator. If prompted by User Account Control, click Yes.
  2. In the Command Prompt window, type powercfg /hibernate on and press Enter. This command enables hibernation at the system level and creates the hiberfil.sys file on the system drive. You’ll see no output if successful.
  3. Close Command Prompt.
  4. Open Power Options: press Windows + S, type power options, and select Power & sleep settings (Windows 11) or Power Options (Windows 10).
  5. On the right side, click Additional power settings to open the classic Power Options control panel.
  6. Click Choose what the power buttons do on the left.
  7. 7. If you see the message “You don’t have permission to change these settings”, click Change settings that are currently unavailable (you must be logged in as an administrator for this to appear).
  8. Scroll down to the Shutdown settings section and check the box next to Hibernate.
  9. Click Save changes at the bottom.
  10. To verify hibernation is enabled, click the Start button, hold Shift while clicking Power > Restart. After restart, you’ll see a Continue option on the login screen—this confirms hibernation is active. Alternatively, open Command Prompt again and type powercfg /a; the output should list Hibernate as an available state.

Common Mistakes

  • Forgetting to run Command Prompt as Administrator: Without admin rights, the powercfg /hibernate on command will fail silently or return an access denied error.
  • Low disk space on the system drive: If C: lacks sufficient free space, hibernation won’t be enabled. Check Disk Management (right-click Start > Disk Management) to verify available capacity.
  • Missing the “Change settings that are currently unavailable” step: In Windows 10/11, hibernation options are hidden by default and only appear after clicking this link—many users miss this and assume hibernation is unavailable.
  • Using Fast Startup alongside hibernation: Fast Startup uses hibernation for fast boot, but if disabled, hibernation may not appear in the power menu. Ensure Fast Startup is enabled in Choose what power buttons do > Shutdown settings unless you specifically need to disable it for troubleshooting.

Tips

  • Manage hiberfil.sys size: If disk space is tight, reduce hibernation file size by running powercfg /h /size 50 (sets it to 50% of RAM). Note: this may cause hibernation to fail on systems with high memory usage or large open sessions.
  • Create a hibernate shortcut: Right-click desktop > New > Shortcut, enter %windir%\System32\shutdown.exe /h, name it Hibernate, and place it wherever convenient for one-click access.
  • Check for hybrid sleep conflicts: Hybrid sleep (enabled by default on desktops) combines sleep and hibernation. Disable it in Change advanced power settings > Sleep > Allow hybrid sleep if hibernation behaves inconsistently.
  • Use on laptops only when unplugged: Configure hibernation to trigger automatically when battery is critically low by going to Change advanced power settings > Battery > Low battery action and selecting Hibernate.

Troubleshooting

If hibernation still doesn’t appear or work after following the steps:

  1. Restart your PC: A reboot ensures all power configuration changes take effect.
  2. Run the Power Troubleshooter: Go to Settings > System > Troubleshoot > Other troubleshooters > Power > Run the troubleshooter.
  3. Check driver compatibility: Outdated or incompatible drivers (especially for GPU or chipset) can block hibernation. Update drivers via Device Manager or your PC manufacturer’s support site.
  4. Disable Fast Startup temporarily: In Choose what power buttons do, uncheck Turn on fast startup, save changes, then re-enable hibernation using powercfg /hibernate on and re-check Hibernate.
  5. Verify hiberfil.sys exists: Open Command Prompt as admin and run dir C:\hiberfil.sys /a. If it’s missing, re-run powercfg /hibernate on. If it exists but is small, increase its size with powercfg /h /size 100.
  6. Check BIOS/UEFI settings: Some systems disable hibernation by default in firmware. Restart, enter BIOS/UEFI (usually by pressing F2, F10, or Del during boot), and look for Sleep State or S3/S4 Support—ensure S4 (hibernation) is enabled.

If none of these work, run sfc /scannow in Command Prompt (as admin) to repair corrupted system files, then retry enabling hibernation.

Frequently Asked Questions

Does hibernation work on all Windows versions?

Yes—Windows 10 and 11 support hibernation by default, but it’s disabled out-of-the-box. Windows 7 and 8 also support it, though the steps to enable differ slightly.

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

Yes. Hibernation works on desktops just as on laptops. It saves state to disk and powers down completely, so no battery is required.

How much disk space does hibernation use?

By default, it uses space equal to ~75% of your installed RAM (e.g., 12 GB RAM ≈ 9 GB for hiberfil.sys). You can reduce this size via the /size parameter, but going below 50% may cause failures if memory usage was high before hibernating.

Does hibernation drain the battery?

No. Once hibernation completes, the system is fully powered off—battery drain is negligible (only trace amounts from components like the clock). Compare this to sleep mode, which continuously draws power to refresh RAM.

Why does my PC wake up immediately after hibernating?

Check for wake timers or devices configured to wake the PC. Open Command Prompt as admin and run powercfg /waketimers to list active wake sources. Disable unnecessary wake capabilities in Device Manager (right-click a device > Properties > Power Management tab > uncheck Allow this device to wake the computer).

Is hibernation safer than shutdown for data?

Hibernation is safe for data as long as you save open files before hibernating—just like shutdown. However, unsaved changes in unsaved documents will be lost, since hibernation preserves the exact system state at the moment it initiates.