Select an active power plan
Sélectionner un mode de gestion d’alimentation actif
Explanation
This policy setting specifies the active power plan from a list of default Windows power plans. To specify a custom power plan, use the Custom Active Power Plan setting.
If you enable this policy setting, specify a power plan from the Active Power Plan list.
If you disable or do not configure this policy setting, users control this setting.
Ce paramètre de stratégie spécifie le mode de gestion d’alimentation actif dans la liste des modes de gestion d’alimentation Windows par défaut. Pour spécifier un mode de gestion d’alimentation personnalisé, utilisez le paramètre Mode de gestion d’alimentation actif personnalisé.
Si vous activez ce paramètre, spécifiez un plan de gestion de l’alimentation dans la liste des modes de gestion d’alimentation actifs.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les utilisateurs contrôlent ce paramètre.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Power\PowerSettings- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: Power/InboxActiveSchemeOverride_2
$k = 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Active Power Plan
# Possible options:
# Automatic (recommended) = 381b4222-f694-41f0-9685-ff5bb260df2e
# Power Saver = a1841308-3541-4fab-bc81-f71556f20b4a
# High Performance = 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
Set-ItemProperty -Path $k -Name 'ActivePowerScheme' -Value '381b4222-f694-41f0-9685-ff5bb260df2e' -Type StringDisable
# Disable: Power/InboxActiveSchemeOverride_2
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Power/InboxActiveSchemeOverride_2
$k = 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings'
Remove-ItemProperty -Path $k -Name 'ActivePowerScheme' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Active Power Plan:Mode de gestion d’alimentation actif :InboxActiveSchemeOverrideEnter | Drop-down listenum | ActivePowerScheme | REG_SZ | Required · Default choice (UI): #0
|