Configure Power Options preference extension policy processing
Configurer le traitement de la stratégie pour l’extension de préférence Options d’alimentation
Explanation
This policy setting allows you to configure when preference items in the Power Options preference extension are updated.
If you enable this policy setting, you can configure processing options for Power Options and Power Scheme preference items.
If you disable or do not configure this policy setting, Power Options and Power Scheme preference items are allowed to process across a slow network connection, to be applied during background processing, and to process even if the Group Policy objects (GPOs) are unchanged. By default, background processing priority is "Idle."
Notes:
1. The "Allow processing across a slow network connection" option updates preference items even when the update is transmitted across a slow network connection, such as a telephone line. Updates across slow connections can cause significant delays.
2. The "Do not apply during periodic background processing" option prevents the system from updating affected preference items in the background while the computer is in use. When background updates are disabled, preference item changes do not take effect until the next user logon or system restart.
3. The "Process even if the Group Policy objects have not changed" option updates and reapplies the preference items even if the preference items have not changed. Many policy implementations specify that they are updated only when changed. However, you might want to update unchanged preference items, such as reapplying a desired preference setting in case a user has changed it.
Ce paramètre de stratégie permet de configurer le mode de mise à jour des éléments de préférence dans l’extension de préférence Options d’alimentation.
Si vous activez ce paramètre de stratégie, vous pouvez configurer les options de traitement pour les éléments de préférence Options d’alimentation et Mode de gestion de l’alimentation.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les éléments de préférence Options d’alimentation et Mode de gestion de l’alimentation peuvent être traités via une connexion réseau lente, appliqués lors des traitements en tâche de fond et mis à jour même si les objets de stratégie de groupe n’ont pas été modifiés. Par défaut, la priorité de traitement en tâche de fond est « Inactif ».
Remarques :
1. L’option « Autoriser le traitement sur une connexion réseau lente » met à jour les éléments de préférence même si la mise à jour transite par une connexion réseau lente telle qu’une ligne téléphonique. Les mises à jour peuvent entraîner d’importants retards sur une connexion lente.
2. L’option « Ne pas appliquer lors des traitements en tâche de fond périodiques » empêche le système de mettre à jour les éléments de préférence concernés en tâche de fond pendant que l’ordinateur est en service. Lorsque les mises à jour en tâche de fond sont désactivées, les modifications apportées aux éléments de préférence prennent effet lors de la prochaine ouverture de session ou du redémarrage du système.
3. L’option « Traiter même si les objets de stratégie de groupe n’ont pas changé » met à jour et applique à nouveau les éléments de préférence même s’ils sont restés inchangés. De nombreuses implémentations de stratégies prévoient une mise à jour uniquement en cas de modification. Cependant, il peut être utile parfois de mettre à jour des éléments de préférence inchangés (pour appliquer à nouveau, par exemple, un paramètre de préférence au cas où un utilisateur l’aurait modifié).
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Group Policy\{E62688F0-25FD-4c90-BFF5-F508B9D2E31F}- Value name
- not defined in the ADMX
| State | Value written |
|---|---|
| Enabled | REG_SZ = Power Options Policy Processing |
| Disabled | 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: grouppolicypreferences/CSE_PowerOptions
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E62688F0-25FD-4c90-BFF5-F508B9D2E31F}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Allow processing across a slow network connection
# unchecked: 1
Set-ItemProperty -Path $k -Name 'NoSlowLink' -Value 0 -Type DWord
# Do not apply during periodic background processing
# unchecked: 0
Set-ItemProperty -Path $k -Name 'NoBackgroundPolicy' -Value 1 -Type DWord
# Process even if the Group Policy objects have not changed
# unchecked: 1
Set-ItemProperty -Path $k -Name 'NoGPOListChanges' -Value 0 -Type DWord
# Background priority
# Possible options:
# Normal = 3
# Below Normal = 2
# Lowest = 1
# Idle = 0
Set-ItemProperty -Path $k -Name 'BackgroundPriorityLevel' -Value 0 -Type DWordDisable
# Disable: grouppolicypreferences/CSE_PowerOptions
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": grouppolicypreferences/CSE_PowerOptions
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E62688F0-25FD-4c90-BFF5-F508B9D2E31F}'
Remove-ItemProperty -Path $k -Name 'NoSlowLink' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoBackgroundPolicy' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoGPOListChanges' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'BackgroundPriorityLevel' -ErrorAction SilentlyContinueOptions (4)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Allow processing across a slow network connectionAutoriser le traitement sur une connexion réseau lenteCSE_ALLOWSLOWLINK | Check boxboolean | NoSlowLink | REG_DWORD | Default (UI): true Checked: REG_DWORD = 0Unchecked: REG_DWORD = 1 | ||||||||||
| Do not apply during periodic background processingNe pas appliquer lors d’un traitement en arrière-plan régulierCSE_NOBACKGROUND | Check boxboolean | NoBackgroundPolicy | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 | ||||||||||
| Process even if the Group Policy objects have not changedTraiter même si les objets de stratégie de groupe n’ont pas changéCSE_NOCHANGES | Check boxboolean | NoGPOListChanges | REG_DWORD | Default (UI): true Checked: REG_DWORD = 0Unchecked: REG_DWORD = 1 | ||||||||||
| Background priorityPriorité de l’arrière-planCSE_BACKGROUNDPRIORTYLEVEL | Drop-down listenum | BackgroundPriorityLevel | REG_DWORD | Default choice (UI): #3
|