Configure registry policy processing
Configurer le traitement de la stratégie du Registre
Explanation
This policy setting determines when registry policies are updated.
This policy setting affects all policies in the Administrative Templates folder and any other policies that store values in the registry. It overrides customized settings that the program implementing a registry policy set when it was installed.
If you enable this policy setting, you can use the check boxes provided to change the options. If you disable or do not configure this policy setting, it has no effect on the system.
The "Do not apply during periodic background processing" option prevents the system from updating affected policies in the background while the computer is in use. When background updates are disabled, policy changes will not take effect until the next user logon or system restart.
The "Process even if the Group Policy objects have not changed" option updates and reapplies the policies even if the policies have not changed. Many policy implementations specify that they are updated only when changed. However, you might want to update unchanged policies, such as reapplying a desired policy setting in case a user has changed it.
Ce paramètre de stratégie détermine le moment auquel les stratégies de Registre sont mises à jour.
Ce paramètre de stratégie affecte toutes les stratégies dans le dossier Modèles d’administration et toute autre stratégie qui enregistre des valeurs dans le Registre. Il se substitue aux paramètres personnalisés que le programme implémentant la stratégie de Registre a définis lorsqu’il a été installé.
Si vous activez ce paramètre de stratégie, vous pouvez utiliser les cases à cocher proposées pour modifier les options. Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, il n’a aucun impact sur le système.
L’option « Ne pas appliquer lors d’un traitement en arrière-plan régulier » empêche l’ordinateur de mettre à jour les stratégies concernées lorsqu’il est sollicité. Lorsque les mises à jour en tâche de fond sont désactivées, les changements de stratégie ne sont appliqués que lors de la prochaine ouverture de session utilisateur ou du prochain redémarrage du système.
L’option « Traiter même si les objets de stratégie de groupe n’ont pas changé » met à jour et applique à nouveau les stratégies même si celles-ci n’ont pas été modifiées. De nombreuses implémentations de stratégies prévoient une mise à jour uniquement en cas de modification. Vous pouvez toutefois souhaiter mettre à jour des stratégies inchangées, par exemple appliquer à nouveau un paramètre de stratégie souhaité après sa modification par un utilisateur.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Group Policy\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}- 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: GroupPolicy/CSE_Registry
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# 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 DWordDisable
# Disable: GroupPolicy/CSE_Registry
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": GroupPolicy/CSE_Registry
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}'
Remove-ItemProperty -Path $k -Name 'NoBackgroundPolicy' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoGPOListChanges' -ErrorAction SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Do not apply during periodic background processingNe pas appliquer lors d’un traitement en arrière-plan régulierCSE_NOBACKGROUND10 | 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_NOCHANGES10 | Check boxboolean | NoGPOListChanges | REG_DWORD | Checked: REG_DWORD = 0Unchecked: REG_DWORD = 1 |