How to Re-Enable COM Port and LPT Port Redirection

How to Re-Enable COM Port and LPT Port Redirection

book

Article ID: CTX139345

calendar_today

Updated On:

Description

This article describes steps to enable COM port and LPT port redirection in VDA versions 7.0 through 7.8. Other VDA versions can use the policies available in Studio, which are documented in the "Port redirection policy settings" section of product documentation


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

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Issue/Introduction

How to Enable COM Port and LPT Port Redirection in in XenApp and XenDesktop 7.x

Additional Information

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

Citrix Discussions - COM Port Redirection