Open in the explorer

Minimize the number of simultaneous connections to the Internet or a Windows Domain

Minimiser le nombre de connexions simultanées à Internet ou à un domaine Windows

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › Windows Connection Manager FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Gestionnaire de connexions Windows
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
WCM.admx
Internal name
WCM/WCM_MinimizeConnections

Explanation

This policy setting determines if a computer can have multiple connections to the internet or to a Windows domain. If multiple connections are allowed, it then determines how network traffic will be routed.

If this policy setting is set to 0, a computer can have simultaneous connections to the internet, to a Windows domain, or to both. Internet traffic can be routed over any connection - including a cellular connection and any metered network. This was previously the Disabled state for this policy setting. This option was first available in Windows 8.

If this policy setting is set to 1, any new automatic internet connection is blocked when the computer has at least one active internet connection to a preferred type of network. Here's the order of preference (from most preferred to least preferred): Ethernet, WLAN, then cellular. Ethernet is always preferred when connected. Users can still manually connect to any network. This was previously the Enabled state for this policy setting. This option was first available in Windows 8.

If this policy setting is set to 2, the behavior is similar to 1. However, if a cellular data connection is available, it will always stay connected for services that require a cellular connection. When the user is connected to a WLAN or Ethernet connection, no internet traffic will be routed over the cellular connection. This option was first available in Windows 10 (Version 1703).

If this policy setting is set to 3, the behavior is similar to 2. However, if there's an Ethernet connection, Windows won't allow users to connect to a WLAN manually. A WLAN can only be connected (automatically or manually) when there's no Ethernet connection.

This policy setting is related to the "Enable Windows to soft-disconnect a computer from a network" policy setting.

French text from Windows 11 26H2

Ce paramètre de stratégie détermine si un ordinateur peut avoir plusieurs connexions à Internet ou à un domaine Windows. Si plusieurs connexions sont autorisées, elles déterminent la façon dont le trafic réseau est acheminé.

Si ce paramètre de stratégie est défini sur 0, un ordinateur peut avoir des connexions simultanées à Internet, à un domaine Windows ou aux deux. Le trafic Internet peut être acheminé via n'importe quelle connexion, y compris une connexion cellulaire et tout réseau limité. C'était auparavant l'état désactivé pour ce paramètre de stratégie. Cette option a été d'abord disponible dans Windows 8.

Si ce paramètre de stratégie a la valeur 1, toutes les nouvelles connexions Internet automatiques sont bloquées lorsque l'ordinateur dispose d'au moins une connexion Internet active au type de réseau préféré. Voici l'ordre de préférence (du plus favori au moins favori) : Ethernet, WLAN, puis réseau cellulaire. Ethernet est toujours préféré lorsque vous êtes connecté. Les utilisateurs peuvent toujours se connecter manuellement à n'importe quel réseau. C'était l'état activé pour ce paramètre de stratégie. Cette option a été d'abord disponible dans Windows 8.

Si ce paramètre de stratégie a la valeur 2, le comportement est similaire à 1. Cependant, si vous disposez d'une connexion de données cellulaire, elle reste toujours connectée pour les services qui nécessitent une connexion cellulaire. Lorsque l'utilisateur est connecté à une connexion WLAN ou Ethernet, aucun trafic Internet n'est acheminé vers la connexion cellulaire. Cette option a été d'abord disponible dans Windows 10 (version 1703).

Si ce paramètre de stratégie a la valeur 3, le comportement est similaire à 2. Cependant, s'il existe une connexion Ethernet, Windows n'autorise pas les utilisateurs à se connecter manuellement à un réseau local sans fil. Un réseau WLAN peut uniquement être connecté (automatiquement ou manuellement) Lorsqu'il n'y a pas de connexion Ethernet.

Ce paramètre de stratégie est associé au paramètre de stratégie « permettre à Windows de déconnecter au réseau un ordinateur d'un réseau ».

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WcmSvc\GroupPolicy
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: WCM/WCM_MinimizeConnections
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WcmSvc\GroupPolicy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Minimize Policy Options
# Possible options:
#   0 = Allow simultaneous connections = 0
#   1 = Minimize simultaneous connections = 1
#   2 = Stay connected to cellular = 2
#   3 = Prevent Wi-Fi when on Ethernet = 3
Set-ItemProperty -Path $k -Name 'fMinimizeConnections' -Value 2 -Type DWord

Disable

# Disable: WCM/WCM_MinimizeConnections
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": WCM/WCM_MinimizeConnections
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WcmSvc\GroupPolicy'
Remove-ItemProperty -Path $k -Name 'fMinimizeConnections' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Minimize Policy OptionsRéduire les options de stratégieWCM_MinimizeConnections_OptionsDrop-down listenumfMinimizeConnectionsREG_DWORD
Required · Default choice (UI): #2
LabelValue
0 = Allow simultaneous connectionsREG_DWORD = 0
1 = Minimize simultaneous connectionsREG_DWORD = 1
2 = Stay connected to cellularREG_DWORD = 2
3 = Prevent Wi-Fi when on EthernetREG_DWORD = 3

Availability