Objective
This article describes steps to enable COM port and LPT port redirection in Xendesktop 7.x
Background
COM port mapping and LPT port mapping are scheduled to be deprecated in the future releases of the product. For XenDesktop 7 it is still supported. However, this has been already moved under a different location in the registry to phase it out eventually.
Instructions
The steps to complete the task:
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
Note: When the preceding DWORD values are set to 1, the corresponding feature is enabled.
Use REGEDIT on XenDesktop 7.x VDA machines as follows:
Location: HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated
DWORD: AllowComPortRedirection
Value: 1
Location: HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated
DWORD: AutoConnectClientComPorts
Value: 1
Additional Resources
The following are the COM/LPT related IO and Virtual Channel policies and the new keys that need to be created to apply them:
Policy (DWORD Values) |
Registry Key |
Description |
---|---|---|
AllowComPortRedirection |
HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated\ |
Allow (prohibit) COM port redirection |
LimitComBw |
HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated\ |
Bandwidth limit for COM port redirection channel |
LimitComBWPercent |
HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated\ |
Bandwidth limit for COM port redirection channel as percent of total session bandwidth |
AllowLptPortRedirection |
HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated\ |
Allow (prohibit) LPT port redirection |
LimitLptBw |
HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated\ |
Bandwidth limit for LPT port redirection channel |
LimitLptBwPercent |
HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated\ |
Bandwidth limit for LPT port redirection channel as percent of total session bandwidth |
AutoConnectClientComPorts |
HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated\ |
Automatically connect COM ports from the client |
AutoConnectClientLptPorts |
HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated\ |
Automatically connect LPT ports from the client |