How to Add or Remove "Hibernate after" from Power Options in Windows
The Hibernate after setting in Power Options allows users to specify how long in minutes the computer is inactive (idle) before automatically hibernating.
This tutorial will show you how to add or remove the Hibernate after setting under Sleep in Power Options for all users in Windows 7, Windows 8, Windows 10, and Windows 11.
You must be signed in as an administrator to be able to add or remove this setting in Power Options.
If you disable hibernate, the Hibernate after setting in Power Options will not be available.
Contents
- Option One: Add or Remove "Hibernate after" in Power Options using Command Prompt
- Option Two: Add or Remove "Hibernate after" in Power Options using REG file
EXAMPLE: "Hibernate after" setting in Power Options
1 Open an elevated command prompt.
2 Copy and paste the command below you want to use into the elevated command prompt, and press Enter.
(Add - default)
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\9d7815a6-7ee4-497e-8888-515a05f02364 /v Attributes /t REG_DWORD /d 2 /f
OR
(Remove)
powercfg -attributes SUB_SLEEP 9d7815a6-7ee4-497e-8888-515a05f02364 +ATTRIB_HIDE
3 You can now close the elevated command prompt if you like.
The downloaded .reg files below will modify the DWORD value in the registry key below.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\9d7815a6-7ee4-497e-8888-515a05f02364
Attributes DWORD
1 = Remove
2 = Add
2 Do step 2 (add) or step 3 (remove) below for what you would like to do.
This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Add_Hibernate_after_to_Power_Options.reg
Download
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Remove_Hibernate_after_from_Power_Options.reg
Download
4 Save the .reg file to your desktop.
5 Double click/tap on the downloaded .reg file to merge it.
6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.
7 You can now delete the downloaded .reg file if you like.
That's it,
Shawn Brink
Related Tutorials
- How to Hibernate the Computer in Windows 10
- How to Enable or Disable Hibernate in Windows 10
- How to Add or Remove Hibernate from Power menu in Windows 10
- How to Enable or Disable Shut Down, Restart, Sleep, and Hibernate in Power Menu in Windows 10
- How to Change Power Plan Settings in Windows 10
- How to Add or Remove 'Allow Away Mode Policy' from Power Options in Windows
- How to Add or Remove 'Sleep after' from Power Options in Windows
- How to Add or Remove 'Allow system required policy' from Power Options in Windows
- How to Add or Remove 'Allow wake timers' from Power Options in Windows 10
- How to Add or Remove 'Allow sleep with remote opens' from Power Options in Windows
- How to Add or Remove 'System unattended sleep timeout' from Power Options in Windows