Allow sending diagnostic data
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
This policy configures whether sending of PowerToys diagnostic data is allowed. With diagnostic data sending allowed the user helps inform bug fixes, performance and improvements.
If this setting is enabled or not configured, the user can control diagnostic data sending in the PowerToys settings menu.
If this setting is disabled, diagnostic data sending is not allowed.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\PowerToysHKEY_CURRENT_USER\Software\Policies\PowerToys- Nom de la valeur
AllowDataDiagnostics
| É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.
Ordinateur (HKLM)
Activer
# Activer : PowerToys/AllowDiagnosticData
$k = 'HKLM:\Software\Policies\PowerToys'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowDataDiagnostics' -Value 1 -Type DWordDésactiver
# Désactiver : PowerToys/AllowDiagnosticData
$k = 'HKLM:\Software\Policies\PowerToys'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowDataDiagnostics' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : PowerToys/AllowDiagnosticData
$k = 'HKLM:\Software\Policies\PowerToys'
Remove-ItemProperty -Path $k -Name 'AllowDataDiagnostics' -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »
Application
Microsoft PowerToys (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.