Appendix A: Using Static IP Addresses for Remote Desktop IP Virtualization

Applies To: Windows Server 2008 R2

Instead of using DHCP, you can assign either a static IP address range or individual static IP addresses in the registry on the Remote Desktop Session Host (RD Session Host) server.

To assign a static IP address range

  1. Log on to RDSH-SRV as CONTOSO\Administrator.

  2. Click Start, and then click Run.

  3. Type regedit.exe and then click OK.

  4. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\TSAPPSrv\VirtualIP.

  5. Create a new REG_SZ registry setting named IPPool.

    1. Right-click VirtualIP, point to New, and then click String Value.

    2. Type IPPool and then press ENTER.

    3. Double-click IPPool, and in the Value data box, type “%SystemRoot%\system32\TSVIPool.dll” and then click OK.

  6. Create a new registry key named IPPool.

    1. Right-click VirtualIP, point to New, and then click Key.

    2. Type IPPool and then press ENTER.

  7. Create a new REG_SZ registry setting named Start.

    1. Right-click IPPool, point to New, and then click String Value.

    2. Type Start and then press ENTER.

    3. Double-click Start, and in the Value data box, type the starting IP address in the desired IP address range, and then click OK.

  8. Create a new REG_SZ registry setting named End.

    1. Right-click IPPool, point to New, and then click String Value.

    2. Type End and then press ENTER.

    3. Double-click End, and in the Value data box, type the ending IP address in the desired IP address range, and then click OK.

  9. Create a new REG_SZ registry setting named SubnetMask.

    1. Right-click IPPool, point to New, and then click String Value.

    2. Type SubnetMask and then press ENTER.

    3. Double-click SubnetMask, and in the Value data box, type the subnet mask for the desired IP address range, and then click OK.

  10. Close Registry Editor.

You can also assign specific IP addresses, as opposed to specifying an IP address range. If both the IP addresses and an IP address range exist, Remote Desktop IP Virtualization will use the specific IP addresses first.

To assign specific IP addresses

  1. Log on to RDSH-SRV as CONTOSO\Administrator.

  2. Click Start, and then click Run.

  3. Type regedit.exe and then click OK.

  4. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\TSAPPSrv\VirtualIP.

  5. Create a new registry key named IPPool.

    • Right-click VirtualIP, point to New, and then click Key.

    • Type IPPool and then press ENTER.

  6. Create a new multi-string registry setting named StaticIPList.

    1. Right-click IPPool, point to New, and then click Multi-String Value.

    2. Type StaticIPList and then press ENTER.

    3. Double-click Start, and in the Value data box, type the desired IP addresses, and then click OK.

  7. Close Registry Editor.