Enabling or adjusting hibernation through the Windows Registry lets you control whether hibernation is available, change its behavior, or troubleshoot related issues. This is useful when the Power Options GUI doesn’t expose hibernation (e.g., on systems where it’s disabled by default or hardware doesn’t support it), or when you want fine-grained control over hibernation settings like hybrid sleep or disk space allocation. You must have administrator rights and proceed carefully—incorrect edits can cause boot or power issues. Always back up the Registry before making changes.

What You'll Need

  • A Windows PC running Windows 10 or 11 (steps verified on both)
  • Administrator privileges on the local machine
  • A backup of the Registry (recommended before editing)
  • Sufficient free space on your system drive (C:), at least equal to your installed RAM size, for the hiberfil.sys file

Step-by-Step

  1. Open the Registry Editor by pressing Windows + R to open the Run dialog, typing regedit, and pressing Enter. If prompted by User Account Control, click Yes to allow the app to make changes.
  2. Navigate to the hibernation key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power. This path is consistent across Windows 10 and 11 and contains the core hibernation settings.
  3. Locate or create the HiberbootEnabled value under the Power key:
    • Right-click in the right pane, choose New > DWORD (32-bit) Value.
    • Name it HiberbootEnabled (case-sensitive).
    • Double-click it and set the value data to 1 to enable fast startup (which uses hibernation), or 0 to disable it. This setting controls whether Windows uses hibernation during shutdown for faster boot.
    • Click OK.
  4. To fully enable or disable hibernation at the system level, go to the Power key and locate or create the HibernateEnabled value:
    • Right-click, choose New > DWORD (32-bit) Value.
    • Name it HibernateEnabled.
    • Double-click it and set the value to 1 to allow hibernation, or 0 to prevent it.
    • Click OK.
  5. Adjust hibernation disk space (optional, for performance tuning):
    • Still under Power, create a new DWORD named HiberFileSizePercent.
    • Double-click it. The default is 50 (meaning hiberfil.sys uses 50% of RAM size). Values range from 1 (minimum ~1% of RAM) to 100 (full RAM size). We recommend 75 for most users—smaller files risk hibernation failure if memory usage is high.
    • Click OK.
  6. Enable hybrid sleep (optional, for desktops):
    • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7648EFA1-96B0-423F-B12F-2E7D8F6E2D0C.
    • If the subkey doesn’t exist, create it manually by right-clicking PowerSettings > New > Key, name it 238C9FA8-0AAD-41ED-83F4-97BE242C8F20, then create a subkey named 7648EFA1-96B0-423F-B12F-2E7D8F6E2D0C.
    • Inside 7648EFA1-96B0-423F-B12F-2E7D8F6E2D0C, create a new DWORD named Attributes and set its value to 2. This makes hybrid sleep visible in Power Options.
    • After that, open Control Panel > Hardware and Sound > Power Options > Change plan settings > Change advanced power settings. Under Sleep, you’ll now see Allow hybrid sleep.
  7. Reboot your PC to apply changes. Without a restart, some settings—especially HiberbootEnabled—won’t take effect.

Common Mistakes

  • Editing the wrong key path—ensure you’re in CurrentControlSet, not ControlSet001 or ControlSet002, as CurrentControlSet is the active one.
  • Using the wrong data type: always use DWORD (32-bit) Value, not QWORD or string values. Hex vs. decimal is usually fine, but stick to decimal for clarity (e.g., 1, not 0x1).
  • Setting HiberFileSizePercent too low (<10%) on systems with high RAM usage; this can cause hibernation to fail with a “not enough disk space” error.
  • Confusing fast startup (hibernation on shutdown) with full hibernation. HiberbootEnabled controls only fast startup; HibernateEnabled controls whether hibernation is available for manual use.
  • Forgetting to reboot after changes, leading to false assumptions that the edit failed.

Tips

  • Before editing, export the Power key: right-click it > Export, save as a .reg file. Double-clicking it later restores the original state instantly.
  • Verify hibernation support first by opening Command Prompt as Administrator and running powercfg /a. If hibernation isn’t listed, hardware or drivers may block it (e.g., modern standby systems often disable traditional hibernation).
  • Use powercfg /h on in an elevated Command Prompt to enable hibernation without touching the Registry—this is safer and auto-configures HiberbootEnabled and HiberFileSizePercent correctly.
  • Laptops: Ensure the power plan isn’t set to prevent hibernation. In Power Options > Change advanced power settings, set _sleep > allow hibernation to Enabled.
  • For systems with SSDs, hibernation is less critical for boot speed—but useful for preserving state during outages. Set HiberFileSizePercent to 100 for maximum reliability.

Troubleshooting

If hibernation still doesn’t appear or work after editing the Registry:

  1. Restart your PC—many power settings require a full reboot to reload drivers and the kernel’s power manager.
  2. Check if hibernation is blocked by hardware: Run powercfg /a in Command Prompt (admin). If only Standby or Hybrid Sleep appear (but not Hibernate), your system may use connected standby (modern standby), which doesn’t support traditional hibernation. This is common on ARM-based devices and many laptops.
  3. Ensure the hiberfil.sys file exists: In an elevated Command Prompt, run dir C:\hiberfil.sys /a. If it’s missing, run powercfg /h on to regenerate it. If it exists but is too small, run powercfg /h /type full to resize it to 100% of RAM.
  4. Verify BIOS/UEFI settings: Some motherboards disable legacy ACPI modes by default. Enter BIOS (usually F2, Del, or F10 at boot) and check for options like C-State, S4/S5, or Modern Standby. Disable Modern Standby if present and enabled.
  5. Update or reinstall drivers: Outdated chipset or power management drivers can prevent hibernation. Use Device Manager > System devices > look for ACPI-compliant controllers, right-click > Update driver.
  6. Restore Registry changes: If all else fails, double-click your exported .reg backup file to revert. Then try powercfg /h on instead of manual edits.

Frequently Asked Questions

Does editing the Registry to enable hibernation void my warranty?

No. Registry edits don’t affect hardware warranties. However, if a manufacturer’s support policy forbids OS modifications, they may decline service—but this is rare for standard Windows settings.

Can I use hibernation on a PC with BitLocker enabled?

Yes, but you may need to enter a recovery key after hibernation if the system detects changes (e.g., after BIOS updates). Ensure Allow system to go to hibernation is enabled in BitLocker settings (Control Panel > BitLocker Drive Encryption > Change how drives are unlocked).

Why does hibernation fail with “The system has not been hibernated”?

Common causes: insufficient disk space on the system drive (check free space ≥ RAM size), hiberfil.sys corruption, or hybrid sleep interference. Run powercfg /h /type full to rebuild hiberfil.sys, then disable hybrid sleep in Power Options.

Does hibernation use less battery than sleep?

Yes. Sleep keeps RAM powered (draining ~1–2% per hour), while hibernation saves RAM to disk and powers down completely (near-zero drain). Hibernation is ideal for long idle periods (>2 hours).

Can I disable hibernation to free up disk space?

Yes. Run powercfg /h off in an elevated Command Prompt. This deletes hiberfil.sys and saves space equal to your RAM size (e.g., 16 GB RAM = ~16 GB freed). Note: you lose hibernation and fast startup.

Is it safe to manually delete hiberfil.sys instead of using powercfg?

No. Deleting it directly corrupts the boot configuration. Always use powercfg /h off—it safely removes the file and updates system flags. Manually deleting it may cause boot errors.