Allow Applications to Prevent Automatic Sleep (Plugged In)

Allow applications and services to prevent automatic sleep.

If you enable this policy setting, any application, service or device driver may prevent Windows from automatically transitioning to sleep after a period of user inactivity.

If you disable this policy setting, applications, services or drivers may not prevent Windows from automatically transitioning to sleep. Only user input will be used to determine if Windows should automatically sleep.

Supported on: At least Windows 7

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Power\PowerSettings\A4B195F5-8225-47D8-8012-9D41369786E2
Value NameACSettingIndex
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

power.admx

Administrative Templates (Computers)

Administrative Templates (Users)