AZURE VM cannot recognize my local USB device

Barry Zhong 1 Reputation point
2021-11-03T15:30:47.01+00:00

My USB device is like a net adapt. It should be install the 'drvice' soft before use it. However my VM can't recognize any new serial port or usb port. Even I edit the properties before connect the VM.
Any circumstance I have tried and no use. And my device is not a PNP device.
146225-wechat-image-20211103232421ppppp.png146255-inkedwechat-image-20211103221205-li.jpg146263-inkedwechat-image-202111032225561111111-liffffffff.jpg146208-wechat-image-20211103224432.png146282-wechat-image-20211103220857.png

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,801 Reputation points Microsoft Employee Moderator
    2021-11-12T23:41:32.947+00:00

    Hello, @Barry Zhong ! (And thank you for the screenshots--those help!)

    RDP has limitations when it comes to redirection for USB devices and it sounds like your USB device is not supported. RemoteFX is an option that you can explore and I've included some links below that will walk you through the process but it is possible that you will still run into limitations on what is supported.

    How do I get my Azure VM to recognize local USB devices? (Remote desktop USB redirection)
    Some USB devices can be redirected and used on your Azure VM. One of the easiest ways to do this is to enable local devices and resources by editing your .rdp file.

    1. Right click on your .rdp file and select edit to bring up the Remote Desktop Connection window
    2. Go to the Local Resources tab and under Local devices and resources, click on More...
    3. Select the devices and resources that you want to use in your remote session.

    148988-image.png

    149022-image.png

    In my case, I inserted a thumb drive which can now be seen on my VM:

    148900-image.png

    148959-image.png

    Microsoft RemoteFX USB
    There are many devices which are not covered by (RDP) redirections, such as scanners, multifunction printers, webcams, and more. RemoteFX USB redirection acts as a catch-all mechanism that redirects these USB devices! Unlike high-level redirections such as drive redirection, RemoteFX USB redirection happens at the port protocol (USB request block or URB) level, and is similar to how one can redirect serial or parallel ports via RDP. This provides some unique advantages, as you’ll see below. However, RemoteFX USB redirection is meant to supplement high-level redirections, not to supplant them. By combining RemoteFX USB redirection with RDP high-level device redirections, you can have the best of both worlds.

    More RemoteFX USB reading:

    More RDP reading:

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.