Open in the explorer

Private network ranges for apps

Plages réseau privé pour les applications

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › Network Isolation FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Isolement réseau
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
NetworkIsolation.admx
Internal name
NetworkIsolation/WF_NetIsolation_PrivateSubnet

Explanation

This setting does not apply to desktop apps.

A comma-separated list of IP address ranges that are in your corporate network.

If you enable this policy setting, it ensures that apps with the Home/Work Networking capability have appropriate access to your corporate network. These addresses are only accessible to apps if and only if the app has declared the Home/Work Networking capability.

Windows Network Isolation attempts to automatically discover private network hosts. By default, the addresses configured with this policy setting are merged with the hosts that are declared as private through automatic discovery.

To ensure that these addresses are the only addresses ever classified as private, enable the "Subnet definitions are authoritative" policy setting.

If you disable or do not configure this policy setting, Windows Network Isolation attempts to automatically discover your private network hosts.

Example: 3efe:1092::/96,18.1.1.1/10

For more information see: http://go.microsoft.com/fwlink/p/?LinkId=234043

French text from Windows 11 26H2

Ce paramètre ne s’applique pas aux applications bureautiques.

Liste de plages d’adresses IP séparées par des virgules figurant dans votre réseau d’entreprise.

Si vous activez ce paramètre de stratégie, il veille à ce que les applications dotées de la fonctionnalité Réseau domestique/d’entreprise disposent de l’accès approprié à votre réseau d’entreprise. Ces adresses ne sont accessibles aux applications que si l’application a déclaré la fonctionnalité Réseau domestique/d’entreprise.

L’isolement réseau Windows tente de détecter automatiquement les hôtes de réseau privé. Par défaut, les adresses configurées avec ce paramètre de stratégie sont fusionnées avec les hôtes déclarés comme privés via la détection automatique.

Pour vous assurer que ces adresses sont les seules qui sont classifiées comme privées, activez le paramètre de stratégie « Les définitions de sous-réseau font autorité ».

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, l’isolement réseau Windows tente de détecter automatiquement vos hôtes de réseau privé.

Exemple : 3efe:1092::/96,18.1.1.1/10

Pour plus d’informations, consultez : http://go.microsoft.com/fwlink/p/?LinkId=234043

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkIsolation
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: NetworkIsolation/WF_NetIsolation_PrivateSubnet
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkIsolation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Private subnets
Set-ItemProperty -Path $k -Name 'DomainSubnets' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

# Revert to "Not configured": NetworkIsolation/WF_NetIsolation_PrivateSubnet
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkIsolation'
Remove-ItemProperty -Path $k -Name 'DomainSubnets' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Private subnetsSous-réseaux privésWF_NetIsolation_PrivateSubnetBoxText boxtextDomainSubnetsREG_SZ
Required · Max length: 16383

Availability