Redigera

Dela via


Policy CSP - Power

Tip

This CSP contains ADMX-backed policies which require a special SyncML format to enable or disable. You must specify the data type in the SyncML as <Format>chr</Format>. For details, see Understanding ADMX-backed policies.

The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see CDATA Sections.

AllowHibernate

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 11, version 21H2 [10.0.22000] and later
./Device/Vendor/MSFT/Policy/Config/Power/AllowHibernate

This policy setting decides if hibernate on the machine is allowed or not. Supported values: 0 - Disable hibernate. 1 (default) - Allow hibernate.

Note

This policy does not override powercfg configuration and has no effect on the device if Hibernate is disabled using either of the following methods:

  • Running the command powercfg /hibernate off.
  • Modifying the HibernateEnabled value to 0 in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power registry key.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Disable hibernate.
1 (Default) Allow hibernate.

AllowStandbyStatesWhenSleepingOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1803 [10.0.17134] and later
./Device/Vendor/MSFT/Policy/Config/Power/AllowStandbyStatesWhenSleepingOnBattery

This policy setting manages whether or not Windows is allowed to use standby states when putting the computer in a sleep state.

  • If you enable or don't configure this policy setting, Windows uses standby states to put the computer in a sleep state.

  • If you disable this policy setting, standby states (S1-S3) aren't allowed.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name AllowStandbyStatesDC_2
Friendly Name Allow standby states (S1-S3) when sleeping (on battery)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab
Registry Value Name DCSettingIndex
ADMX File Name Power.admx

AllowStandbyWhenSleepingPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1703 [10.0.15063] and later
./Device/Vendor/MSFT/Policy/Config/Power/AllowStandbyWhenSleepingPluggedIn

This policy setting manages whether or not Windows is allowed to use standby states when putting the computer in a sleep state.

  • If you enable or don't configure this policy setting, Windows uses standby states to put the computer in a sleep state.

  • If you disable this policy setting, standby states (S1-S3) aren't allowed.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name AllowStandbyStatesAC_2
Friendly Name Allow standby states (S1-S3) when sleeping (plugged in)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab
Registry Value Name ACSettingIndex
ADMX File Name Power.admx

DisplayOffTimeoutOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1709 [10.0.16299] and later
./Device/Vendor/MSFT/Policy/Config/Power/DisplayOffTimeoutOnBattery

This policy setting allows you to specify the period of inactivity before Windows turns off the display.

  • If you enable this policy setting, you must provide a value, in seconds, indicating how much idle time should elapse before Windows turns off the display.

  • If you disable or don't configure this policy setting, users control this setting.

If the user has configured a slide show to run on the lock screen when the machine is locked, this can prevent the display from turning off. The "Prevent enabling lock screen slide show" policy setting can be used to disable the slide show feature.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name VideoPowerDownTimeOutDC_2
Friendly Name Turn off the display (on battery)
Location Computer Configuration
Path System > Power Management > Video and Display Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\3C0BC021-C8A8-4E07-A973-6B14CBCB2B7E
ADMX File Name Power.admx

DisplayOffTimeoutPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1709 [10.0.16299] and later
./Device/Vendor/MSFT/Policy/Config/Power/DisplayOffTimeoutPluggedIn

This policy setting allows you to specify the period of inactivity before Windows turns off the display.

  • If you enable this policy setting, you must provide a value, in seconds, indicating how much idle time should elapse before Windows turns off the display.

  • If you disable or don't configure this policy setting, users control this setting.

If the user has configured a slide show to run on the lock screen when the machine is locked, this can prevent the display from turning off. The "Prevent enabling lock screen slide show" policy setting can be used to disable the slide show feature.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name VideoPowerDownTimeOutAC_2
Friendly Name Turn off the display (plugged in)
Location Computer Configuration
Path System > Power Management > Video and Display Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\3C0BC021-C8A8-4E07-A973-6B14CBCB2B7E
ADMX File Name Power.admx

EnergySaverBatteryThresholdOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/EnergySaverBatteryThresholdOnBattery

This policy setting allows you to specify battery charge level at which Energy Saver is turned on.

  • If you enable this policy setting, you must provide a percent value, indicating the battery charge level. Energy Saver will be automatically turned on at (and below) the specified level.

  • If you disable or don't configure this policy setting, users control this setting.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Allowed Values Range: [0-100]
Default Value 0

Group policy mapping:

Name Value
Name EsBattThresholdDC
Friendly Name Energy Saver Battery Threshold (on battery)
Element Name Energy Saver Battery Threshold (percent)
Location Computer Configuration
Path System > Power Management > Energy Saver Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\E69653CA-CF7F-4F05-AA73-CB833FA90AD4
ADMX File Name Power.admx

EnergySaverBatteryThresholdPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/EnergySaverBatteryThresholdPluggedIn

This policy setting allows you to specify battery charge level at which Energy Saver is turned on.

  • If you enable this policy setting, you must provide a percent value, indicating the battery charge level. Energy Saver will be automatically turned on at (and below) the specified level.

  • If you disable or don't configure this policy setting, users control this setting.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Allowed Values Range: [0-100]
Default Value 0

Group policy mapping:

Name Value
Name EsBattThresholdAC
Friendly Name Energy Saver Battery Threshold (plugged in)
Element Name Energy Saver Battery Threshold (percent)
Location Computer Configuration
Path System > Power Management > Energy Saver Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\E69653CA-CF7F-4F05-AA73-CB833FA90AD4
ADMX File Name Power.admx

HibernateTimeoutOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1709 [10.0.16299] and later
./Device/Vendor/MSFT/Policy/Config/Power/HibernateTimeoutOnBattery

This policy setting allows you to specify the period of inactivity before Windows transitions the system to hibernate.

  • If you enable this policy setting, you must provide a value, in seconds, indicating how much idle time should elapse before Windows transitions to hibernate.

  • If you disable or don't configure this policy setting, users control this setting.

If the user has configured a slide show to run on the lock screen when the machine is locked, this can prevent the sleep transition from occurring. The "Prevent enabling lock screen slide show" policy setting can be used to disable the slide show feature.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name DCHibernateTimeOut_2
Friendly Name Specify the system hibernate timeout (on battery)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\9D7815A6-7EE4-497E-8888-515A05F02364
ADMX File Name Power.admx

HibernateTimeoutPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1709 [10.0.16299] and later
./Device/Vendor/MSFT/Policy/Config/Power/HibernateTimeoutPluggedIn

This policy setting allows you to specify the period of inactivity before Windows transitions the system to hibernate.

  • If you enable this policy setting, you must provide a value, in seconds, indicating how much idle time should elapse before Windows transitions to hibernate.

  • If you disable or don't configure this policy setting, users control this setting.

If the user has configured a slide show to run on the lock screen when the machine is locked, this can prevent the sleep transition from occurring. The "Prevent enabling lock screen slide show" policy setting can be used to disable the slide show feature.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name ACHibernateTimeOut_2
Friendly Name Specify the system hibernate timeout (plugged in)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\9D7815A6-7EE4-497E-8888-515A05F02364
ADMX File Name Power.admx

RequirePasswordWhenComputerWakesOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1703 [10.0.15063] and later
./Device/Vendor/MSFT/Policy/Config/Power/RequirePasswordWhenComputerWakesOnBattery

This policy setting specifies whether or not the user is prompted for a password when the system resumes from sleep.

  • If you enable or don't configure this policy setting, the user is prompted for a password when the system resumes from sleep.

  • If you disable this policy setting, the user isn't prompted for a password when the system resumes from sleep.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name DCPromptForPasswordOnResume_2
Friendly Name Require a password when a computer wakes (on battery)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\0e796bdb-100d-47d6-a2d5-f7d2daa51f51
Registry Value Name DCSettingIndex
ADMX File Name Power.admx

RequirePasswordWhenComputerWakesPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1703 [10.0.15063] and later
./Device/Vendor/MSFT/Policy/Config/Power/RequirePasswordWhenComputerWakesPluggedIn

This policy setting specifies whether or not the user is prompted for a password when the system resumes from sleep.

  • If you enable or don't configure this policy setting, the user is prompted for a password when the system resumes from sleep.

  • If you disable this policy setting, the user isn't prompted for a password when the system resumes from sleep.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name ACPromptForPasswordOnResume_2
Friendly Name Require a password when a computer wakes (plugged in)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\0e796bdb-100d-47d6-a2d5-f7d2daa51f51
Registry Value Name ACSettingIndex
ADMX File Name Power.admx

SelectLidCloseActionOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/SelectLidCloseActionOnBattery

This policy setting specifies the action that Windows takes when a user closes the lid on a mobile PC.

Possible actions include:

-Take no action -Sleep -Hibernate -Shut down.

  • If you enable this policy setting, you must select the desired action.

  • If you disable this policy setting or don't configure it, users can see and change this setting.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Take no action.
1 (Default) Sleep.
2 System hibernate sleep state.
3 System shutdown.

Group policy mapping:

Name Value
Name DCSystemLidAction_2
Friendly Name Select the lid switch action (on battery)
Element Name Lid Switch Action.
Location Computer Configuration
Path System > Power Management > Button Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936
ADMX File Name Power.admx

SelectLidCloseActionPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/SelectLidCloseActionPluggedIn

This policy setting specifies the action that Windows takes when a user closes the lid on a mobile PC.

Possible actions include:

-Take no action -Sleep -Hibernate -Shut down.

  • If you enable this policy setting, you must select the desired action.

  • If you disable this policy setting or don't configure it, users can see and change this setting.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Take no action.
1 (Default) Sleep.
2 System hibernate sleep state.
3 System shutdown.

Group policy mapping:

Name Value
Name ACSystemLidAction_2
Friendly Name Select the lid switch action (plugged in)
Element Name Lid Switch Action.
Location Computer Configuration
Path System > Power Management > Button Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\5CA83367-6E45-459F-A27B-476B1D01C936
ADMX File Name Power.admx

SelectPowerButtonActionOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/SelectPowerButtonActionOnBattery

This policy setting specifies the action that Windows takes when a user presses the power button.

Possible actions include:

-Take no action -Sleep -Hibernate -Shut down.

  • If you enable this policy setting, you must select the desired action.

  • If you disable this policy setting or don't configure it, users can see and change this setting.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Take no action.
1 (Default) Sleep.
2 System hibernate sleep state.
3 System shutdown.

Group policy mapping:

Name Value
Name DCPowerButtonAction_2
Friendly Name Select the Power button action (on battery)
Element Name Power Button Action.
Location Computer Configuration
Path System > Power Management > Button Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280
ADMX File Name Power.admx

SelectPowerButtonActionPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/SelectPowerButtonActionPluggedIn

This policy setting specifies the action that Windows takes when a user presses the power button.

Possible actions include:

-Take no action -Sleep -Hibernate -Shut down.

  • If you enable this policy setting, you must select the desired action.

  • If you disable this policy setting or don't configure it, users can see and change this setting.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Take no action.
1 (Default) Sleep.
2 System hibernate sleep state.
3 System shutdown.

Group policy mapping:

Name Value
Name ACPowerButtonAction_2
Friendly Name Select the Power button action (plugged in)
Element Name Power Button Action.
Location Computer Configuration
Path System > Power Management > Button Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280
ADMX File Name Power.admx

SelectSleepButtonActionOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/SelectSleepButtonActionOnBattery

This policy setting specifies the action that Windows takes when a user presses the sleep button.

Possible actions include:

-Take no action -Sleep -Hibernate -Shut down.

  • If you enable this policy setting, you must select the desired action.

  • If you disable this policy setting or don't configure it, users can see and change this setting.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Take no action.
1 (Default) Sleep.
2 System hibernate sleep state.
3 System shutdown.

Group policy mapping:

Name Value
Name DCSleepButtonAction_2
Friendly Name Select the Sleep button action (on battery)
Element Name Sleep Button Action.
Location Computer Configuration
Path System > Power Management > Button Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\96996BC0-AD50-47EC-923B-6F41874DD9EB
ADMX File Name Power.admx

SelectSleepButtonActionPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/SelectSleepButtonActionPluggedIn

This policy setting specifies the action that Windows takes when a user presses the sleep button.

Possible actions include:

-Take no action -Sleep -Hibernate -Shut down.

  • If you enable this policy setting, you must select the desired action.

  • If you disable this policy setting or don't configure it, users can see and change this setting.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 1

Allowed values:

Value Description
0 Take no action.
1 (Default) Sleep.
2 System hibernate sleep state.
3 System shutdown.

Group policy mapping:

Name Value
Name ACSleepButtonAction_2
Friendly Name Select the Sleep button action (plugged in)
Element Name Sleep Button Action.
Location Computer Configuration
Path System > Power Management > Button Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\96996BC0-AD50-47EC-923B-6F41874DD9EB
ADMX File Name Power.admx

StandbyTimeoutOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1709 [10.0.16299] and later
./Device/Vendor/MSFT/Policy/Config/Power/StandbyTimeoutOnBattery

This policy setting allows you to specify the period of inactivity before Windows transitions the system to sleep.

  • If you enable this policy setting, you must provide a value, in seconds, indicating how much idle time should elapse before Windows transitions to sleep.

  • If you disable or don't configure this policy setting, users control this setting.

If the user has configured a slide show to run on the lock screen when the machine is locked, this can prevent the sleep transition from occurring. The "Prevent enabling lock screen slide show" policy setting can be used to disable the slide show feature.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name DCStandbyTimeOut_2
Friendly Name Specify the system sleep timeout (on battery)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\29F6C1DB-86DA-48C5-9FDB-F2B67B1F44DA
ADMX File Name Power.admx

StandbyTimeoutPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1709 [10.0.16299] and later
./Device/Vendor/MSFT/Policy/Config/Power/StandbyTimeoutPluggedIn

This policy setting allows you to specify the period of inactivity before Windows transitions the system to sleep.

  • If you enable this policy setting, you must provide a value, in seconds, indicating how much idle time should elapse before Windows transitions to sleep.

  • If you disable or don't configure this policy setting, users control this setting.

If the user has configured a slide show to run on the lock screen when the machine is locked, this can prevent the sleep transition from occurring. The "Prevent enabling lock screen slide show" policy setting can be used to disable the slide show feature.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name ACStandbyTimeOut_2
Friendly Name Specify the system sleep timeout (plugged in)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\29F6C1DB-86DA-48C5-9FDB-F2B67B1F44DA
ADMX File Name Power.admx

TurnOffHybridSleepOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/TurnOffHybridSleepOnBattery

This policy setting allows you to turn off Hybrid Sleep.

  • If you enable this policy setting, a hiberfile isn't generated when the system transitions to sleep (Stand By).

  • If you disable or don't configure this policy setting, users control this setting.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 0

Allowed values:

Value Description
0 (Default) .
1 Hybrid Sleep.

Group policy mapping:

Name Value
Name DCStandbyWithHiberfileEnable_2
Friendly Name Turn off hybrid sleep (on battery)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\94ac6d29-73ce-41a6-809f-6363ba21b47e
Registry Value Name DCSettingIndex
ADMX File Name Power.admx

TurnOffHybridSleepPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/TurnOffHybridSleepPluggedIn

This policy setting allows you to turn off Hybrid Sleep.

  • If you enable this policy setting, a hiberfile isn't generated when the system transitions to sleep (Stand By).

  • If you disable or don't configure this policy setting, users control this setting.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Default Value 0

Allowed values:

Value Description
0 (Default) .
1 Hybrid Sleep.

Group policy mapping:

Name Value
Name ACStandbyWithHiberfileEnable_2
Friendly Name Turn off hybrid sleep (plugged in)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\94ac6d29-73ce-41a6-809f-6363ba21b47e
Registry Value Name ACSettingIndex
ADMX File Name Power.admx

UnattendedSleepTimeoutOnBattery

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/UnattendedSleepTimeoutOnBattery

This policy setting allows you to specify the period of inactivity before Windows transitions to sleep automatically when a user isn't present at the computer.

  • If you enable this policy setting, you must provide a value, in seconds, indicating how much idle time should elapse before Windows automatically transitions to sleep when left unattended. If you specify 0 seconds, Windows doesn't automatically transition to sleep.

  • If you disable or don't configure this policy setting, users control this setting.

If the user has configured a slide show to run on the lock screen when the machine is locked, this can prevent the sleep transition from occurring. The "Prevent enabling lock screen slide show" policy setting can be used to disable the slide show feature.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Allowed Values Range: [0-4294967295]
Default Value 0

Group policy mapping:

Name Value
Name UnattendedSleepTimeOutDC
Friendly Name Specify the unattended sleep timeout (on battery)
Element Name Unattended Sleep Timeout (seconds)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
ADMX File Name Power.admx

UnattendedSleepTimeoutPluggedIn

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1903 [10.0.18362] and later
./Device/Vendor/MSFT/Policy/Config/Power/UnattendedSleepTimeoutPluggedIn

This policy setting allows you to specify the period of inactivity before Windows transitions to sleep automatically when a user isn't present at the computer.

  • If you enable this policy setting, you must provide a value, in seconds, indicating how much idle time should elapse before Windows automatically transitions to sleep when left unattended. If you specify 0 seconds, Windows doesn't automatically transition to sleep.

  • If you disable or don't configure this policy setting, users control this setting.

If the user has configured a slide show to run on the lock screen when the machine is locked, this can prevent the sleep transition from occurring. The "Prevent enabling lock screen slide show" policy setting can be used to disable the slide show feature.

Description framework properties:

Property name Property value
Format int
Access Type Add, Delete, Get, Replace
Allowed Values Range: [0-4294967295]
Default Value 0

Group policy mapping:

Name Value
Name UnattendedSleepTimeOutAC
Friendly Name Specify the unattended sleep timeout (plugged in)
Element Name Unattended Sleep Timeout (seconds)
Location Computer Configuration
Path System > Power Management > Sleep Settings
Registry Key Name Software\Policies\Microsoft\Power\PowerSettings\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
ADMX File Name Power.admx

Policy configuration service provider