Open in the explorer

Prohibit access of the Windows Connect Now wizards

Interdire l’accès aux Assistants Windows Connect Now

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Network › Windows Connect Now FR: Configuration utilisateur › Stratégies › Modèles d'administration › Réseau › Windows Connect Now
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
WindowsConnectNow.admx
Internal name
WindowsConnectNow/WCN_DisableWcnUi_1

Explanation

This policy setting prohibits access to Windows Connect Now (WCN) wizards.

If you enable this policy setting, the wizards are turned off and users have no access to any of the wizard tasks. All the configuration related tasks, including "Set up a wireless router or access point" and "Add a wireless device" are disabled.

If you disable or do not configure this policy setting, users can access the wizard tasks, including "Set up a wireless router or access point" and "Add a wireless device." The default for this policy setting allows users to access all WCN wizards.

French text from Windows 11 26H2

Ce paramètre de stratégie interdit l’accès aux Assistants Windows Connect Now.

Si vous activez ce paramètre de stratégie, les Assistants sont désactivés et les utilisateurs n’ont accès à aucune des tâches des Assistants. Toutes les tâches liées à la configuration, notamment la configuration d’un routeur ou d’un point d’accès sans fil et l’ajout d’un périphérique sans fil, sont désactivées.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les utilisateurs peuvent accéder aux tâches des Assistants, notamment la configuration d’un routeur ou d’un point d’accès sans fil et l’ajout d’un périphérique sans fil. La valeur par défaut de ce paramètre de stratégie autorise les utilisateurs à accéder à tous les Assistants Windows Connect Now.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WCN\UI
Value name
DisableWcnUi
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.

Enable

# Enable: WindowsConnectNow/WCN_DisableWcnUi_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\WCN\UI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableWcnUi' -Value 1 -Type DWord

Disable

# Disable: WindowsConnectNow/WCN_DisableWcnUi_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\WCN\UI'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableWcnUi' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsConnectNow/WCN_DisableWcnUi_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\WCN\UI'
Remove-ItemProperty -Path $k -Name 'DisableWcnUi' -ErrorAction SilentlyContinue

Availability