Allow Desktop Analytics Processing
Autoriser le traitement Analyses du bureau
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.
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 2 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert to "Not configured"
# Revert to "Not configured": DataCollection/AllowDesktopAnalyticsProcessing
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection'
Remove-ItemProperty -Path $k -Name 'AllowDesktopAnalyticsProcessing' -ErrorAction SilentlyContinue