Open in the explorer

Configure the Commercial ID

Configurer l’ID commercial

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 FR: Au moins Windows Server 2016, Windows 10
ADMX file
DataCollection.admx
Internal name
DataCollection/CommercialIdPolicy

Explanation

This policy setting defines the identifier used to uniquely associate this device’s diagnostic data data as belonging to a given organization. If your organization is participating in a program that requires this device to be identified as belonging to your organization then use this setting to provide that identification. The value for this setting will be provided by Microsoft as part of the onboarding process for the program.

If you disable or do not configure this policy setting, then Microsoft will not be able to use this identifier to associate this machine and its diagnostic data data with your organization.

French text from Windows 11 26H2

Ce paramètre de stratégie définit l’identificateur utilisé pour associer de façon unique les données de diagnostic de cet appareil à une organisation donnée. Si votre organisation participe à un programme qui nécessite l’identification de cet appareil comme appartenant à votre organisation, utilisez ce paramètre pour fournir cette identification. La valeur de ce paramètre est fournie par Microsoft dans le cadre du processus d’intégration au programme.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Microsoft ne peut pas utiliser cet identificateur pour associer cet ordinateur et ses données de diagnostic à votre organisation.

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/CommercialIdPolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DataCollection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Commercial Id
Set-ItemProperty -Path $k -Name 'CommercialId' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Commercial Id:ID commercial :CommercialIdValueText boxtextCommercialIdREG_SZ
Required

Availability