Ouvrir dans l'explorateur

Prevent users at your organization from changing the ignore list

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › OneDrive EN : Computer Configuration › Policies › Administrative Templates › OneDrive
Pris en charge sur
At least Windows Server 2016, Windows 10 Version 1709
Fichier ADMX
OneDrive.admx
Nom interne
OneDrive/DisableChangesToODIgnoreList

Explication

This setting prevents users from modifying the list of files/folders that are excluded from being uploaded to OneDrive or SharePoint.

If you enable this setting, The UI that allows users to add or remove keywords from the ignore list will be hidden. Existing GPO ignore rules and default rules will be visible but uneditable. The OneDrive sync app must be restarted after this setting is enabled for the setting to take effect.

If you disable or do not configure this setting, the UI that allows users to add or remove keywords from the ignore list will be visible and users can choose to add or remove ignore rules with the exception that GPO rules remain uneditable.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive
Nom de la valeur
DisableChangesToODIgnoreList
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : OneDrive/DisableChangesToODIgnoreList
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableChangesToODIgnoreList' -Value 1 -Type DWord

Désactiver

# Désactiver : OneDrive/DisableChangesToODIgnoreList
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableChangesToODIgnoreList' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : OneDrive/DisableChangesToODIgnoreList
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
Remove-ItemProperty -Path $k -Name 'DisableChangesToODIgnoreList' -ErrorAction SilentlyContinue

Application

Microsoft OneDrive (Microsoft) — modèles d'octobre 2026

Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.