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
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.
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 StringDisable
# 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 SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Desktop Analytics Custom Upload Endpoint:Point de terminaison de chargement personnalisé des Analyses du bureau :ConfigureMicrosoft365UploadEndpointValue | Text boxtext | ConfigureMicrosoft365UploadEndpoint | REG_SZ | Required |