How Much Space Can You Save by Disabling Windows Hibernation?
In this article
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
- Check current hibernation settings first. To confirm hibernation is enabled, press
Win + R, typepowercfg /a, and hit Enter. Look forHibernation State—if it shows1, hibernation is enabled. - Method 1: Disable hibernation via Registry. Press
Win + R, typeregedit, and press Enter. Navigate to:HKEY_LOCAL_MACHINE/System/currentControlSet\Control">Right-click theControlfolder, selectNew→Key, and name itPower. In the right pane, double-click thehiberfil.sysDWORD (64-bit) orHiberfilestring (32-bit), set its value to0, and clickOK. Restart your PC. - 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. - Verify the change. After restart, check disk space by right-clicking
This PC→Properties. Look for theFree spacecolumn—if hibernation was enabled, the hibernation file (typically 1–4GB) should now be gone. Scan for leftover files usingattrib -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
- 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). - System fails to boot. If hibernation was critical (e.g., dual-boot systems), revert by setting the value back to
1orOn, then restart. Ensure no other power settings conflict. - 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.
- Registry changes don’t apply. If
regeditfails, 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.