Open in the explorer

Prevent the wizard from running.

Empêcher l’exécution de l’assistant.

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Add features to Windows 10 User Configuration › Policies › Administrative Templates › Windows Components › Add features to Windows 10 FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Processus d’ajout de fonctionnalités à Windows 10FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Processus d’ajout de fonctionnalités à Windows 10
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
WindowsAnytimeUpgrade.admx
Internal name
WindowsAnytimeUpgrade/Disabled

Explanation

By default, Add features to Windows 10 is available for all administrators.

If you enable this policy setting, the wizard will not run.

If you disable this policy setting or set it to Not Configured, the wizard will run.

French text from Windows 11 26H2

Par défaut, Ajouter des fonctionnalités à Windows 10 est mis à disposition de tous les administrateurs.

Si vous activez ce paramètre de stratégie, l’Assistant ne s’exécute pas.

Si vous désactivez ce paramètre de stratégie ou que vous lui attribuez la valeur Non configuré, l’Assistant s’exécute.

Registry

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\WAU
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\WAU
Value name
Disabled
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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.

Computer (HKLM)

Enable

# Enable: WindowsAnytimeUpgrade/Disabled
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\WAU'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Disabled' -Value 1 -Type DWord

Disable

# Disable: WindowsAnytimeUpgrade/Disabled
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\WAU'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Disabled' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsAnytimeUpgrade/Disabled
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\WAU'
Remove-ItemProperty -Path $k -Name 'Disabled' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability