Product Documentation

Configure COM Port and LPT Port Redirection settings using the registry

Feb 17, 2014

To signal Citrix' intention to deprecate COM and LPT support in a future major release, policy settings for COM Port and LPT Port Redirection have moved from Studio to the registry, and are now located under these registry keys on either your Master VDA image or your physical VDA machines:

  • For 32-bit OS, HKLM\Software\Citrix\GroupPolicy\Defaults\Deprecated
  • For 64-bit OS, HKLM\Software\WOW6432Node\Citrix\GroupPolicy\Defaults\Deprecated
To enable COM port and LPT port redirection, add new registry keys of type REG_DWORD, as follows:
Caution: Editing the registry incorrectly can cause serious problems that may 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.

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)

After configuring these settings, modify your machine catalogs to use the new master image or updated physical machine. Desktops are updated with the new settings the next time users log off.