How to connect my USB reader in a virtual session when using VMware?

1 min. readlast update: 12.21.2020

While the reader may connect to the utility locally, it may not connect through a VMware session unless you redirect the USB port.  

An USB interface reader appears locally, by default, as a Human Interface Device (HID). On both Windows and Linux-based thin clients this defaulted connection can be fully redirected with some configuration changes.

The steps for these configuration changes are below.

Step 1:

Add the following lines to the .vmx file of the virtual machine and test:

usb.generic.allowHID=true

usb.generic.allowLastHID=true

(If the above does not achieve the redirection, move on to step 2).

Step 2:

The VID (Vendor ID) and PID (Product ID) of the connected reader found in the Device Manager are generally listed as:   

VID0C27

PID_3BFA

(Note: The above listed VID and PID may differ based on different models).

To ensure the VID and PID were included in the dropdown menu, add the following to the registry:

[HKEYLOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware VDM\USB]

AllowHardwareIDs=[REGMULTISZ]"VID0C27&PID_3BFA"

-------------------------------------------------------------------------------------------------------

See this link for VMware reference:

http://kb.vmware.com/kb/1011600

Please see this link for troubleshooting VMware USB connections:

https://kb.vmware.com/s/article/1004584?lang=en_US&queryTerm=KB+Article+1004584

Was this article helpful?