Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Turn Off Hibernate in Windows 11

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Turning off hibernate in Windows 11 frees up disk space and prevents the system from writing large hibernation files to your drive. This guide shows you how to disable hibernate completely and remove the hiberfil.sys file, which can reclaim several gigabytes on smaller SSDs. You'll need administrator access to your PC.

What You'll Need

  • A Windows 11 PC with administrator privileges
  • Knowledge of how to open an elevated Command Prompt or PowerShell

Step-by-Step

  1. Close all open applications and save your work. Disabling hibernate will not restart your PC, but it's good practice to avoid any data loss.
  2. Open Command Prompt or PowerShell as Administrator. Click the Start button, type cmd (or powershell), right-click the result, and select Run as administrator. Confirm any User Account Control prompt.
  3. Run the command to disable hibernate. In the elevated window, type the following command and press Enter:
    powercfg /h off
  4. Wait for the command to complete. You'll see no confirmation message if successful. The command returns to the prompt silently.
  5. Verify hibernate is disabled. Type powercfg /a and press Enter. The output will list available sleep states. If hibernate is disabled, it will show as "Hibernate... Not available" or simply not appear in the list.
  6. Check that the hibernation file is removed. Open File Explorer, navigate to C:\, and look for hiberfil.sys. It's a hidden system file, so you may need to enable viewing hidden files: in File Explorer, click View → Show → Hidden items. If the file is absent, removal was successful.
  7. Restart your PC (optional). A restart isn't strictly required, but it ensures all services and settings are fully refreshed.

Common Mistakes

  • Running the command without administrator rights. If you open a normal Command Prompt, you'll get an error like "The parameter is incorrect" or "Access denied." Always use "Run as administrator."
  • Expecting a confirmation message. The command is silent when successful. Many users think it failed because nothing appears. Check with powercfg /a to confirm.
  • Disabling hibernate while Fast Startup is still enabled. Fast Startup relies on hibernation. Disabling hibernate automatically disables Fast Startup, but if you later re-enable hibernate, Fast Startup may turn back on. This isn't a mistake per se, but be aware that your PC will take longer to boot.
  • Deleting hiberfil.sys manually. You cannot delete the file by right-clicking and selecting Delete; it's protected by the system. Only the powercfg /h off command removes it safely.

Tips

  • Re-enable hibernate anytime. To turn it back on, run powercfg /h on as administrator. This recreates the hibernation file automatically.
  • Use Fast Startup without hibernate? Not possible. Fast Startup requires hibernation. If you want faster boot times, consider leaving hibernate enabled but reducing the hibernation file size with powercfg /h /type reduced (this allows Fast Startup but disables full hibernation).
  • Check disk space before and after. Note your free space before disabling, then after, to see exactly how much you reclaimed. The hibernation file is typically 40% to 75% of your RAM size.
  • Alternative: Use Sleep instead. If you disable hibernate, you'll still have Sleep mode, which uses a small amount of power and wakes quickly. It's a good substitute for most users.

Troubleshooting

Command not recognized or error "The parameter is incorrect." This usually means you're not running as administrator. Ensure you right-clicked the Command Prompt or PowerShell icon and selected "Run as administrator."

Hibernate still appears in the Power menu after disabling. Check if Fast Startup is still enabled. Go to Control Panel → Power Options → Choose what the power buttons do → Change settings that are currently unavailable. Uncheck "Turn on fast startup" and save changes. Then repeat the powercfg /h off command.

hiberfil.sys still exists after the command. Sometimes the file remains if the system hasn't fully released it. Restart your PC and check again. If it's still there, run powercfg /h off again after restart.

You can't find hiberfil.sys even though hibernate is enabled. It's a hidden system file. In File Explorer, go to View → Show → Hidden items. Also, ensure "Hide protected operating system files" is unchecked in Folder Options.

After disabling, your PC won't sleep properly. This is rare but can happen if drivers are outdated. Update your chipset and GPU drivers, then test sleep again. If the issue persists, you can re-enable hibernate.

Frequently Asked Questions

Will disabling hibernate delete my files?

No. Hibernate only saves the system state to disk. Disabling it removes the hibernation file but does not affect your personal files, documents, or installed programs.

How much disk space will I free up?

Typically, the hibernation file (hiberfil.sys) is about 40% to 75% of your RAM size. For example, if you have 16 GB of RAM, you might free up 6 to 12 GB. The exact size varies based on system configuration.

Can I still use Sleep mode after disabling hibernate?

Yes. Sleep mode is independent of hibernate. Your PC will still be able to enter Sleep, which uses minimal power and wakes quickly.

Does disabling hibernate affect Fast Startup?

Yes. Fast Startup relies on hibernation. When you disable hibernate, Fast Startup is automatically disabled. This means your PC will take a bit longer to boot from a shutdown.

How do I re-enable hibernate later?

Open Command Prompt or PowerShell as administrator and run powercfg /h on. This will recreate the hibernation file and re-enable hibernate.

Is it safe to delete hiberfil.sys manually?

No. The file is protected by the system, and trying to delete it manually will result in an error. Always use the powercfg /h off command, which removes it safely.