en-US windows-server computer

Turn on Remote Desktop IP Virtualization

Verified with Windows Server 2025 — updated on July 10, 2026

Windows Server 2025

Supported on: At least Windows Server 2008 R2

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Application Compatibility

Description

This policy setting specifies whether Remote Desktop IP Virtualization is turned on. By default, Remote Desktop IP Virtualization is turned off. If you enable this policy setting, Remote Desktop IP Virtualization is turned on. You can select the mode in which this setting is applied. If you are using Per Program mode, you must enter a list of programs to use virtual IP addresses. List each program on a separate line (do not enter any blank lines between programs). For example: explorer.exe mstsc.exe If you disable or do not configure this policy setting, Remote Desktop IP Virtualization is turned off.

Registry

HKLM SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP

Value name: EnableVirtualIP

Enabled: EnableVirtualIP = 1

Disabled: EnableVirtualIP = 0

More options available

Options

Turn on Remote Desktop IP Virtualization mode:
VirtualMode enum
  • Per Program -> 1 (default)
  • Per Session -> 0
Assign virtual IP addresses to these programs:
PerApp multiText

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Turn on Remote Desktop IP Virtualization
; State: Enabled
; Supported on: At least Windows Server 2008 R2

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP]
"EnableVirtualIP"=dword:00000001
"VirtualMode"=dword:00000001
"PerApp"=hex(7):00,00
; REG_MULTI_SZ: one string per input line; edit in regedit if you need richer formatting.
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Turn on Remote Desktop IP Virtualization
# State: Enabled
# Supported on: At least Windows Server 2008 R2

$path = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'EnableVirtualIP' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'VirtualMode' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'PerApp' -Value @() -Type MultiString
# REG_MULTI_SZ: one string per input line; edit in regedit if you need richer formatting.

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview