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
- 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. - 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. - Locate or create the HiberbootEnabled value under the
Powerkey:- 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
1to enable fast startup (which uses hibernation), or0to disable it. This setting controls whether Windows uses hibernation during shutdown for faster boot. - Click OK.
- To fully enable or disable hibernation at the system level, go to the
Powerkey 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
1to allow hibernation, or0to prevent it. - Click OK.
- Adjust hibernation disk space (optional, for performance tuning):
- Still under
Power, create a new DWORD namedHiberFileSizePercent. - Double-click it. The default is
50(meaning hiberfil.sys uses 50% of RAM size). Values range from1(minimum ~1% of RAM) to100(full RAM size). We recommend75for most users—smaller files risk hibernation failure if memory usage is high. - Click OK.
- Still under
- 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 it238C9FA8-0AAD-41ED-83F4-97BE242C8F20, then create a subkey named7648EFA1-96B0-423F-B12F-2E7D8F6E2D0C. - Inside
7648EFA1-96B0-423F-B12F-2E7D8F6E2D0C, create a new DWORD namedAttributesand set its value to2. 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.
- Navigate to
- 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, notControlSet001orControlSet002, asCurrentControlSetis 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, not0x1). - Setting
HiberFileSizePercenttoo 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.
HiberbootEnabledcontrols only fast startup;HibernateEnabledcontrols 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
Powerkey: right-click it > Export, save as a.regfile. 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 onin an elevated Command Prompt to enable hibernation without touching the Registry—this is safer and auto-configuresHiberbootEnabledandHiberFileSizePercentcorrectly. - 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
HiberFileSizePercentto100for maximum reliability.
Troubleshooting
If hibernation still doesn’t appear or work after editing the Registry:
- Restart your PC—many power settings require a full reboot to reload drivers and the kernel’s power manager.
- Check if hibernation is blocked by hardware: Run
powercfg /ain 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. - Ensure the hiberfil.sys file exists: In an elevated Command Prompt, run
dir C:\hiberfil.sys /a. If it’s missing, runpowercfg /h onto regenerate it. If it exists but is too small, runpowercfg /h /type fullto resize it to 100% of RAM. - 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.
- 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.
- Restore Registry changes: If all else fails, double-click your exported
.regbackup file to revert. Then trypowercfg /h oninstead 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.