Create virtual USB stick in Azure Virtual machine

MURAT DELMAN 20 Reputation points
2023-08-02T07:34:17.5733333+00:00

Dear Ms./Mr.,

I work as a research scientist at an institute. I have been learning virtual machine technology for a fast computer experience to use massive data analysis software for biotechnology research.

I have been trying to create a virtual USB drive disk (stick) in Microsoft Azure virtual machine. I need the Azure virtual machine to recognize this “virtual drive” as a “USB disk” automatically. But unfortunately, I could not succeed it. 

May you please help me how to create a virtual USB drive disk (stick)?  

I also tried to install a VMware (virtual machine ware) in Microsoft Azure virtual machine.

But it always gave me the errors shown below;

Windows 10 x64-VMware Workstation

VMware Workstation and Hyper-V are not compatible. Remove the Hyper-V role from the system before running VMware Workstation.

and also

Windows 10 - VMware Workstation

VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard. Please visit http://www.vmware.com/go/turnoff CG DG for more details.

I tried to solve these issues using the web page link below, but it still did not work.

https://kb.vmware.com/s/article/2146361

I also performed the steps in the video below but could not solve the problem.

https://www.youtube.com/watch?v=ahbCoaOVKPY&ab_channel=ChrisMartel

I really need to solve these problems (virtual USB sticks) and then use the Azure virtual machine with this virtual USB stick.

May you please send me a document, video tutorial, or a protocol that shows how to create a virtual USB stick in VM step by step?

I am looking forward to hearing from you.

Thank you in advance.

Kind Regards 

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,585 questions
{count} votes

Accepted answer
  1. kobulloc-MSFT 26,131 Reputation points Microsoft Employee
    2023-08-02T14:37:47.03+00:00

    Hello, @MURAT DELMAN !

    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

    There are other USB scenarios for your VM which I have covered here if you are interested:

    https://learn.microsoft.com/en-us/answers/questions/614441/azure-vm-cannot-recognize-my-local-usb-device

    If you still need help, let me know in the comments and I would be happy to assist you!

    More RDP reading:


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image


0 additional answers

Sort by: Most helpful