Enable sync health reporting for OneDrive
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
The OneDrive sync health dashboard provides reporting on sync app devices and health. This setting lets the OneDrive sync app compile sync device and health data into administrative reports. These reports allow you to proactively identify, investigate, and resolve common errors across an organization.
If you enable this setting, the OneDrive sync app will report device and health data into administrative reports. You must enable this setting on the devices you want to get reports from.
If you disable or do not configure this setting, OneDrive sync app device and health data will not appear in the OneDrive sync health dashboard.
Registre
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive- Nom de la valeur
EnableSyncAdminReports
| État | Valeur é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/EnableSyncAdminReports
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableSyncAdminReports' -Value 1 -Type DWordDésactiver
# Désactiver : OneDrive/EnableSyncAdminReports
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableSyncAdminReports' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : OneDrive/EnableSyncAdminReports
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
Remove-ItemProperty -Path $k -Name 'EnableSyncAdminReports' -ErrorAction SilentlyContinueApplication
Microsoft OneDrive (Microsoft) — modèles d'octobre 2026
Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.