Open in the explorer

Configure diagnostic data opt-in settings user interface

Configurer l’interface utilisateur des paramètres d'acceptation des données de diagnostic

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Data Collection and Preview Builds FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Collecte des données et versions d’évaluation Preview
Supported on
At least Windows Server 2016, Windows 10 Version 1803 FR: Windows Server 2016, Windows 10 version 1803 ou versions supérieures
ADMX file
DataCollection.admx
Internal name
DataCollection/ConfigureTelemetryOptInSettingsUx

Explanation

This policy setting determines whether an end user can change diagnostic data settings in the Settings app.

If you set this policy setting to "Disable diagnostic data opt-in settings", diagnostic data settings are disabled in the Settings app.

If you don't configure this policy setting, or you set it to "Enable diagnostic data opt-in settings", end users can change the device diagnostic settings in the Settings app.

Note:
To set a limit on the amount of diagnostic data that is sent to Microsoft by your organization, use the "Allow Diagnostic Data" policy setting.

French text from Windows 11 26H2

Ce paramètre de stratégie détermine si un utilisateur final peut modifier les paramètres de données de diagnostic dans l’application Paramètres.

Si vous définissez ce paramètre de stratégie sur « Désactiver les paramètres d’abonnement aux données de diagnostic », les paramètres de données de diagnostic sont désactivés dans l’application Paramètres.

Si vous ne configurez pas ce paramètre de stratégie ou si vous le définissez sur « Activer les paramètres d’abonnement des données de diagnostic », les utilisateurs finaux peuvent modifier les paramètres de données de diagnostic de l’appareil dans l’application Paramètres.

Remarque :
Pour définir une limite du niveau de données de diagnostic envoyées à Microsoft par votre organisation, utilisez le paramètre de stratégie « Autoriser les données de diagnostic ».

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DataCollection
Value name
DisableTelemetryOptInSettingsUx
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: DataCollection/ConfigureTelemetryOptInSettingsUx
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableTelemetryOptInSettingsUx' -Value 1 -Type DWord
#
# Possible options:
#   Disable diagnostic data opt-in settings = 1
#   Enable diagnostic data opt-in setings = 0
Set-ItemProperty -Path $k -Name 'DisableTelemetryOptInSettingsUx' -Value 1 -Type DWord

Disable

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

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
ConfigureTelemetryOptInSettingsUxDrop-down listenumDisableTelemetryOptInSettingsUxREG_DWORD
Required · Default choice (UI): #0
LabelValue
Disable diagnostic data opt-in settingsREG_DWORD = 1
Enable diagnostic data opt-in setingsREG_DWORD = 0

Availability

Windows Server