Open in the explorer

Turn off automatic update of ADM files

Désactiver la mise à jour automatique des fichiers ADM

Type
User
GPO path
User Configuration › Policies › Administrative Templates › System › Group Policy FR: Configuration utilisateur › Stratégies › Modèles d'administration › Système › Stratégie de groupe
Supported on
Windows Server 2003, Windows XP, and Windows 2000 only FR: Windows Server 2003, Windows XP et Windows 2000 uniquement
ADMX file
GroupPolicy.admx
Internal name
GroupPolicy/DisableAutoADMUpdate

Explanation

Prevents the system from updating the Administrative Templates source files automatically when you open the Group Policy Object Editor. Administrators might want to use this if they are concerned about the amount of space used on the system volume of a DC.

By default, when you start the Group Policy Object Editor, a timestamp comparison is performed on the source files in the local %SYSTEMROOT%\inf directory and the source files stored in the GPO. If the local files are newer, they are copied into the GPO.

Changing the status of this setting to Enabled will keep any source files from copying to the GPO.

Changing the status of this setting to Disabled will enforce the default behavior. Files will always be copied to the GPO if they have a later timestamp.

NOTE: If the Computer Configuration policy setting, "Always use local ADM files for the Group Policy Object Editor" is enabled, the state of this setting is ignored and always treated as Enabled.

French text from Windows 11 26H2

Empêche l’ordinateur de mettre à jour les fichiers sources des modèles d’administration quand vous ouvrez l’Éditeur d’objets de stratégie de groupe. Les administrateurs peuvent éventuellement recourir à ce paramètre de stratégie, s’ils sont préoccupés par l’espace utilisé sur le volume système d’un contrôleur de domaine.

Par défaut, lorsque vous démarrez l’Éditeur d’objets de stratégie de groupe, une comparaison de cachets de date est effectuée sur les fichiers sources dans le répertoire local %SYSTEMROOT%\inf et les fichiers sources stockés dans l’objet de stratégie de groupe. Si les fichiers locaux sont plus récents, ils sont copiés dans l’objet de stratégie de groupe.

La modification de l’état de ce paramètre sur Activé empêche toute copie des fichiers sources dans l’objet de stratégie de groupe.

La modification de l’état de ce paramètre sur Désactivé applique le comportement par défaut. Les fichiers sont toujours copiés dans l’objet de stratégie de groupe s’ils ont un cachet de date ultérieur.

REMARQUE : si le paramètre de stratégie de Configuration ordinateur « Toujours utiliser les fichiers ADM locaux pour l’Éditeur d’objets de stratégie de groupe » est activé, l’état de ce paramètre est ignoré et toujours considéré comme Activé.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Group Policy Editor
Value name
DisableAutoADMUpdate
StateValue written
Enablednot defined in the ADMX
Disablednot defined in the ADMX

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

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/DisableAutoADMUpdate
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Group Policy Editor'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'DisableAutoADMUpdate' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)

Disable

# Disable: GroupPolicy/DisableAutoADMUpdate
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Group Policy Editor'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'DisableAutoADMUpdate' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": GroupPolicy/DisableAutoADMUpdate
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Group Policy Editor'
Remove-ItemProperty -Path $k -Name 'DisableAutoADMUpdate' -ErrorAction SilentlyContinue

Availability