2022-08-10 18:08:08 -04:00

34 KiB

title, description, ms.author, ms.topic, ms.prod, ms.technology, author, ms.localizationpriority, ms.date, ms.reviewer, manager
title description ms.author ms.topic ms.prod ms.technology author ms.localizationpriority ms.date ms.reviewer manager
Policy CSP - Power Learn how the Policy CSP - Power setting manages whether or not Windows is allowed to use standby states when putting the computer in a sleep state. vinpa article w10 windows vinaypamnani-msft medium 09/27/2019 aaroncz

Policy CSP - Power


Power policies

Power/AllowHibernate
Power/AllowStandbyStatesWhenSleepingOnBattery
Power/AllowStandbyWhenSleepingPluggedIn
Power/DisplayOffTimeoutOnBattery
Power/DisplayOffTimeoutPluggedIn
Power/EnergySaverBatteryThresholdOnBattery
Power/EnergySaverBatteryThresholdPluggedIn
Power/HibernateTimeoutOnBattery
Power/HibernateTimeoutPluggedIn
Power/RequirePasswordWhenComputerWakesOnBattery
Power/RequirePasswordWhenComputerWakesPluggedIn
Power/SelectLidCloseActionOnBattery
Power/SelectLidCloseActionPluggedIn
Power/SelectPowerButtonActionOnBattery
Power/SelectPowerButtonActionPluggedIn
Power/SelectSleepButtonActionOnBattery
Power/SelectSleepButtonActionPluggedIn
Power/StandbyTimeoutOnBattery
Power/StandbyTimeoutPluggedIn
Power/TurnOffHybridSleepOnBattery
Power/TurnOffHybridSleepPluggedIn
Power/UnattendedSleepTimeoutOnBattery
Power/UnattendedSleepTimeoutPluggedIn

Tip

Some of these are ADMX-backed policies and require a special SyncML format to enable or disable. For details, see Understanding ADMX-backed policies.

You must specify the data type in the SyncML as <Format>chr</Format>. For an example SyncML, refer to Enabling a policy.

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.


Power/AllowHibernate

Edition Windows 10 Windows 11
Home No No
Pro No Yes
Business No Yes
Enterprise No Yes
Education No Yes

Scope:

[!div class = "checklist"]

  • Device

ADMX Info:

  • GP Friendly name: Decides if hibernate on the machine is allowed or not
  • GP name: AllowHibernate
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Power/AllowStandbyStatesWhenSleepingOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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.

ADMX Info:

  • GP Friendly name: Allow standby states (S1-S3) when sleeping (on battery)
  • GP name: AllowStandbyStatesDC_2
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Power/AllowStandbyWhenSleepingPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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.

ADMX Info:

  • GP Friendly name: Allow standby states (S1-S3) when sleeping (plugged in)
  • GP name: AllowStandbyStatesAC_2
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Power/DisplayOffTimeoutOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Added to HoloLens 2 in Windows Holographic, version 20H2.


Scope:

[!div class = "checklist"]

  • Device

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 slide show 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.

ADMX Info:

  • GP Friendly name: Turn off the display (on battery)
  • GP name: VideoPowerDownTimeOutDC_2
  • GP path: System/Power Management/Video and Display Settings
  • GP ADMX file name: power.admx

Power/DisplayOffTimeoutPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 slide show 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.

ADMX Info:

  • GP Friendly name: Turn off the display (plugged in)
  • GP name: VideoPowerDownTimeOutAC_2
  • GP path: System/Power Management/Video and Display Settings
  • GP ADMX file name: power.admx

Power/EnergySaverBatteryThresholdOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 specify a percentage value that indicates the battery charge level. Energy Saver is automatically turned on at (and below) the specified battery charge level.

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

ADMX Info:

  • GP Friendly name: Energy Saver Battery Threshold (on battery)
  • GP name: EsBattThresholdDC
  • GP element: EnterEsBattThreshold
  • GP path: System/Power Management/Energy Saver Settings
  • GP ADMX file name: power.admx

Supported values: 0-100. The default is 70.


Power/EnergySaverBatteryThresholdPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 percentage value that indicates the battery charge level. Energy Saver is automatically turned on at (and below) the specified battery charge level.

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

ADMX Info:

  • GP Friendly name: Energy Saver Battery Threshold (plugged in)
  • GP name: EsBattThresholdAC
  • GP element: EnterEsBattThreshold
  • GP path: System/Power Management/Energy Saver Settings
  • GP ADMX file name: power.admx

Supported values: 0-100. The default is 70.


Power/HibernateTimeoutOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 slide show 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.

ADMX Info:

  • GP Friendly name: Specify the system hibernate timeout (on battery)
  • GP name: DCHibernateTimeOut_2
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Power/HibernateTimeoutPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 slide show 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.

ADMX Info:

  • GP Friendly name: Specify the system hibernate timeout (plugged in)
  • GP name: ACHibernateTimeOut_2
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Power/RequirePasswordWhenComputerWakesOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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.

ADMX Info:

  • GP Friendly name: Require a password when a computer wakes (on battery)
  • GP name: DCPromptForPasswordOnResume_2
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Power/RequirePasswordWhenComputerWakesPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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.

