Disable pre-release features or settings
Désactiver les fonctionnalités ou paramètres de pré-version
Explanation
This policy setting determines the level that Microsoft can experiment with the product to study user preferences or device behavior. A value of 1 permits Microsoft to configure device settings only. A value of 2 allows Microsoft to conduct full experimentations.
If you disable this policy setting, all experimentations will be turned off.
If you do not configure this policy setting, user can configure the “Let Microsoft try features on this build” option in Settings.
Ce paramètre de stratégie détermine le niveau que Microsoft peut expérimenter avec le produit afin d'étudier les préférences de l'utilisateur ou le comportement de l'appareil. Une valeur de 1 permet à Microsoft de configurer des paramètres d'appareil uniquement. Une valeur de 2 permet à Microsoft de réaliser des expérimentations complètes.
Si vous désactivez ce paramètre de stratégie, toutes les expérimentations seront désactivées.
Si vous ne configurez pas ce paramètre de stratégie, l'utilisateur peut configurer l'option “Laisser Microsoft essayer des fonctionnalités sur ce build” dans Paramètres.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PreviewBuilds- Value name
EnableConfigFlighting
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| 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/EnableExperimentation
$k = 'HKLM:\Software\Policies\Microsoft\Windows\PreviewBuilds'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableConfigFlighting' -Value 1 -Type DWord
#
# Possible options:
# Device settings only = 0
# Full experimentations = 1
Set-ItemProperty -Path $k -Name 'EnableExperimentation' -Value 1 -Type DWordDisable
# Disable: DataCollection/EnableExperimentation
$k = 'HKLM:\Software\Policies\Microsoft\Windows\PreviewBuilds'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableConfigFlighting' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": DataCollection/EnableExperimentation
$k = 'HKLM:\Software\Policies\Microsoft\Windows\PreviewBuilds'
Remove-ItemProperty -Path $k -Name 'EnableConfigFlighting' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EnableExperimentation' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| EnableExperimentation | Drop-down listenum | EnableExperimentation | REG_DWORD | Required · Default choice (UI): #1
|