How to Disable Hibernate on Windows 11 to Free Up Disk Space

Share
A Windows 11 laptop displaying the Command Prompt window open on the desktop.

Disabling hibernate mode in Windows 11 can free up significant disk space and alter your power management options. Hibernate saves your system state to a file named hiberfil.sys, which can take up several gigabytes depending on your RAM. Turning off hibernate removes this file and prevents your PC from entering hibernation, which changes how your device handles power but frees storage immediately.

What is Hibernate Mode and Why Disable It

Hibernate mode lets Windows 11 save the contents of your RAM to a hidden file called hiberfil.sys on your hard drive. This allows your PC to power off completely while preserving your open apps and documents. When you turn your PC back on, it restores everything as it was, which can speed up startup compared to a full reboot. You might want to disable hibernate to reclaim disk space since the hiberfil.sys file can be several gigabytes, especially if you have a lot of RAM. Disabling hibernate also stops Fast Startup, which uses hibernation technology to reduce boot times. Additionally, turning off hibernate can help resolve some power-related issues or simplify your shutdown options.

How to Check if Hibernate is Enabled on Your PC

To check if hibernate is enabled, look for the hiberfil.sys file in the root of your system drive (usually C:). This file is hidden by default, so you need to enable viewing hidden and protected system files in File Explorer's settings. Alternatively, open Command Prompt with administrator rights and run the command:

powercfg /a

This lists the sleep states available on the system and those that are not available, with reasons. Hibernate only counts as enabled if it appears in the available section; if it appears in the “not available” section, it is disabled.

Step-by-Step Guide to Disable Hibernate Using Command Prompt

Disabling hibernate deletes the hiberfil.sys file and disables both hibernate and Fast Startup until you re-enable it.

  1. Open the Start menu, type "cmd", right-click on Command Prompt, and select "Run as administrator".
  2. In the Command Prompt window, type the following command and press Enter:
powercfg /hibernate off
  1. The hibernate feature is disabled immediately, and Windows removes the hiberfil.sys file from your system drive.
Windows 11 laptop screen showing Command Prompt running as administrator for disabling hibernate.

What Happens When You Disable Hibernate

Disabling hibernate deletes the hiberfil.sys file, freeing up disk space equal to its size, which depends on your RAM. However, this also disables Fast Startup, a feature that uses hibernation to speed up boot times after shutdown. Without hibernate, you can’t save your session to disk and power off completely with the option to resume exactly where you left off. Your PC will only support Sleep and Shutdown modes.

How to Confirm Hibernate Has Been Disabled

To confirm hibernate is off, check that the hiberfil.sys file is gone from your system drive. You might need to refresh File Explorer or restart your PC to see the change. Also, open Command Prompt as administrator and run:

powercfg /a

Hibernate should no longer appear in the list of available sleep states. Finally, in Power Options (via Control Panel or Settings), the option to enable or configure hibernate will be missing or grayed out.

Cautions and Things to Consider Before Disabling Hibernate

Disabling hibernate means you lose the option to save your session to disk and fully power off while preserving open apps and files. If you use hibernate to extend battery life during long periods without using your PC, turning it off could be inconvenient. Also, since Fast Startup depends on hibernate, your PC might boot slower after disabling it. For users running dual-boot systems, the opposite applies: hibernation / Fast Startup leaves the Windows NTFS volume in a hibernated state, and mounting or writing it from another OS can cause file system corruption, so dual-boot guidance is usually to disable Fast Startup/hibernation. Consider these trade-offs before disabling hibernate, especially if freeing disk space isn’t urgent.

Conclusion

Disabling hibernate in Windows 11 is an effective way to free up disk space and adjust power management. After running a simple command, you'll reclaim storage used by the hibernation file. Keep in mind that this removes hibernate and Fast Startup features, which may affect your startup speed and shutdown options. If you need hibernate again, you can re-enable it by running the appropriate command in Command Prompt.

Frequently Asked Questions

Can I re-enable hibernate after disabling it?

Yes. To re-enable hibernate, open Command Prompt as administrator and run the command `powercfg /hibernate on`. This restores the hiberfil.sys file and brings back hibernate and Fast Startup features.

Does disabling hibernate affect my sleep mode?

No. Sleep mode remains available and operates independently of hibernate. Disabling hibernate only removes the ability to save your session to disk for complete power off and resume later.

Read more