Turn on the ability for applications to prevent sleep transitions (plugged in)

This policy setting allows you to turn on the ability for applications and services to prevent the system from sleeping.

If you enable this policy setting, an application or service may prevent the system from sleeping (Hybrid Sleep, Stand By, or Hibernate).

If you disable or do not configure this policy setting, users control this setting.

Supported on: At least Windows Vista
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Power\PowerSettings\B7A27025-E569-46c2-A504-2B96CAD225A1
Value NameACSettingIndex
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

power.admx

Administrative Templates (Computers)

Administrative Templates (Users)