USB Passthrough

avatar

I am on Windows 11 and I have a USB device that I want to passthrough to the Remote Desktop. I go to Properties for the RD, Local Resources, Other supported RemoteFX devices. The device is listed there. I select it. But it still does not passthrough to the RD. What am I missing?

All Comments (9)

avatar

Hello,

Could you please specify the exact USB device you are trying to passthrough? I’d like to attempt to reproduce the issue on my end, as we may have a similar device available.

Best regards,

Carl Marien

avatar

It is an Android Scan Gun, Honeywell CT60. I am plugging in the dock. It is basically an Android phone with a barcode reader attached.

avatar

Hello,

I believe we have one of those devices on hand.

Just to confirm the Android device is connected to the computer and used as a scan gun during a remote session, correct?

I’ll attempt to recreate the issue on my end. In the meantime, I wanted to mention that it’s also possible to use RDM directly on the Android device to connect to a remote session. That might serve as a more effective workaround for your needs.

Best regards,

Carl Marien

avatar

I am developing an app using Android Studio and want to use the USB connection to connect to the device to debug the app.

avatar

Hello,

Understood. May I ask if the scanner works correctly on the local computer when using your app? Additionally, do you know of any application I could use to replicate this behavior on my end?

Best regards,

Carl Marien

avatar

I'm not really testing the scan capabilities.

If you install Android Studio (I believe it comes with a sample app) on a Windows VM connected via Remote Desktop. Plug the dock into the USB port. See if you can get Android Studio to recognize the device. You really don't even need to test to make sure the app works, just that Android Studio will see the device.

Or I guess you don't even need to go that far. Just check the USB connections in the USB icon in the lower right corner to see if the device is recognized.

avatar

Hello,

I’ve continued my investigation and reached out to the development team.

Could you let us know if you’re able to achieve what you need using MSTSC?

USB redirection appears to be somewhat limited and if it doesn’t work with MSTSC, it’s unlikely to work with RDM either.

Best regards,

Carl Marien

avatar

It does not work with MSTSC.

avatar

Hello

Like Carl wrote, if it doesn't work with mstsc it won't work with RDM, unfortunately.

That's not to say it won't work full stop, but I'm unsure. Maybe I can give some general pointers. Microsoft has a good support article explaining this. In this case, what you want is "opaque low-level USB redirection", but note that your use case is not on the list of supported resources and peripherals.

Did you install the Google USB driver on the remote machine?

You mentioned it's a VM, is it a local VM? If it's something running in Azure or otherwise in the cloud there might be extra setup needed.

Ultimately, you might have more luck running ADB remotely over TCP instead of trying to use USB Redirection. See this SO post for example. If the remote machine is not on the same network you could use an SSH tunnel.

Let me know if you have some questions

Kind regards,

Richard Markievicz