Tag Windows Customer Experience Improvement data with Study Identifier
Baliser les données du programme d’amélioration des services de Windows à l’aide de l’identificateur d’analyse
Explanation
This policy setting will enable tagging of Windows Customer Experience Improvement data when a study is being conducted.
If you enable this setting then Windows CEIP data uploaded will be tagged.
If you do not configure this setting or disable it, then CEIP data will not be tagged with the Study Identifier.
Ce paramètre de stratégie autorise le balisage des données du programme d’amélioration des services de Windows lorsqu’une analyse est effectuée.
Si vous activez ce paramètre, les données du programme d’amélioration des services de Windows seront balisées.
Si vous ne configurez pas ou si vous désactivez ce paramètre, les données du programme d’amélioration des services de Windows ne seront pas balisées à l’aide de l’identificateur d’analyse.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\SQMClient\Windows- Value name
StudyId
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX (see the options below) |
| Disabled | 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.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
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: CEIPEnable/StudyId
$k = 'HKLM:\Software\Policies\Microsoft\SQMClient\Windows'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'StudyId' -Value 1 -Type DWord # assumed value (not defined in the ADMX)
# Study Identifier
Set-ItemProperty -Path $k -Name 'StudyId' -Value 0 -Type DWordDisable
# Disable: CEIPEnable/StudyId
$k = 'HKLM:\Software\Policies\Microsoft\SQMClient\Windows'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'StudyId' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": CEIPEnable/StudyId
$k = 'HKLM:\Software\Policies\Microsoft\SQMClient\Windows'
Remove-ItemProperty -Path $k -Name 'StudyId' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Study Identifier:Identificateur d’analyse :StudyIdVal | Numeric boxdecimal | StudyId | REG_DWORD | Required |