The Wild

How Much Space Can You Save by Disabling Windows Hibernation?

· 4 min read · Mammals

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Hibernation on Windows consumes dozens of gigabytes of storage—your hard drive fills up with a massive hibernation file every time you suspend your system. Disabling it permanently frees that space immediately and eliminates the risk of corruption or unexpected file loss. No extra tools or settings changes are needed beyond a quick registry tweak (or a simple power plan adjustment). This guide explains exactly how to do it safely, step by step, along with troubleshooting if it doesn’t work as expected.

What You'll Need

  • A Windows computer (Windows 10/11 only; hibernation behavior differs in older versions)
  • Administrator access to your PC
  • Basic familiarity with the Registry Editor (or a third-party tool like WinPE or Sysinternals psHIBERATE)

Step-by-Step

  1. Check current hibernation settings first. To confirm hibernation is enabled, press Win + R, type powercfg /a, and hit Enter. Look for Hibernation State—if it shows 1, hibernation is enabled.
  2. Method 1: Disable hibernation via Registry. Press Win + R, type regedit, and press Enter. Navigate to:HKEY_LOCAL_MACHINE/System/currentControlSet\Control">Right-click the Control folder, select New → Key, and name it Power. In the right pane, double-click the hiberfil.sys DWORD (64-bit) or Hiberfile string (32-bit), set its value to 0, and click OK. Restart your PC.
  3. Method 2: Use a shortcut via PowerShell. Open PowerShell as Administrator and run:Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control' -Name 'Hiberfile' -Value 0. Restart afterward.
  4. Verify the change. After restart, check disk space by right-clicking This PC → Properties. Look for the Free space column—if hibernation was enabled, the hibernation file (typically 1–4GB) should now be gone. Scan for leftover files using attrib -h -s *.* in Command Prompt if needed.

Common Mistakes

Most users accidentally leave hibernation enabled after moving the hibernation file to a separate drive or mistakenly enable it again via the GUI. If you’re unsure, always verify settings after editing. For example, the Hiberfile entry might exist but be set to 1 instead of 0—double-check each value.

Tips

• If your system has a small SSD, hibernation becomes the primary cause of wear—disabling it is strongly recommended. Use powercfg /h off to disable hibernation entirely (but keep it enabled if you need suspend-to-RAM mode).

• On Windows 10/11, some OEMs lock the Registry key; if you get an error, use third-party tools like psHIBERATE from Microsoft’s Sysinternals suite.

• Check for multiple hibernation files if your drive has multiple partitions or drives with different file systems.

Troubleshooting

  1. Hibernation file remains. Run diskpart, list all drives, and check if the hibernation file exists on a secondary drive. Delete it manually if needed (backup first).
  2. System fails to boot. If hibernation was critical (e.g., dual-boot systems), revert by setting the value back to 1 or On, then restart. Ensure no other power settings conflict.
  3. Slow startup. If your PC is slow after disabling hibernation, check Task Manager for high disk activity—this may indicate other processes using drive space or a failing disk.
  4. Registry changes don’t apply. If regedit fails, try the PowerShell method or a third-party tool. Some systems block Registry access; rebooting in Safe Mode may help.

Frequently Asked Questions

Why does Windows keep creating a hibernation file?

The hibernation file is created by default to save your open files and state when suspending the system. Disabling it saves storage space, but you lose fast suspend functionality (unless you use SSD-only hibernation).

How do I know if hibernation is really disabled?

After restarting, check your drive’s free space. If no hiberfil.sys file appears under C:\\|D:\\|E:\\| etc., it’s disabled. Use attrib -h -s *.* in Command Prompt to scan for hidden hibernation files.

Will this affect my system performance?

Disabling hibernation removes the overhead of writing a massive file on shutdown, which can improve startup times on HDDs. On SSDs, it reduces write cycles, extending drive life.

What if I need to use hibernation again later?

Re-enable it by setting the value back to 1 or On in the Registry/PowerShell, then restart. If you’re unsure, check powercfg /a to confirm it’s back.

Will this work on all Windows versions?

Hibernation behavior differs slightly—this guide only covers Windows 10/11. In older versions (e.g., Windows 7), Registry tweaks may require a different path or method.

Is there a risk of data corruption if I disable hibernation?

No risk of corruption—this is purely a storage management choice. If you later re-enable hibernation, your system will resume from the saved state.