Open in the explorer

Prohibit adding and removing components for a LAN or remote access connection

Interdire l’ajout et la suppression des composants pour une connexion d’accès à distance ou réseau

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_AddRemoveComponents

Explanation

Determines whether administrators can add and remove network components for a LAN or remote access connection. This setting has no effect on nonadministrators.

If you enable this setting (and enable the "Enable Network Connections settings for Administrators" setting), the Install and Uninstall buttons for components of connections are disabled, and administrators are not permitted to access network components in the Windows Components Wizard.

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 Install and Uninstall buttons for components of connections in the Network Connections folder are enabled. Also, administrators can gain access to network components in the Windows Components Wizard.

The Install button opens the dialog boxes used to add network components. Clicking the Uninstall button removes the selected component in the components list (above the button).

The Install and Uninstall buttons appear in the properties dialog box for connections. These buttons are on the General tab for LAN connections and on the Networking tab for remote access connections.

Note: When the "Prohibit access to properties of a LAN connection", "Ability to change properties of an all user remote access connection", or "Prohibit changing properties of a private remote access connection" settings are set to deny access to the connection properties dialog box, the Install and Uninstall buttons for connections are blocked.

Note: Nonadministrators are already prohibited from adding and removing connection components, regardless of this setting.

French text from Windows 11 26H2

Détermine si les administrateurs peuvent ajouter et supprimer des composants réseau pour un réseau local ou une connexion d’accès à distance. Ce paramètre ne concerne pas les non administrateurs.

Si vous activez ce paramètre (ainsi que le paramètre « Activer les paramètres Connexions réseau pour les administrateurs »), les boutons Installer et Désinstaller des composants de connexions sont désactivés et les administrateurs ne sont pas autorisés à accéder aux composants réseau dans l’Assistant Composants Windows.

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, les boutons Installer et Désinstaller des composants de connexions dans le dossier Connexions réseau sont activés. Les administrateurs peuvent également obtenir l’accès aux composants réseau dans l’Assistant Composants Windows.

Le bouton Installer ouvre les boîtes de dialogue utilisées pour ajouter des composants réseau. Le fait de cliquer sur le bouton Désinstaller supprime le composant sélectionné dans la liste des composants (au-dessus du bouton).

Les boutons Installer et Désinstaller apparaissent dans la boîte de dialogue des propriétés des connexions. Ces boutons se trouvent dans l’onglet Général pour les connexions au réseau local et dans l’onglet Réseau pour les connexions d’accès à distance.

Remarque : lorsque les paramètres « Interdire l’accès aux propriétés d’une connexion au réseau local », « Possibilité de modifier les propriétés de la connexion d’accès à distance de tous les utilisateurs » ou « Interdire la modification des propriétés d’une connexion d’accès à distance privée » sont configurés pour refuser l’accès à la boîte de dialogue des propriétés de la connexion, les boutons Installer et Désinstaller des connexions sont bloqués.

Remarque : l’ajout et la suppression de composants de connexion sont interdits aux non administrateurs, quel que soit ce paramètre.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections
Value name
NC_AddRemoveComponents
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_AddRemoveComponents
$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_AddRemoveComponents' -Value 0 -Type DWord

Disable

# Disable: NetworkConnections/NC_AddRemoveComponents
$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_AddRemoveComponents' -Value 1 -Type DWord

Revert to "Not configured"

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

Availability