en-US windows computer user

Configure collection of browsing data for Desktop Analytics

Verified with Windows 11 26H2 — updated on July 30, 2026 Supported on: Microsoft Edge on Windows 10, Version 1803 or later

Windows 11 26H2

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Data Collection and Preview Builds

Registry

HKLM Software\Microsoft\Windows\CurrentVersion\Policies\DataCollection
HKCU Software\Microsoft\Windows\CurrentVersion\Policies\DataCollection

MDM / Intune (CSP)

Device ./Device/Vendor/MSFT/Policy/Config/Browser/ConfigureTelemetryForMicrosoft365Analytics
User ./User/Vendor/MSFT/Policy/Config/Browser/ConfigureTelemetryForMicrosoft365Analytics
DeviceUser Since Windows 10, version 1809 [10.0.17763] and later Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

CSP values
  • 0 (Default) - No data collected or sent.
  • 1 - Send intranet history only.
  • 2 - Send Internet history only.
  • 3 - Send both intranet and Internet history.

Options

Configure telemetry collection
MicrosoftEdgeDataOptIn enum
  • 0 Do not allow sending intranet or internet history default
  • 1 Allow sending intranet history only
  • 2 Allow sending internet history only
  • 3 Allow sending both intranet and internet history

Description

You can configure Microsoft Edge to send intranet history only, internet history only, or both to Desktop Analytics for enterprise devices with a configured Commercial ID. If disabled or not configured, Microsoft Edge does not send browsing history data to Desktop Analytics. Supported versions: Microsoft Edge on Windows 10, version 1809 Default setting: Disabled or not configured (no data collected or sent)

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO. ⓘ

Scope

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Configure collection of browsing data for Desktop Analytics
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: Microsoft Edge on Windows 10, Version 1803 or later

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\DataCollection]
"MicrosoftEdgeDataOptIn"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Configure collection of browsing data for Desktop Analytics
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: Microsoft Edge on Windows 10, Version 1803 or later

$path = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\DataCollection'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'MicrosoftEdgeDataOptIn' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview