How to Add or Remove "Allow system required policy" from Power Options in Windows


The Allow system required policy setting in Power Options allows users to specify yes (default) or no to allow programs to prevent the computer from going to sleep automatically.

This tutorial will show you how to add or remove the Allow system required policy setting under Sleep in Power Options for all users in Windows 7, Windows 8, and Windows 10.

You must be signed in as an administrator to be able to add or remove this setting in Power Options.


 CONTENTS:

  • Option One: Add or Remove "Allow system required policy" in Power Options using Command Prompt
  • Option Two: Add or Remove "Allow system required policy" in Power Options using REG file


EXAMPLE: "Allow system required policy" setting in Power Options
Name:  Allow_system_required_policy.png
Views: 371
Size:  23.4 KB






Add Allow system required policy to Power Options in Windows OPTION ONE Add Allow system required policy to Power Options in Windows
Add or Remove "Allow system required policy" in Power Options using Command Prompt

1. Open an elevated command prompt.

2. Type the command below you want to use into the elevated command prompt, and press Enter.

(Add)
powercfg -attributes SUB_SLEEP A4B195F5-8225-47D8-8012-9D41369786E2 -ATTRIB_HIDE

OR

(Remove - default)
powercfg -attributes SUB_SLEEP A4B195F5-8225-47D8-8012-9D41369786E2 +ATTRIB_HIDE

3. You can now close the elevated command prompt if you like.






Add Allow system required policy to Power Options in Windows OPTION TWO Add Allow system required policy to Power Options in Windows
Add or Remove "Allow system required policy" in Power Options using REG file


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\A4B195F5-8225-47D8-8012-9D41369786E2

Attributes DWORD

1 = Remove
2 = Add


1. Do step 2 (add) or step 3 (remove) below for what you would like to do.


 2. To Add "Allow system required policy" to Power Options

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Add_Allow_system_required_policy_to_Power_Options.reg

download


 3. To Remove "Allow system required policy" from Power Options

This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Remove_Allow_system_required_policy_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