Open in the explorer

Remove Network Connections from Start Menu

Supprimer les Connexions réseau du menu Démarrer

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Start Menu and Taskbar FR: Configuration utilisateur › Stratégies › Modèles d'administration › Menu Démarrer et barre des tâches
Supported on
Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, and Windows 2000 FR: Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP et Windows 2000
ADMX file
StartMenu.admx
Internal name
StartMenu/NoNetAndDialupConnect

Explanation

This policy setting allows you to remove Network Connections from the Start Menu.

If you enable this policy setting, users are prevented from running Network Connections.

Enabling this policy setting prevents the Network Connections folder from opening. This policy setting also removes Network Connections from Settings on the Start menu.

Network Connections still appears in Control Panel and in File Explorer, but if users try to start it, a message appears explaining that a setting prevents the action.

If you disable or do not configure this policy setting, Network Connections is available from the Start Menu.

Also, see the "Disable programs on Settings menu" and "Disable Control Panel" policy settings and the policy settings in the Network Connections folder (Computer Configuration and User Configuration\Administrative Templates\Network\Network Connections).

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de supprimer Connexions réseau du menu Démarrer.

Si vous activez ce paramètre de stratégie, les utilisateurs ne peuvent pas exécuter Connexions réseau.

Le fait d’activer ce paramètre de stratégie empêche l’ouverture du dossier Connexions réseau. Ce paramètre de stratégie supprime également Connexions réseau de l’élément Paramètres dans le menu Démarrer.

Connexions réseau continue d’apparaître dans le Panneau de configuration et dans l’Explorateur de fichiers, mais si les utilisateurs essaient de le lancer, un message apparaît pour expliquer qu’un paramètre empêche l’opération.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Connexions réseau est disponible dans le menu Démarrer.

Consultez également les paramètres de stratégie « Désactiver les programmes du menu paramètres » et « Désactiver le Panneau de configuration », ainsi que les paramètres de stratégie dans le dossier Connexions réseau (Configuration de l’ordinateur et Configuration de l’utilisateur\Modèles d’administration\Réseau\Connexions réseau).

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
NoNetworkConnections
StateValue written
Enablednot defined in the ADMX
Disablednot defined in the ADMX

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

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: StartMenu/NoNetAndDialupConnect
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoNetworkConnections' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)

Disable

# Disable: StartMenu/NoNetAndDialupConnect
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoNetworkConnections' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": StartMenu/NoNetAndDialupConnect
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoNetworkConnections' -ErrorAction SilentlyContinue

Availability