HID and some other type of USB device fail to redirect

HID and some other type of USB device fail to redirect

book

Article ID: CTX234916

calendar_today

Updated On:

Description

Setting a USB device to Generic USB redirection fails.

Redirecting a devices like HID type devices may fail to redirect.  Explicitly setting Citrix XenApp/XenDesktop policies in Studio or AD to allow Client USB deivce redirection and setting Client USB device redirection rules - and is noted that device fails to appear in Desktop Viewer or appears as Policy Restricted.

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.

Resolution

Registry setting DeviceRules on the client computer take precedent over Citrix Studio, AD, and Receiver.admx policies.  (The client computer is the computer with Receiver for Windows installed).

Review the registry data on the client computer in the registry setting DeviceRules.
Path: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Citrix\ICA Client\GenericUSB
Name: DeviceRules
Type: REG_MULTI_SZ

Observe that specific devices classes and subclasses are denied in the DeviceRules setting.

If the device class you are attempting to redirect is listed as Deny in the DeviceRules- then create a new entry above the Deny related to device class or place a # in front of the target class / subclass or delete the entry to remove the device rule that is blocking the redirection.

A walkthrough - How to enable Imprivata HDW-IMP-60 device.

Step 1.  Review the device on the client computer.  Record the class, subclass, VID and PID settings.  Open device manager and find the target USB device.

User-added image

The target device has a Class 03 and SubClass 01.  Note this matches a DENY rule in the client registry DeviceRules.

User-added image

Modify the DeviceRules registry entry on the client computer (highlighted below).  Add an ALLOW rule for the target device above the DENY rule that matches the class and subclass or optionally comment the line with a '#' character ...

User-added image

Now create a Client USB device redirection and Client USB device redirection rules policy that applies to the target.

User-added image

Once the policy applies and the client computer registry is modified now the device appears in Device manager as a Generic device.  The device is ready for redirection as a generic device.

User-added image

After selecting the Redirect in the Device manager the device is available in the VDA ICA session.  Open device manager on the VDA and confirm that the Imprivata HID type device appears in the VDA session- by reviewing the VID and PID of the device.

User-added image
 

Problem Cause

DeviceRules registry setting take precedent over Citrix policies in Studio, AD and Receiver.admx policies on the client computer.

Issue/Introduction

Setting Studio Client USB device policies fail to redirect specific USB class