Open in the explorer

Ability to rename LAN connections

Possibilité de renommer des connexions 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
Windows Server 2003, Windows XP, and Windows 2000 only FR: Windows Server 2003, Windows XP et Windows 2000 uniquement
ADMX file
NetworkConnections.admx
Internal name
NetworkConnections/NC_RenameLanConnection

Explanation

Determines whether nonadministrators can rename a LAN connection.

If you enable this setting, the Rename option is enabled for LAN connections. Nonadministrators can rename LAN connections by clicking an icon representing the connection or by using the File menu.

If you disable this setting, the Rename option is disabled for nonadministrators only.

If you do not configure this setting, only Administrators and Network Configuration Operators can rename LAN connections

Note: This setting does not apply to Administrators.

Note: When the "Ability to rename LAN connections or remote access connections available to all users" setting is configured (set to either enabled or disabled), this setting does not apply.

French text from Windows 11 26H2

Détermine si les non administrateurs peuvent renommer une connexion au réseau local.

Si vous activez ce paramètre, l’option Renommer est activée pour les connexions au réseau local. Les non administrateurs peuvent renommer les connexions au réseau local en cliquant sur une icône représentant la connexion ou en utilisant le menu Fichier.

Si vous désactivez ce paramètre, l’option Renommer est désactivée pour les non administrateurs uniquement.

Si vous ne configurez pas ce paramètre, seuls les administrateurs et les opérateurs de configuration réseau peuvent renommer les connexions au réseau local.

Remarque : ce paramètre ne s’applique pas aux administrateurs.

Remarque : lorsque le paramètre « Possibilité de renommer les connexions par réseau local ou les connexions réseau à distance disponibles à tous les utilisateurs » est configuré (défini à Activé ou Désactivé), ce paramètre ne s’applique pas.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections
Value name
NC_RenameLanConnection
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: NetworkConnections/NC_RenameLanConnection
$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_RenameLanConnection' -Value 1 -Type DWord

Disable

# Disable: NetworkConnections/NC_RenameLanConnection
$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_RenameLanConnection' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability