Open in the explorer

Turn off Local Group Policy Objects processing

Désactiver le traitement des objets de stratégie de groupe locaux

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 Vista FR: Au minimum Windows Vista
ADMX file
GroupPolicy.admx
Internal name
GroupPolicy/DisableLGPOProcessing

Explanation

This policy setting prevents Local Group Policy Objects (Local GPOs) from being applied.

By default, the policy settings in Local GPOs are applied before any domain-based GPO policy settings. These policy settings can apply to both users and the local computer. You can disable the processing and application of all Local GPOs to ensure that only domain-based GPOs are applied.

If you enable this policy setting, the system does not process and apply any Local GPOs.

If you disable or do not configure this policy setting, Local GPOs continue to be applied.

Note: For computers joined to a domain, it is strongly recommended that you only configure this policy setting in domain-based GPOs. This policy setting will be ignored on computers that are joined to a workgroup.

French text from Windows 11 26H2

Ce paramètre de stratégie empêche l’application des objets de stratégie de groupe locaux.

Par défaut, les paramètres de stratégie des objets de stratégie de groupe locaux sont appliqués avant tout paramètre d’objet de stratégie de groupe de domaine. Ces paramètres de stratégie peuvent s’appliquer aux utilisateurs et à l’ordinateur local. Vous pouvez désactiver le traitement et l’application de tous les objets de stratégie de groupe locaux pour garantir que seuls les objets de stratégie de groupe de domaine sont appliqués.

Si vous activez ce paramètre de stratégie, le système ne traite pas et n’applique pas d’objets de stratégie de groupe locaux.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’application des objets de stratégie de groupe locaux est maintenue.

Remarque : il est vivement recommandé de configurer ce paramètre de stratégie uniquement dans les objets de stratégie de groupe basés sur des domaines pour les ordinateurs faisant partie d’un domaine. Ce paramètre de stratégie est ignoré sur les ordinateurs faisant partie d’un groupe de travail.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System
Value name
DisableLGPOProcessing
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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/DisableLGPOProcessing
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableLGPOProcessing' -Value 1 -Type DWord

Disable

# Disable: GroupPolicy/DisableLGPOProcessing
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableLGPOProcessing' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": GroupPolicy/DisableLGPOProcessing
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'DisableLGPOProcessing' -ErrorAction SilentlyContinue

Availability