Part I of this blog post series describes what Remote Desktop IP Virtualization is all about, illustrates the scenarios where it can add value, lists the requirements for configuring a server in Remote Desktop IP Virtualization mode and details the steps involved in configuring per-program and per-session Remote Desktop IP Virtualization using Remote Desktop Services provider for Windows PowerShell.
Part II of this blog post series describes configuring RD IP Virtualization automatically on managed computers by using Group Policy objects.
This post explains how to do all this using the RDS Provider for Windows PowerShell .
Note: Only single network adapter scenarios are currently supported. If the server has multiple enabled network adapters, only the adapter selected in the settings will be used for Remote Desktop IP Virtualization.
Configuring IP Virtualization in Per Program ModeBy default, when Remote Desktop IP Virtualization is enabled, the server is configured on per-program mode (the value of VirtualIPMode being 1).
Note: This mode is of no practical significance if no programs are selected that use virtual IP addresses.
To choose applications that need a virtual IP address, create entries under the RDS: RDSConfigurationVirtualIPSettingsApplications node. An application can be virtualized by using either:
Type “New-Item –Path RDS: RDSConfigurationVirtualIPSettingsApplications” and then press ENTER. Enter the path of the application.
You can assign Virtual IPs to an application directly by using either the AppPath or AppName parameters directly as shown in the screen snapshots below:
Note: To remove a program from the list, say notepad.exe, type “Remove-Item –Path RDS:RDSConfigurationVirtualIPSettingsApplicationsnotepad.exe –Recurse” and then press ENTER.
The final step is to reboot the RDSH server so that new user sessions logging on will get virtual IP addresses for their virtualized applications.
Configuring IP Virtualization in Per Session Mode
To change the mode to per-session, type “Set-Item VirtualIPMode 0” and then press ENTER. Reboot the server to complete the configuration.
To disable RD IP Virtualization, type “Set-Item VirtualIPActive 0” and then press ENTER.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.