Open in the explorer

Configure security policy processing

Configurer le traitement de la stratégie de sécurité

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Group Policy FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Stratégie de groupe
Supported on
At least Windows 2000 FR: Au minimum Windows 2000
ADMX file
GroupPolicy.admx
Internal name
GroupPolicy/CSE_Security

Explanation

This policy setting determines when security policies are updated.

This policy setting affects all policies that use the security component of Group Policy, such as those in Windows Settings\Security Settings.

This policy setting overrides customized settings that the program implementing the security 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 be 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.

French text from Windows 11 26H2

Ce paramètre de stratégie détermine le moment auquel les stratégies de sécurité sont mises à jour.

Ce paramètre de stratégie affecte toutes les stratégies qui utilisent le composant sécurité de la stratégie de groupe, telles que celles dans Paramètres de Windows\Paramètres de sécurité.

Ce paramètre de stratégie se substitue aux paramètres personnalisés que le programme implémentant la stratégie de sécurité 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\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}
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_Security
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}'
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 DWord

Disable

# Disable: GroupPolicy/CSE_Security
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": GroupPolicy/CSE_Security
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}'
Remove-ItemProperty -Path $k -Name 'NoBackgroundPolicy' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoGPOListChanges' -ErrorAction SilentlyContinue

Options (2)

LabelControlRegistry valueREG typeConstraints / details
Do not apply during periodic background processingNe pas appliquer lors d’un traitement en arrière-plan régulierCSE_NOBACKGROUND11Check boxbooleanNoBackgroundPolicyREG_DWORD
Checked: REG_DWORD = 1
Unchecked: 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_NOCHANGES11Check boxbooleanNoGPOListChangesREG_DWORD
Checked: REG_DWORD = 0
Unchecked: REG_DWORD = 1

Availability