Hi everyone!

Today I will share a tip if you need to automount some USB device inside your Windows VM.

The goal can be to auto mount some necessary devices, in my case it was to aumount USB HDD used for the backup chain.

The first step is to mount it to the VM with the ESX's control.

When it's mounted, you will be able to naviguate there to find the corrcet ID;

HKLM\Machine\CurrentControlSet\Enum\USB

capture-1.png

ย 

From there we have our USB ID; Check the line HardwareID

We now need to go to our ESX datastore to edit the VM .vmx's file;

capture0.png

In the file VMX, we add that line;

capture1.png

usb.autoconnect.device0 = "0x1058:0x25e2"

As you can see we used our hardwareID to make that entry inside the VMX

ย 

Time to test after, unplug and plug the device, and it should reconnect now :)

ย 

Next Post Previous Post