Port Redirection in XenDesktop 7.x 1


If you are looking to configure COM or LPT redirection in XenDesktop 7.x, you might be at a loss when you find the policies aren’t where you’d expect them.  Fortunately, the functionality still exists, however its days are numbered.  Citrix has officially deprecated the feature and now requires that you add registry values to your master image in order to enable the functionality.  It should be noted that for desktops you’ll also need LA5252.
 
To enable COM port and LPT port redirection, add new registry keys of type REG_DWORD, as follows:
 

Key path: HKLMSoftwareCitrixGroupPolicyDefaultsDeprecated

Registry key

Description

Permitted values

AllowComPortRedirection

Allow or prohibit COM port redirection

1 (Allow) or 0 (Prohibit)

LimitComBw

Bandwidth limit for COM port redirection channel

Numeric value

LimitComBWPercent

Bandwidth limit for COM port redirection channel as a percentage of total session bandwidth

Numeric value between 0 and 100

AutoConnectClientComPorts

Automatically connect COM ports from the user device

1 (Allow) or 0 (Prohibit)

AllowLptPortRedirection

Allow or prohibit LPT port redirection

1 (Allow) or 0 (Prohibit)

LimitLptBw

Bandwidth limit for LPT port redirection channel

Numeric value

LimitLptBwPercent

Bandwidth limit for LPT port redirection channel as a percentage of total session bandwidth

Numeric value between 0 and 100

AutoConnectClientLptPorts

Automatically connect LPT ports from the user device

1 (Allow) or 0 (Prohibit)


Leave a comment

Your email address will not be published.

One thought on “Port Redirection in XenDesktop 7.x

  • Koen

    Hello,

    Very strange.
    A XenDesktop V7.5 environment is installed and configured.
    And the virtual desktop has O.S. Windows 8.1.
    By default I see in the registry HKLMHardwaredevicemapserialcomm CcmPort3 till CcmPort9.
    I doesn’t see them in the device manager (even with the DEVMGR_SHOW_NONPRESENT_DEVICES=1 and view hidden devices)
    But the COM ports 3 till 9 are in use.

    I thought in XD 7.x these functionality was disabled by default. I don’t understand it.

    Best regards,
    Koen.