en-US citrix computer

RemoveOnLock

Citrix Workspace App

Supported on: All Citrix Workspace supported platforms

Description

Specifies devices or classes to remove when the client machine is locked. Syntax: Each device is case-insensitive and of the form VID=XXX PID=XX;VID=YYY PID=YY Each class is case-insensitive and of the form class=XXX subclass=XX prot=X Example: class=03 subclass=01 prot=01;VID=173E PID=0046 Default Behavior: HID Keyboards and Mouse (class=03 subclass=01 prot=01;class=03 subclass=01 prot=02;class=03 subclass=00 prot=01;class=03 subclass=00 prot=02) are removed and auto redirected during client lock and unlock.

Registry

HKLM Software\Policies\Citrix\ICA Client\GenericUSB

More options available

Options

RemoveOnLock
RemoveOnLock text

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: RemoveOnLock
; State: Enabled
; Supported on: All Citrix Workspace supported platforms

[HKEY_LOCAL_MACHINE\Software\Policies\Citrix\ICA Client\GenericUSB]
"RemoveOnLock"=""