Yes, you can change the default hibernate settings in Windows, but the exact steps depend on whether you want to adjust the timeout, enable or disable hibernation entirely, or change how the power button behaves. The most common changes are made through the Power Options control panel and the Command Prompt. This guide covers the standard methods for Windows 10 and Windows 11, and notes where the labels might differ slightly by version or device.
What You'll Need
- A Windows PC (desktop or laptop) with hibernation enabled in the BIOS/UEFI (most modern PCs have it enabled by default).
- Administrator access to the PC to change system settings.
- For some steps, you'll need to open Command Prompt or PowerShell as an administrator.
Step-by-Step
1. Check if Hibernation is Currently Enabled
- Press Windows Key + X and select Command Prompt (Admin) or Windows PowerShell (Admin).
- Type the following command and press Enter:
powercfg /a - Look for the line that says Hibernate. If it says "Hibernate has been enabled," you're good to go. If it says "The following sleep states are available on this system: Standby (S3), Hibernate," then hibernation is available. If it says "Hibernation is not available," you'll need to enable it first (see Step 2).
2. Enable or Disable Hibernation
- In the same admin Command Prompt or PowerShell window, type one of the following:
- To enable:
powercfg /h on - To disable:
powercfg /h off
- To enable:
- Press Enter. You'll see no confirmation message, but the setting is applied immediately.
- If you disabled hibernation, the Hibernate option will disappear from the Power menu and the shutdown dialog. To re-enable it later, run the same command with
on.
3. Change the Default Hibernate Timeout (When the PC Automatically Hibernates)
- Open the Control Panel. You can search for it from the Start menu.
- Click Hardware and Sound, then Power Options.
- Next to your selected power plan (e.g., Balanced, Power Saver), click Change plan settings.
- Click Change advanced power settings.
- In the Power Options dialog, scroll down and expand Sleep.
- Expand Hibernate after.
- Set the value in minutes. For example, set it to 30 to hibernate after 30 minutes of inactivity. Set it to 0 to never automatically hibernate.
- Click OK and then Save changes.
4. Change What the Power Button Does
- Go back to Power Options in the Control Panel.
- Click Choose what the power buttons do (on the left sidebar).
- If the settings are greyed out, click Change settings that are currently unavailable at the top.
- Under Power and sleep button and lid settings, you'll see Power button action and Sleep button action. Use the dropdown menus to select Hibernate for either.
- Click Save changes.
5. Change What Closing the Lid Does (Laptops Only)
- In the same Power Options left sidebar, click Choose what closing the lid does.
- Click Change settings that are currently unavailable if needed.
- Under Lid close action, choose Hibernate for On battery and/or Plugged in.
- Click Save changes.
6. Set Hibernate as the Default Shutdown Option (Optional)
- This is not a standard Windows setting. The default shutdown option is always "Shut down". You cannot change it to "Hibernate" without third-party software. However, you can add Hibernate to the Power menu by ensuring it's enabled (Step 2). It will appear as a separate option.
Common Mistakes
- Not running as administrator: The
powercfg /hcommand will fail with "You do not have permission to enable or disable the hibernation feature" if you don't open the command prompt as admin. - Confusing Sleep and Hibernate: Sleep keeps the PC in a low-power state with RAM powered; Hibernate saves the session to the hard drive and powers off completely. They are separate settings.
- Setting Hibernate after to 0: Many users think 0 means "immediately". In Windows, 0 actually means "never". If you want the PC to hibernate after, say, 10 minutes, set it to 10.
- Forgetting to check the power plan: If you change the settings for the "Balanced" plan but your PC is using the "High performance" plan, the changes won't apply. Always check which plan is active (the one with the radio button selected).
- Disabling hibernation and then looking for the option: If you turn hibernation off, the Hibernate option disappears from the Start menu's power button, and the "Hibernate after" setting in Power Options may also disappear.
Tips
- Use the command line for quick changes: Instead of navigating the Control Panel, you can set the hibernate timeout with a single command:
powercfg /change hibernate-timeout-ac 30(for plugged in) andpowercfg /change hibernate-timeout-dc 15(for battery). Replace the numbers with your desired minutes. - Check your disk space: Hibernation requires a file called
hiberfil.syson your system drive. It's usually about 40% of your RAM size. If you're low on disk space, you might want to disable hibernation or reduce the size of the file (advanced:powercfg /h /type reduced). - Use hibernation on laptops to save battery: If you're not going to use your laptop for a few hours, hibernation is better than sleep because it uses zero power.
- Create a desktop shortcut for hibernation: Right-click the desktop, select New > Shortcut, and type
shutdown /has the location. Name it "Hibernate" and click Finish. This gives you a one-click hibernate button. - Know the difference between "Hibernate" and "Fast Startup": Fast Startup (enabled by default) uses a hybrid of hibernation and shutdown to boot faster. If you disable hibernation, Fast Startup also becomes unavailable. If you want to keep Fast Startup but not see Hibernate in the Start menu, you can disable the "Hibernate" option in the Start menu via Power Options (turn off "Show Hibernate in Power menu").
Troubleshooting
Hibernation is not available in the Power menu
- Open Command Prompt as admin and run
powercfg /a. If it says "Hibernation is not available," runpowercfg /h onand try again. - If it's still not available, check your BIOS/UEFI settings. Restart your PC, press the key to enter setup (usually Del, F2, F10, or Esc), and look for power management or sleep state settings. Ensure "S3" or "Hybrid" sleep is enabled. Save and exit. (This step may require a licensed technician if you're not comfortable with BIOS changes, but it's generally safe.)
- Some older systems or systems with certain drivers may not support hibernation. Check if your graphics driver is up to date.
The PC wakes up immediately after hibernating
- This is often caused by a wake timer or a device (like a mouse or network card) that is set to wake the PC. Go to Device Manager, find the device (e.g., mouse), right-click, select Properties, go to the Power Management tab, and uncheck "Allow this device to wake the computer".
- Check for scheduled tasks that might wake the PC. Open Task Scheduler, look for tasks with a condition to "Wake the computer to run this task", and disable that condition.
Hibernate option is greyed out in Power Options
- This happens when hibernation is disabled. Run
powercfg /h onas admin, then go back to Power Options. The settings should now be available.
After disabling hibernation, the PC no longer has Fast Startup
- That's expected. Fast Startup relies on the hibernation file. If you want Fast Startup back, re-enable hibernation with
powercfg /h on. If you want to keep hibernation disabled but still have Fast Startup, you can't—both use the same file.
"The system firmware does not support hibernation" error
- This means your BIOS/UEFI doesn't have the necessary ACPI settings. Restart, enter BIOS setup, look for "ACPI Sleep State" or "S3" mode, and enable it. If you can't find it, check your motherboard manual or contact the manufacturer.
Frequently Asked Questions
What is the default hibernate timeout in Windows?
Windows doesn't have a universal default timeout. It varies by power plan and manufacturer. For example, on many laptops, the default might be 180 minutes (3 hours) on battery, but on desktops it might be disabled (0). You can check your current setting in Power Options under Sleep > Hibernate after.
Does hibernation use battery power?
No. When your PC is hibernated, it is completely powered off. The RAM contents are saved to the hard drive, and no power is used except for the tiny amount needed to keep the power button responsive (which is negligible).
How do I make my PC hibernate instead of sleep when I close the lid?
Go to Control Panel > Power Options > Choose what closing the lid does. Under "Lid close action," select "Hibernate" for both "On battery" and "Plugged in" (or just one). Click Save changes.
Is it safe to delete the hiberfil.sys file?
You should not manually delete it. If you want to remove it, disable hibernation with powercfg /h off. Windows will then delete the file automatically. Manually deleting it while hibernation is on can cause errors.
Why does my PC not have a Hibernate option in the Start menu?
Either hibernation is disabled (run powercfg /h on), or the option is hidden. To show it, go to Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable, then check the box next to "Hibernate" under "Shutdown settings".
Can I set different hibernate timeouts for battery and plugged in?
Yes. In Power Options > Sleep > Hibernate after, you'll see two values: "On battery" and "Plugged in". Set them independently. Or use the command line: powercfg /change hibernate-timeout-ac 30 (plugged in) and powercfg /change hibernate-timeout-dc 15 (battery).