ADMX Info:

  • GP Friendly name: Require a password when a computer wakes (plugged in)
  • GP name: ACPromptForPasswordOnResume_2
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Power/SelectLidCloseActionOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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

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.

ADMX Info:

  • GP Friendly name: Select the lid switch action (on battery)
  • GP name: DCSystemLidAction_2
  • GP element: SelectDCSystemLidAction
  • GP path: System/Power Management/Button Settings
  • GP ADMX file name: power.admx

The following are the supported lid close switch actions (on battery):

  • 0 - Take no action
  • 1 - Sleep
  • 2 - System hibernate sleep state
  • 3 - System shutdown

Power/SelectLidCloseActionPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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

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.

ADMX Info:

  • GP Friendly name: Select the lid switch action (plugged in)
  • GP name: ACSystemLidAction_2
  • GP element: SelectACSystemLidAction
  • GP path: System/Power Management/Button Settings
  • GP ADMX file name: power.admx

The following are the supported lid close switch actions (plugged in):

  • 0 - Take no action
  • 1 - Sleep
  • 2 - System hibernate sleep state
  • 3 - System shutdown

Power/SelectPowerButtonActionOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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

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.

ADMX Info:

  • GP Friendly name: Select the Power button action (on battery)
  • GP name: DCPowerButtonAction_2
  • GP element: SelectDCPowerButtonAction
  • GP path: System/Power Management/Button Settings
  • GP ADMX file name: power.admx

The following are the supported Power button actions (on battery):

  • 0 - Take no action
  • 1 - Sleep
  • 2 - System hibernate sleep state
  • 3 - System shutdown

Power/SelectPowerButtonActionPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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

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.

ADMX Info:

  • GP Friendly name: Select the Power button action (plugged in)
  • GP name: ACPowerButtonAction_2
  • GP element: SelectACPowerButtonAction
  • GP path: System/Power Management/Button Settings
  • GP ADMX file name: power.admx

The following are the supported Power button actions (plugged in):

  • 0 - Take no action
  • 1 - Sleep
  • 2 - System hibernate sleep state
  • 3 - System shutdown

Power/SelectSleepButtonActionOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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

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.

ADMX Info:

  • GP Friendly name: Select the Sleep button action (on battery)
  • GP name: DCSleepButtonAction_2
  • GP element: SelectDCSleepButtonAction
  • GP path: System/Power Management/Button Settings
  • GP ADMX file name: power.admx

The following are the supported Sleep button actions (on battery):

  • 0 - Take no action
  • 1 - Sleep
  • 2 - System hibernate sleep state
  • 3 - System shutdown

Power/SelectSleepButtonActionPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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

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.

ADMX Info:

  • GP Friendly name: Select the Sleep button action (plugged in)
  • GP name: ACSleepButtonAction_2
  • GP element: SelectACSleepButtonAction
  • GP path: System/Power Management/Button Settings
  • GP ADMX file name: power.admx

The following are the supported Sleep button actions (plugged in):

  • 0 - Take no action
  • 1 - Sleep
  • 2 - System hibernate sleep state
  • 3 - System shutdown

Power/StandbyTimeoutOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 slide show 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.

ADMX Info:

  • GP Friendly name: Specify the system sleep timeout (on battery)
  • GP name: DCStandbyTimeOut_2
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Power/StandbyTimeoutPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 slide show 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.

ADMX Info:

  • GP Friendly name: Specify the system sleep timeout (plugged in)
  • GP name: ACStandbyTimeOut_2
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Power/TurnOffHybridSleepOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

This policy setting allows you to turn off hybrid sleep.

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

If you set this policy setting to 1 or don't configure this policy setting, users control this setting.

ADMX Info:

  • GP Friendly name: Turn off hybrid sleep (on battery)
  • GP name: DCStandbyWithHiberfileEnable_2
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

The following are the supported values for Hybrid sleep (on battery):

  • 0 - no hibernation file for sleep (default).
  • 1 - hybrid sleep.

Power/TurnOffHybridSleepPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

This policy setting allows you to turn off hybrid sleep.

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

If you set this policy setting to 1 or don't configure this policy setting, users control this setting.

ADMX Info:

  • GP Friendly name: Turn off hybrid sleep (plugged in)
  • GP name: ACStandbyWithHiberfileEnable_2
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

The following are the supported values for Hybrid sleep (plugged in):

  • 0 - no hibernation file for sleep (default).
  • 1 - hybrid sleep.

Power/UnattendedSleepTimeoutOnBattery

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 slide show 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.

ADMX Info:

  • GP Friendly name: Specify the unattended sleep timeout (on battery)
  • GP name: UnattendedSleepTimeOutDC
  • GP element: EnterUnattendedSleepTimeOut
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Default value for unattended sleep timeout (on battery): 300


Power/UnattendedSleepTimeoutPluggedIn

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 slide show 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.

ADMX Info:

  • GP Friendly name: Specify the unattended sleep timeout (plugged in)
  • GP name: UnattendedSleepTimeOutAC
  • GP element: EnterUnattendedSleepTimeOut
  • GP path: System/Power Management/Sleep Settings
  • GP ADMX file name: power.admx

Default value for unattended sleep timeout (plugged in): 300


Policy configuration service provider