Subnet definitions are authoritative
Les définitions de sous-réseau font autorité
Explanation
This setting does not apply to desktop apps.
Turns off Windows Network Isolation's automatic discovery of private network hosts in the domain corporate environment.
If you enable this policy setting, it turns off Windows Network Isolation's automatic discovery of private network hosts in the domain corporate environment. Only network hosts within the address ranges configured via Group Policy will be classified as private.
If you disable or do not configure this policy setting, Windows Network Isolation attempts to automatically discover your private network hosts in the domain corporate environment.
For more information see: http://go.microsoft.com/fwlink/p/?LinkId=234043
Ce paramètre ne s’applique pas aux applications bureautiques.
Désactive la détection automatique d’hôtes de réseau privé par l’isolement réseau Windows dans l’environnement professionnel du domaine.
En activant ce paramètre de stratégie, vous désactivez la détection automatique d’hôtes de réseau privé par l’isolement réseau Windows dans l’environnement professionnel du domaine. Seuls les hôtes réseau figurant dans les plages d’adresses configurées via la stratégie de groupe sont classifiées comme privés.
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é dans l’environnement professionnel du domaine.
Pour plus d’informations, consultez : http://go.microsoft.com/fwlink/p/?LinkId=234043
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkIsolation- Value name
DSubnetsAuthoritive
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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: NetworkIsolation/WF_NetIsolation_Authoritative_Subnet
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkIsolation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DSubnetsAuthoritive' -Value 1 -Type DWordDisable
# Disable: NetworkIsolation/WF_NetIsolation_Authoritative_Subnet
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkIsolation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DSubnetsAuthoritive' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": NetworkIsolation/WF_NetIsolation_Authoritative_Subnet
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkIsolation'
Remove-ItemProperty -Path $k -Name 'DSubnetsAuthoritive' -ErrorAction SilentlyContinue