en-US windows computer

Allow Desktop Analytics Processing

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: At least Windows Server 2016, Windows 10 Version 1809

Path in the GPO console

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

Description

This policy is deprecated and will only work on Windows 10 version 1809. Setting this policy will have no effect for other supported versions of Windows. This policy setting, in combination with the Allow Telemetry and Configure the Commercial ID, enables organizations to configure the device so that Microsoft is the processor for Windows diagnostic data collected from the device, subject to the Product Terms at https://go.microsoft.com/fwlink/?linkid=2185086. To enable this behavior: 1. Enable this policy setting 2. Join an Azure Active Directory account to the device 3. Set Allow Telemetry to value 1 - Required, or higher 4. Set the Configure the Commercial ID setting for your Desktop Analytics workspace When these policies are configured, Windows diagnostic data collected from the device will be subject to Microsoft processor commitments. This setting has no effect on devices unless they are properly enrolled in Desktop Analytics. If you disable this policy setting, devices will not appear in Desktop Analytics.

Registry

HKLM Software\Policies\Microsoft\Windows\DataCollection

Value name: AllowDesktopAnalyticsProcessing

Enabled: AllowDesktopAnalyticsProcessing = 2

Disabled: AllowDesktopAnalyticsProcessing = 0

MDM / Intune (CSP)

./Device/Vendor/MSFT/Policy/Config/System/AllowDesktopAnalyticsProcessing
Device Since Windows 10, version 1809 with KB4551853 [10.0.17763.1217] and later | Windows 10, version 1903 with KB4556799 [10.0.18362.836] and later | Windows 11, version 21H2 [10.0.22000] and later Official mapping (Microsoft Learn)

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

CSP values
  • 0 (Default) - Disabled.
  • 2 - Allowed.

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.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Allow Desktop Analytics Processing
; State: Enabled
; Supported on: At least Windows Server 2016, Windows 10 Version 1809

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

PowerShell

# Exported from gporais.com
# Policy: Allow Desktop Analytics Processing
# State: Enabled
# Supported on: At least Windows Server 2016, Windows 10 Version 1809

$path = 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'AllowDesktopAnalyticsProcessing' -Value 2 -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