Disabling hibernation on Windows 10 or 11 turns off the hibernation power-saving feature, which prevents the system from saving your current session to disk and powering down completely. This is often done to free up disk space (since hibernation reserves space equal to RAM size), resolve sleep/hibernation issues, or prepare for system maintenance. You’ll need administrator rights and about five minutes. No extra tools are required.

What You'll Need

  • A Windows 10 or 11 PC with administrator access
  • Time: approximately 3–5 minutes
  • Optional: A backup of important work (recommended before major power state changes)

Step-by-Step

  1. Open Command Prompt as Administrator. Press Windows + S, type cmd, right-click Command Prompt (or Windows Terminal if you use it), and choose Run as administrator. If prompted by User Account Control, click Yes.
  2. At the command prompt, type the following command and press Enter: powercfg -h off This disables hibernation and deletes the hiberfil.sys file (the hidden system file that stores the hibernation state).
  3. Wait 5–10 seconds for the command to complete. You’ll return to the C:\Users\[YourName] prompt with no error message if successful.
  4. Verify hibernation is disabled. Type powercfg /a and press Enter. In the output, confirm Hibernate is not listed under The following sleep states are available on this system. If hibernation is disabled, the available states will show Standby and possibly Hybrid Sleep, but not Hibernate.
  5. Confirm disk space was reclaimed. Open File Explorer, right-click your system drive (usually C:), select Properties, and check the Used space value. It should be lower than before (by roughly the size of your installed RAM). For example, if you have 16 GB of RAM, you’ll see ~16 GB freed after hibernation is disabled.

Common Mistakes

  • Skipping administrator mode: Running powercfg -h off in a regular Command Prompt window will return Error: Access is denied. Always launch it as Administrator.
  • Typing the command incorrectly: Use a hyphen (not an en dash), and ensure there’s a space before off. Correct: powercfg -h off. Incorrect: powercfg -h off with extra spaces or powercfg -h=off.
  • Confusing hibernation with sleep: Disabling hibernation does not affect Sleep mode. Your PC can still enter Sleep (low power, RAM powered), but it will not enter Hibernate (fully powered down, RAM state saved to disk).
  • Not checking the result: Assuming success without running powercfg /a can lead to false confidence. Always verify the output.
  • Using Power Settings UI alone: In Windows Settings > System > Power & sleep > Additional power settings > Choose what the power buttons do, unchecking Turn on fast startup does not disable hibernation. Fast Startup is a hybrid feature built on hibernation, but disabling it alone leaves hibernation enabled.

Tips

  • If you plan to re-enable hibernation later, run powercfg -h on as Administrator. This recreates hiberfil.sys.
  • Before disabling hibernation, save all open work and close critical applications. Though this change is safe, some older drivers or software may behave unexpectedly during the next boot.
  • On laptops, ensure the battery is at least 50% charged before disabling hibernation. If the battery dies unexpectedly afterward, you’ll lose unsaved work because Sleep remains available, but Hibernate (a fallback) is gone.
  • For systems with BitLocker enabled, disabling hibernation won’t trigger a recovery prompt, but if you later re-enable it, you may need your recovery key if the hibernation file changes significantly.
  • Hybrid Sleep (which combines Sleep and Hibernate) is disabled automatically when hibernation is turned off, so you don’t need to adjust it separately.
  • On systems with SSDs, the performance benefit of hibernation is minimal—disabling it is more about freeing disk space than speed.

Troubleshooting

If hibernation remains enabled or the command fails, try these steps in order:

  1. Restart your PC. Some power state changes require a reboot to fully apply. After running powercfg -h off, restart and verify again with powercfg /a.
  2. Check for pending updates. Windows updates can reset power settings. Go to Settings > Windows Update > Check for updates, install any available updates, and restart.
  3. Run the Power Troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters > Power > Run the troubleshooter. Let it apply any recommended fixes.
  4. Re-run the command with elevated privileges. Double-check you launched Command Prompt as Administrator. To be sure, right-click the Start button, select Windows Terminal (Admin) or Command Prompt (Admin), then re-enter powercfg -h off.
  5. Check Group Policy or registry overrides (advanced users only). Corporate or managed devices may have hibernation enforced by Group Policy. Type gpedit.msc (if available), navigate to Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings, and verify Allow hibernation is Not Configured or Disabled. If not, change it to Disabled and run gpupdate /force.
  6. Manually delete hiberfil.sys (last resort). If the file persists after -h off, open an Administrator Command Prompt and run del /f /q C:\hiberfil.sys. Then reboot. Only do this if you’re certain hibernation is disabled—deleting the file manually without disabling hibernation first may cause errors on next hibernation attempt.

If none of these work, your system may be managed by an organization (e.g., school or workplace), and only an IT administrator can override hibernation policies.

Frequently Asked Questions

Does disabling hibernation affect my battery life?

No. Hibernation is a power state you choose to enter manually or via schedule. Disabling it doesn’t change how quickly your battery drains during normal use or Sleep mode.

Can I still use the Sleep button after disabling hibernation?

Yes. Sleep (S3) remains available unless disabled separately in Power Options. Hibernation and Sleep are independent settings.

Will disabling hibernation speed up my startup time?

Not directly. However, if you previously used Fast Startup (which relies on hibernation), disabling hibernation also disables Fast Startup. Your first boot after a full shutdown may take slightly longer, but subsequent boots from Sleep will be unchanged.

How much disk space do I get back?

Exactly the size of your installed RAM. For example, 8 GB RAM = ~8 GB freed; 32 GB RAM = ~32 GB. The hiberfil.sys file is roughly equal to your RAM capacity (not your total disk usage).

Is it safe to disable hibernation on a laptop?

Yes, if you keep your laptop plugged in or charge it before leaving it idle. The risk is only if the battery dies while in Sleep mode—since Hibernate (a safer fallback) is now disabled, unsaved work may be lost. For laptops, consider keeping hibernation if you often use it on battery.

Can I re-enable hibernation later?

Yes. Open Command Prompt as Administrator and run powercfg -h on. This recreates hiberfil.sys automatically. You can also adjust hibernation via Power Options > Choose what power buttons do > Change settings that are currently unavailable > Enable Hibernate.