How to Disable Hibernate in Windows 10
In this article
To disable hibernation in Windows 10, the fastest method is to run the Command Prompt as an administrator and enter the command powercfg.exe /hibernate off. This action removes the hiberfil.sys file from your hard drive, instantly freeing up several gigabytes of disk space and removing the Hibernate option from your power menu. Hibernation saves your current session to the hard drive and shuts down the PC completely, which is useful for laptops but often unnecessary for desktop users who prefer Sleep or Shutdown.
What You'll Need
- A computer running Windows 10.
- Administrative privileges (you must be logged in as an administrator to run system-level commands).
Step-by-Step
- Click the Start button or click into the search bar on the taskbar.
- Type
cmdinto the search box. - In the search results, right-click on Command Prompt and select Run as administrator. If a User Account Control (UAC) prompt appears asking for permission, 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 Command Prompt will not provide a success message; it will simply return to a new blank line. 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. - To verify it is gone, click Start > Power. The Hibernate option should no longer appear in the list.
Common Mistakes
- Running without Admin rights: The most common error is opening the Command Prompt normally instead of using "Run as administrator." If you do this, the system will return an "Access Denied" error or a message stating you do not have the required privileges.
- Typing errors: Ensure there is a space between
powercfg.exeand/hibernate. A missing space will result in an "unrecognized command" error. - Confusing Sleep and Hibernate: Some users disable hibernation thinking it will stop the computer from sleeping. These are different functions; Sleep keeps data in RAM (faster wake), while Hibernate saves it to the disk (slower wake, but uses no power).
Tips
- Disk Space Recovery: If you are low on storage, especially on a small SSD, disabling hibernation is one of the quickest ways to reclaim space because the
hiberfil.sysfile is typically roughly the size of your installed RAM. - Fast Startup: Be aware that disabling hibernation also disables "Fast Startup." Fast Startup uses a partial hibernation file to make the boot process faster. If you find your PC takes significantly longer to boot after this change, you may want to re-enable hibernation.
- Re-enabling: If you ever need the feature back, simply repeat the steps above but use the command
powercfg.exe /hibernate on.
Troubleshooting
If the Hibernate option is still appearing or the command did not work, try these steps in order:
- Restart your computer: Sometimes the power menu does not refresh immediately. A full reboot will force the system to recognize the change.
- Check for Third-Party Power Managers: Some laptop manufacturers include proprietary power management software that may override Windows settings. Check your system tray for manufacturer-specific power tools.
- Verify Admin Status: Ensure your user account is actually an Administrator. Go to Settings > Accounts > Your info to check your account type.
Frequently Asked Questions
Will disabling hibernate delete my files?
No. Disabling hibernation only deletes the hiberfil.sys system file, which stores the state of your open apps during hibernation. It does not affect your personal documents, photos, or installed programs.
Is it safe to disable hibernate on a laptop?
Yes, it is safe. However, if your battery dies while the laptop is in "Sleep" mode (instead of Hibernate), you may lose unsaved work because Sleep requires a small amount of power to maintain the RAM.
Why is the Hibernate option missing from my power menu by default?
Some PC manufacturers or system administrators disable hibernation by default to save disk space or to ensure the system performs a clean boot every time it is turned on.
Does this stop the computer from going to sleep?
No. Sleep and Hibernate are separate settings. To stop your computer from sleeping, you must go to Settings > System > Power & sleep and adjust the timers.
Can I disable hibernate without using the Command Prompt?
Yes, you can go to Control Panel > Hardware and Sound > Power Options > Choose what the power buttons do. Click "Change settings that are currently unavailable," uncheck "Hibernate," and save changes. However, this only hides the option from the menu; it may not always delete the hibernation file from the disk.