Domains categorized as both work and personal
Domaines catégorisés comme étant à la fois professionnels et personnels
Explanation
This setting does not apply to desktop apps.
A comma-separated list of domain names that can be used as both work or personal resource.
For more information see: http://go.microsoft.com/fwlink/p/?LinkId=234043
Ce paramètre ne s’applique pas aux applications de bureau.
Liste séparée par des virgules de noms de domaine pouvant être utilisés en tant que ressource professionnelle ou personnelle.
Pour plus d’informations, voir : 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_NeutralResources
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkIsolation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Neutral resources
Set-ItemProperty -Path $k -Name 'NeutralResources' -Value '<value>' -Type StringDisable
# Disable: NetworkIsolation/WF_NetIsolation_NeutralResources
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": NetworkIsolation/WF_NetIsolation_NeutralResources
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkIsolation'
Remove-ItemProperty -Path $k -Name 'NeutralResources' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Neutral resourcesRessources neutresWF_NetIsolation_NeutralResourcesBox | Text boxtext | NeutralResources | REG_SZ | Required · Max length: 16383 |