How to Turn Off Hibernation in Windows 10
In this article
To turn off hibernation in Windows 10, you must use the Command Prompt with administrative privileges and run the command powercfg.exe /hibernate off. This process disables the hibernation feature and deletes the hiberfil.sys file from your system drive, which can reclaim several gigabytes of disk space and prevent the computer from entering a deep sleep state that some users find disruptive.
Hibernation differs from Sleep mode. While Sleep keeps your open programs in RAM (which requires a small amount of power), Hibernation saves your open programs to the hard drive and shuts the power off completely. Turning this off is particularly useful for users with limited SSD space or those who prefer a clean boot every time they start their PC. Note that labels and menu options may differ slightly depending on your specific version of Windows 10 or system region.
What You'll Need
- A computer running Windows 10.
- An account with Administrator privileges.
Step-by-Step
- Click the Start button or press the Windows key on your keyboard.
- Type
cmdinto the search bar. - In the search results, right-click on Command Prompt and select Run as administrator. This is a critical step; the command will not work if the prompt is opened as a standard user.
- A User Account Control (UAC) prompt will appear asking if you want to allow this app to make changes to your device. Click Yes.
- In the black Command Prompt window, type the following command exactly as shown:
powercfg.exe /hibernate off - Press the Enter key on your keyboard.
- The cursor will move to a new line without a confirmation message. This indicates the command was executed successfully.
- Close the Command Prompt window by clicking the X in the top-right corner or typing
exitand pressing Enter.
Common Mistakes
- Forgetting Administrator Rights: The most common error is opening the Command Prompt normally. If you do not run it as an administrator, you will receive an "Access Denied" or "You do not have permission" error message.
- Typing Errors: Ensure there is a space between
powercfg.exeand/hibernate. A missing space will cause the system to report that the command is not recognized. - Confusing Sleep with Hibernation: Some users try to disable hibernation through the standard Power & Sleep settings menu. While you can change when the computer sleeps there, the actual hibernation feature and its associated system file can only be fully disabled via the Command Prompt or the Advanced Power Options.
Tips
- Check Your Disk Space: After running the command, check your C: drive properties. You should notice an immediate increase in available storage space because the
hiberfil.sysfile has been removed. - Fast Startup: Be aware that disabling hibernation also disables "Fast Startup" in Windows 10. Fast Startup uses a partial hibernation file to make the boot process faster. If you notice your PC takes significantly longer to start after this change, you may want to re-enable hibernation.
- Re-enabling the Feature: If you decide you need hibernation back, follow the same steps but use the command
powercfg.exe /hibernate oninstead.
Troubleshooting
If the command did not work or hibernation is still appearing in your power menu, try these steps in order:
- Restart Your PC: Sometimes the system needs a full reboot to refresh the power menu options and fully release the disk space.
- Verify Admin Status: Ensure the window title of the Command Prompt explicitly says "Administrator: Command Prompt". If it only says "Command Prompt", you are not in admin mode.
- Check Group Policy: On some corporate or managed laptops, hibernation may be controlled by a system administrator via Group Policy. If the command runs but the setting reverts after a restart, your organization may be forcing the setting.
- Update Windows: Ensure your system is up to date via Settings > Update & Security > Windows Update to rule out system bugs.
Frequently Asked Questions
Will turning off hibernation delete my files?
No. Disabling hibernation only deletes the hiberfil.sys file, which is a system-generated file used to store the state of your RAM. It does not affect your personal documents, photos, or installed applications.
What is the difference between Sleep and Hibernation?
Sleep puts your PC in a low-power state, keeping your work in RAM for a near-instant wake-up. Hibernation saves your work to the hard drive and turns off the power completely, meaning it takes longer to wake up but uses no battery.
Why is the Hibernate option still in my Start menu?
If the option remains after running the command, restart your computer. If it still persists, ensure you ran the Command Prompt as an administrator; otherwise, the change was not applied.
Does disabling hibernation improve PC performance?
It does not increase processing speed or FPS in games, but it can improve performance for users with very small SSDs by freeing up several gigabytes of space, preventing the drive from becoming critically full.
Can I disable hibernation on a laptop?
Yes, you can disable it on both desktops and laptops. However, be cautious on laptops; if your battery dies while in Sleep mode, you will lose unsaved work. Hibernation prevents this by saving the state to the disk.