Open in the explorer

Allow Desktop Analytics Processing

Autoriser le traitement Analyses du bureau

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 1809 FR: Windows Server 2016, Windows 10 version 1809 ou versions supérieures
ADMX file
DataCollection.admx
Internal name
DataCollection/AllowDesktopAnalyticsProcessing

Explanation

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.

French text from Windows 11 26H2

Cette stratégie est déconseillée et fonctionne uniquement sur la version 1809 de Windows 10. La configuration de ce paramètre n’aura aucun effet sur d’autres versions prises en charge de Windows.

Ce paramètre de stratégie, en association avec l’option Autoriser la télémétrie et configurer l’ID commercial, permet aux organisations de configurer l’appareil de sorte que Microsoft soit le processeur des données de diagnostic Windows collectées à partir de l’appareil, sous réserve des Conditions du produit accessibles sur https://go.microsoft.com/fwlink/?linkid=2185086.
Pour activer ce comportement :
1. Activez ce paramètre de stratégie
2. Joignez un compte Azure Active Directory à l’appareil
3. Définissez Autoriser la télémétrie sur la valeur 1 : Obligatoire ou supérieure
4. Définissez le paramètre Configurer l’ID commercial de votre espace de travail Desktop Analytics

Lorsque ces stratégies sont configurées, données de diagnostic Windows collectées à partir de l’appareil sont soumises aux engagements du processeur Microsoft.
Ce paramètre n’a aucun effet sur l’appareil, sauf s’il est correctement inscrit dans Desktop Analytics. Si vous désactivez ce paramètre de stratégie, les appareils n’apparaissent pas dans Desktop Analytics.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DataCollection
Value name
AllowDesktopAnalyticsProcessing
StateValue written
EnabledREG_DWORD = 2
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/AllowDesktopAnalyticsProcessing
$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 'AllowDesktopAnalyticsProcessing' -Value 2 -Type DWord

Disable

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

Revert to "Not configured"

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

Availability

Windows 10

✓ 22H2changed✓ 21H2✓ 21H1✓ 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server