Open in the explorer

Configure diagnostic data opt-in change notifications

Configurer les notifications de modification 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/ConfigureTelemetryOptInChangeNotification

Explanation

This policy setting controls whether notifications are shown, following a change to diagnostic data opt-in settings, on first logon and when the changes occur in settings.

If you set this policy setting to "Disable diagnostic data change notifications", diagnostic data opt-in change notifications will not appear.

If you set this policy setting to "Enable diagnostic data change notifications" or don't configure this policy setting, diagnostic data opt-in change notifications appear at first logon and when the changes occur in Settings.

French text from Windows 11 26H2

Ce paramètre de stratégie contrôle si les notifications sont affichées, à la suite d'une modification des paramètres d'acceptation des données de diagnostic, lors de la première connexion et lorsque les modifications sont apportées aux paramètres.

Si vous définissez ce paramètre de stratégie sur « Désactiver les notifications de modification des données de diagnostic », les notifications de modification d'acceptation des données de diagnostic n'apparaissent pas.

Si vous définissez ce paramètre de stratégie sur « Activer les notifications de modification des données de diagnostic » ou si vous ne configurez pas ce paramètre de stratégie, les notifications de modification d'acceptation des données de diagnostic apparaissent à la première connexion et lorsque les modifications se produisent dans les paramètres.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DataCollection
Value name
DisableTelemetryOptInChangeNotification
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/ConfigureTelemetryOptInChangeNotification
$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 'DisableTelemetryOptInChangeNotification' -Value 1 -Type DWord
#
# Possible options:
#   Disable diagnostic data change notifications = 1
#   Enable diagnostic data change notifications = 0
Set-ItemProperty -Path $k -Name 'DisableTelemetryOptInChangeNotification' -Value 1 -Type DWord

Disable

# Disable: DataCollection/ConfigureTelemetryOptInChangeNotification
$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 'DisableTelemetryOptInChangeNotification' -Value 0 -Type DWord

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
ConfigureTelemetryOptInChangeNotificationDrop-down listenumDisableTelemetryOptInChangeNotificationREG_DWORD
Required · Default choice (UI): #0
LabelValue
Disable diagnostic data change notificationsREG_DWORD = 1
Enable diagnostic data change notificationsREG_DWORD = 0

Availability

Windows Server