en-US citrix user

Client hardware access

Citrix Workspace App

Supported on: All Citrix Workspace supported platforms

Description

Use this policy to specify maximum number of serial ports supported by the client platform. Also, use this policy to enable and restrict the remote application or desktop's access to the client’s serial, USB, and parallel ports. This allows the server to use locally attached hardware. Troubleshooting: Remote PDA synchronization uses "virtual COM ports". These are serial port connections that are routed through USB connections. It is necessary to enable serial port access to use PDA synchronization for this reason.

Registry

HKCU Software\Policies\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Serial Port

This policy sets several registry values:

COMAllowed
Enabled: COMAllowed = (not defined)
Disabled: COMAllowed = false
VirtualCOMPortEmulation
Enabled: VirtualCOMPortEmulation = (not defined)
Disabled: VirtualCOMPortEmulation = false
CPMAllowed
Enabled: CPMAllowed = (not defined)
Disabled: CPMAllowed = false

More options available

Options

Maximum serial ports
MaxPort text
Map serial ports
COMAllowed boolean - default: 1
Allow PDA synchronization
VirtualCOMPortEmulation boolean - default: 1
Map parallel ports
CPMAllowed boolean - default: 1

REG Builder

BETA

Configure the state and elements to generate .reg, PowerShell, Intune, and SCCM outputs.

These exports replicate the policy's registry effect. Editing the registry directly is not the same as applying the GPO through the management console (no gpupdate, no central reporting). Test before production; HKLM changes require administrator rights.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Client hardware access
; State: Enabled
; Supported on: All Citrix Workspace supported platforms

[HKEY_CURRENT_USER\Software\Policies\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Serial Port]
; "COMAllowed" = (not defined)
; "VirtualCOMPortEmulation" = (not defined)
; "CPMAllowed" = (not defined)
"MaxPort"=""
"COMAllowed"=dword:00000001
"VirtualCOMPortEmulation"=dword:00000001
"CPMAllowed"=dword:00000001