USB instance ID has been changed after USB redirection
Article | Created: 22 Mar 2023 | Modified: 06 May 2023
Applicable Products
Citrix Virtual Apps and Desktops Service Citrix DaaS
Symptoms or Error
Orignal USB device instance ID has been modified when USB device has been redirected to VDA server.
Solution
Please configure below registry key to use the serial number as the instance ID:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\icausbb\Parameters
Name: DeviceInstanceIDOption
Type: REG_DWORD
Value: 2
Restart VDA for changes to take effect.
Problem Cause
An additional suffix will be added to the USB device instance after redirection, it's expected behavior.
The USB device instance path might have additional characters at the end of the path name
when the device is redirected on 7.6.300 and later version of the VDA. To change this behavior, add the
Product ID (PID) or Vendor ID (VID) to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\icausbb\Parameters
Name: DeviceInstanceIDOption
Type: REG_DWORD
Value: 0 (default value), 1, 2.
If “DeviceInstanceIDOption” is configured to “0” (0 being the default value), devices whose VID/PID pairs are configured to “UsingSerialNumberDevices” use the serial number as the instance ID. Other devices use “serial_number+Bus_number+port_number” as the instance ID.
If “DeviceInstanceIDOption” is configured to “1,” devices whose VID/PID pairs are configured to “UsingSerialNumberDevices” use “serial_number+Bus_number+port_number” as the instance ID. Other devices use the serial number as the instance ID.
If “DeviceInstanceIDOption” is configured to “2,” all devices use the serial number as the instance ID.
All other values are invalid and treated as “0.”