Select the network adapter to be used for Remote Desktop IP Virtualization
Sélectionner la carte réseau à utiliser pour la virtualisation IP des services Bureau à distance
Explanation
This policy setting specifies the IP address and network mask that corresponds to the network adapter used for virtual IP addresses. The IP address and network mask should be entered in Classless Inter-Domain Routing notation; for example, 192.0.2.96/24.
If you enable this policy setting, the specified IP address and network mask are used to select the network adapter used for the virtual IP addresses.
If you disable or do not configure this policy setting, Remote Desktop IP Virtualization is turned off. A network adapter must be configured for Remote Desktop IP Virtualization to work.
Ce paramètre de stratégie spécifie l’adresse IP et le masque de réseau qui correspondent à la carte réseau utilisée pour les adresses IP virtuelles. L’adresse IP et le masque de réseau doivent être entrés selon la norme de routage CIDR (Classless Inter-Domain Routing) ; par exemple, 192.0.2.96/24.
Si vous activez ce paramètre de stratégie, l’adresse IP et le masque de réseau spécifiés sont utilisés pour sélectionner la carte réseau utilisée pour les adresses IP virtuelles.
Si vous désactivez ce paramètre ou ne le configurez pas, la virtualisation des adresses IP des services Bureau à distance est désactivée. Il est nécessaire qu’une carte réseau soit configurée pour que la virtualisation des adresses IP des services Bureau à distance puisse fonctionner.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP- 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: terminalserver-server/TS_NET_ID_IP_VIRTUALIZATION
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Define IP address and network mask corresponding to the network adapter to be used for Remote Desktop IP Virtualization
Set-ItemProperty -Path $k -Name 'VIPAdapter' -Value '<value>' -Type StringDisable
# Disable: terminalserver-server/TS_NET_ID_IP_VIRTUALIZATION
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": terminalserver-server/TS_NET_ID_IP_VIRTUALIZATION
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP'
Remove-ItemProperty -Path $k -Name 'VIPAdapter' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Define IP address and network mask corresponding to the network adapter to be used for Remote Desktop IP Virtualization:Définir l’adresse IP et le masque de réseau correspondant à la carte réseau à utiliser pour la virtualisation IP des services Bureau à distance :TS_NET_ID_IP_VIRTUALIZATION | Text boxtext | VIPAdapter | REG_SZ | Required |