Open in the explorer

Configure diagnostic data upload endpoint for Desktop Analytics

Configurer le point de terminaison de chargement de données de diagnostic pour les 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/ConfigureMicrosoft365UploadEndpoint

Explanation

This policy sets the upload endpoint for this device’s diagnostic data as part of the Desktop Analytics program.

If your organization is participating in the program and has been instructed to configure a custom upload endpoint, then use this setting to define that endpoint.
The value for this setting will be provided by Microsoft as part of the onboarding process for the program.

French text from Windows 11 26H2

Cette stratégie définit le point de terminaison du chargement pour les données de diagnostic de cet appareil dans le cadre du programme Analyses du bureau.
Si votre organisation participe au programme et a reçu l'instruction de configurer un point de terminaison de chargement personnalisé, utilisez ce paramètre pour définir ce point de terminaison.
La valeur de ce paramètre sera fournie par Microsoft dans le cadre du processus d'intégration du programme.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DataCollection
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.

Enable

# Enable: DataCollection/ConfigureMicrosoft365UploadEndpoint
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Desktop Analytics Custom Upload Endpoint
Set-ItemProperty -Path $k -Name 'ConfigureMicrosoft365UploadEndpoint' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Desktop Analytics Custom Upload Endpoint:Point de terminaison de chargement personnalisé des Analyses du bureau :ConfigureMicrosoft365UploadEndpointValueText boxtextConfigureMicrosoft365UploadEndpointREG_SZ
Required

Availability

Windows 10

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

Windows Server