Open in the explorer

Do not display network selection UI

Ne pas afficher l’interface utilisateur de sélection de réseau

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Logon FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Ouverture de session
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
Logon.admx
Internal name
Logon/DontDisplayNetworkSelectionUI

Explanation

This policy setting allows you to control whether anyone can interact with available networks UI on the logon screen.

If you enable this policy setting, the PC's network connectivity state cannot be changed without signing into Windows.

If you disable or don't configure this policy setting, any user can disconnect the PC from the network or can connect the PC to other available networks without signing into Windows.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de contrôler s’il est possible d’interagir avec l’interface utilisateur des réseaux disponibles dans l’écran d’ouverture de session.

Si vous activez ce paramètre de stratégie, l’état de connectivité réseau du PC ne peut pas être modifié sans se connecter à Windows.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, tout utilisateur peut déconnecter le PC du réseau ou peut connecter le PC à d’autres réseaux disponibles sans se connecter à Windows.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System
Value name
DontDisplayNetworkSelectionUI
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: Logon/DontDisplayNetworkSelectionUI
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DontDisplayNetworkSelectionUI' -Value 1 -Type DWord

Disable

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

Revert to "Not configured"

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

Availability