Open in the explorer

Prohibit Enabling/Disabling components of a LAN connection

Interdire l’activation/désactivation des composants d’une connexion au réseau local

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Network › Network Connections FR: Configuration utilisateur › Stratégies › Modèles d'administration › Réseau › Connexions réseau
Supported on
Microsoft Windows Server 2003, Windows XP, and Windows 2000 Service Pack 1 operating systems only FR: Systèmes d’exploitation Microsoft Windows Server 2003, Windows XP et Windows 2000 Service Pack 1 uniquement
ADMX file
NetworkConnections.admx
Internal name
NetworkConnections/NC_ChangeBindState

Explanation

Determines whether administrators can enable and disable the components used by LAN connections.

If you enable this setting (and enable the "Enable Network Connections settings for Administrators" setting), the check boxes for enabling and disabling components are disabled. As a result, administrators cannot enable or disable the components that a connection uses.

Important: If the "Enable Network Connections settings for Administrators" is disabled or not configured, this setting will not apply to administrators on post-Windows 2000 computers.

If you disable this setting or do not configure it, the Properties dialog box for a connection includes a check box beside the name of each component that the connection uses. Selecting the check box enables the component, and clearing the check box disables the component.

Note: When the "Prohibit access to properties of a LAN connection" setting is enabled, users are blocked from accessing the check boxes for enabling and disabling the components of a LAN connection.

Note: Nonadministrators are already prohibited from enabling or disabling components for a LAN connection, regardless of this setting.

French text from Windows 11 26H2

Détermine si les administrateurs peuvent activer et désactiver les composants utilisés par les connexions au réseau local.

Si vous activez ce paramètre (ainsi que le paramètre « Activer les paramètres Connexions réseau pour les administrateurs »), les cases à cocher d’activation et de désactivation des composants sont désactivées. Les administrateurs ne peuvent donc pas activer ou désactiver les composants qu’une connexion utilise.

Important : si le paramètre « Activer les paramètres Connexions réseau pour les administrateurs » est désactivé ou n’est pas configuré, ce paramètre ne s’appliquera pas aux administrateurs sur les ordinateurs sur lesquels une version postérieure à Windows 2000 est installée.

Si vous désactivez ce paramètre ou si vous ne le configurez pas, la boîte de dialogue des propriétés d’une connexion inclut une case à cocher située en regard du nom de chaque composant que la connexion utilise. L’activation de la case à cocher active le composant tandis que sa désactivation désactive le composant.

Remarque : lorsque le paramètre « Interdire l’accès aux propriétés d’une connexion au réseau local » est activé, les utilisateurs ne peuvent pas accéder aux cases à cocher d’activation et de désactivation des composants d’une connexion au réseau local.

Remarque : l’activation ou la désactivation des composants d’une connexion réseau n’est pas autorisée aux non administrateurs, quel que soit ce paramètre.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections
Value name
NC_ChangeBindState
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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: NetworkConnections/NC_ChangeBindState
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NC_ChangeBindState' -Value 0 -Type DWord

Disable

# Disable: NetworkConnections/NC_ChangeBindState
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NC_ChangeBindState' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": NetworkConnections/NC_ChangeBindState
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Network Connections'
Remove-ItemProperty -Path $k -Name 'NC_ChangeBindState' -ErrorAction SilentlyContinue

Availability