How to Disable Hibernation in Windows 11 to Save Disk Space
Disabling hibernation in Windows 11 can quickly free up several gigabytes of disk space by removing the hibernation file your system uses to save its state. Hibernation keeps your session saved to disk so you can resume where you left off, but if you don’t use this feature or want to avoid related issues, turning it off is simple and effective. This article explains what hibernation does, how to disable it safely, and what effects this change has on your PC.
What happens when you disable hibernation in Windows 11?
Hibernate writes a restorable session state to hiberfil.sys on the system drive and powers the PC down. Its allocated size is not generally equal to installed RAM: Windows supports full and reduced hibernation-file types with different capabilities and sizes. A reduced file supports Fast Startup, while a full file is needed for session hibernation and hybrid sleep.
You might choose to disable hibernation to reclaim this disk space or fix problems like your PC failing to resume properly from hibernation. Disabling it deletes the hibernation file, freeing up that space. However, you lose the ability to hibernate your PC, and features like Fast Startup, which rely on hibernation, will stop working. It’s a balance between saving disk space and keeping these conveniences.
How do I turn off hibernation safely on my Windows 11 PC?
You need administrator rights to disable hibernation because it changes system settings and deletes protected files. Follow these steps:
1. Click the Start menu, type “cmd.” 2. Right-click Command Prompt and select “Run as administrator.” 3. In the Command Prompt window, type: powercfg /hibernate off and press Enter.
This command turns off hibernation and removes the hiberfil.sys file. You won’t see a confirmation message, but the prompt will return to the input line.
To turn hibernation back on, run: powercfg /hibernate on
These commands change power-feature availability; they are not a promise of risk-free behavior. Save work first and consider how the PC handles sleep, low battery and power loss. Do not manually delete hiberfil.sys or change its permissions.
Will disabling hibernation affect other Windows features?
Yes, disabling hibernation also turns off Fast Startup, a feature that speeds up boot times by using a form of hibernation when you shut down your PC. Without hibernation enabled, Fast Startup won’t work, which means your PC may take longer to boot.
Ordinary supported standby may remain available, but disabling hibernation removes the disk-backed protection used by hybrid sleep and any transition from sleep to hibernate. A sleeping session held only in RAM can be lost if power runs out. Available sleep modes differ by device; use powercfg /a to inspect them.
If you prioritize faster boot times, disabling hibernation might be inconvenient. But if reclaiming disk space or avoiding hibernation issues is more important, this trade-off is usually worth it.
How can I check that hibernation is truly disabled and free up disk space?
To confirm hibernation is off and the disk space is freed:
Run powercfg /a in Terminal or Command Prompt to see available sleep states and reasons for unavailability. After powercfg /hibernate off succeeds, Hibernate should be unavailable and Windows removes the hibernation file. You can compare system-drive free space before and after. There is normally no need to expose protected operating-system files in Explorer merely to verify this change.
The reclaimed space is the actual allocated hibernation-file space, not a fixed amount equal to RAM. File type, Windows configuration and custom sizing affect it, so a PC with 8GB RAM does not necessarily recover 8GB.
Check whether the command returned an error and whether it ran in an elevated session. Use powercfg /a and actual drive-space readings to investigate. Do not take ownership of or delete the protected file manually; determine whether Windows or management policy has re-enabled the feature.
What should I watch out for and how can I re-enable hibernation if needed?
Disabling hibernation means losing Fast Startup, which helps your PC boot faster. If you rely on quick startups, hibernation sessions, or if your laptop uses hibernation to save battery during long inactivity, turning it off might cause inconvenience.
If you want hibernation back, open Command Prompt as an administrator and run:
powercfg /hibernate on
Powercfg /hibernate on re-enables hibernation support on capable hardware. If a reduced file prevents full session hibernation, powercfg /hibernate /type full selects the full type. Check powercfg /a afterward. Fast Startup and the visible Hibernate menu option have their own settings, so enabling support does not guarantee that each is automatically selected.
Consider your needs carefully. If disk space is limited and you rarely use hibernation, disabling it makes sense. Otherwise, keeping it enabled maintains convenience and power savings.
Conclusion
Use powercfg /hibernate off from an elevated session only after weighing the storage benefit against loss of Hibernate, Fast Startup and hybrid-sleep protection. Save important work and check available power states with powercfg /a. Re-enable support with powercfg /hibernate on if needed, then verify the desired features and settings rather than assuming every sleep behavior is unchanged.
Frequently Asked Questions
Can I disable hibernation without administrator rights?
No. Disabling hibernation requires administrator privileges because it changes system power settings and deletes protected files. You must run Command Prompt as an administrator to make this change.
Does disabling hibernation affect sleep mode?
Supported ordinary standby can still work, but hybrid sleep and sleep-to-hibernate behavior depend on hibernation support. Without a disk-backed session, power loss or an exhausted battery can lose unsaved work held in RAM. Use powercfg /a to check your PC's actual available states.
Will disabling hibernation improve my PC’s performance?
Disabling hibernation doesn’t improve performance directly but frees up disk space and can fix some power-related issues. However, startup times may increase since Fast Startup is disabled.
How much disk space does hibernation use?
It varies with file type and configuration. Microsoft's documented defaults are 40% of physical memory for a full hibernation file and 20% for a reduced file, although custom sizing and system conditions can differ. Measure the actual file/drive allocation instead of assuming hiberfil.sys equals RAM capacity.
Is it safe to disable hibernation on a laptop?
It is a supported setting change, but removing hibernation can remove a laptop's ability to preserve its session when the battery becomes critically low or during long sleep. Save work, review low-battery/power actions and keep reliable power available. Keep hibernation if its recovery behavior matters more than the storage saved.