Open in the explorer

Send required and optional diagnostic data about browser usage

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge User Configuration › Policies › Administrative Templates › Microsoft Edge
Supported on
Microsoft Edge version 122, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/DiagnosticData

Explanation

This policy controls sending required and optional diagnostic data about browser usage to Microsoft.

Required diagnostic data is collected to keep Microsoft Edge secure, up to date and performing as expected.

Optional diagnostic data includes data about how you use the browser, websites you visit, and crash reports to Microsoft for product and service improvement.

Up to Microsoft Edge version 121, this policy isn't supported on Windows 10 devices. To control this data collection on Windows 10 for 121 and previous, IT admins must use the Windows diagnostic data group policy. This policy can either be 'Allow Telemetry' or 'Allow Diagnostic Data', depending on the version of Windows. Learn more about Windows 10 diagnostic data collection: https://go.microsoft.com/fwlink/?linkid=2099569

For Microsoft Edge version 122 and later, this policy is supported on Windows 10 devices to allow controlling Microsoft Edge data collection separately from Windows 10 diagnostics data collection.

Use one of the following settings to configure this policy:

'Off' turns off required and optional diagnostic data collection. This option isn't recommended.

'RequiredData' sends required diagnostic data but turns off optional diagnostic data collection. Microsoft Edge sends required diagnostic data to keep Microsoft Edge secure, up to date and performing as expected.

'OptionalData' sends optional diagnostic data includes data about browser usage, websites that are visited, crash reports sent to Microsoft for product and service improvement.

On Windows 7/macOS, this policy controls sending required and optional data to Microsoft.

If you don't configure this policy or disable it, Microsoft Edge defaults to the user's preference.

Policy options mapping:

* Off (0) = Off (Not recommended)

* RequiredData (1) = Required data

* OptionalData (2) = Optional data

Use the preceding information when configuring this policy.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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.

Computer (HKLM)

Enable

# Enable: msedge/DiagnosticData
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Send required and optional diagnostic data about browser usage
# Possible options:
#   Off (Not recommended) = 0
#   Required data = 1
#   Optional data = 2
Set-ItemProperty -Path $k -Name 'DiagnosticData' -Value 0 -Type DWord

Disable

# Disable: msedge/DiagnosticData
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": msedge/DiagnosticData
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'DiagnosticData' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Send required and optional diagnostic data about browser usageDiagnosticDataDrop-down listenumDiagnosticDataREG_DWORD
LabelValue
Off (Not recommended)REG_DWORD = 0
Required dataREG_DWORD = 1
Optional dataREG_DWORD = 2

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.