Turn on the ability for applications to prevent sleep transitions (plugged in)
Supported on: At least Windows Vista
Registry
HKLM
Software\Policies\Microsoft\Power\PowerSettings\B7A27025-E569-46c2-A504-2B96CAD225A1 Value name: ACSettingIndex
Enabled: ACSettingIndex = 1
Disabled: ACSettingIndex = 0
Description
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.