USB Passthru of veracrypt-encrypted HDD to Windows guest

matthei

Member
Aug 20, 2021
31
5
13
39
Hey I'm trying to figure out this issue why I can't use veracrypt-encrypted external HDDs in my Widows 10 VM.

I have configured the USB-port to be passed thru to the windows virtual machine.
(btw, yes using more than 5 usb devices in the guest, followed the steps to enable that, doing manual config of the /etc/pve/qemu-server/<vmid>.conf files. A HDD with just a single NTFS partition is recognized just fine.)

Code:
usb7: host=4-1.2,usb3=1

When plugging in the USB device, Windows notifies me of an error and when I click the notification, I get this message:

Title: USB device not recognised
The last USB device you connected to this computer malfunctioned and Windows does not recognise it.

Recommendation: Try reconnecting the device. If Windows still does not recognise it, your device may be not working properly.

usb device not recognised.png

Also, nothing shows up in the Disk Management.

Some technical info for context:
Proxmox 7.2-3
Windows 10 (22H2)
External HDD is a WD Elements 2667 (5TB)



On a side note, why are regular devices recognized as a different address than storage devices, even though it's the same physical port?
I have it connected thru a USB hub.
This particular port address is 3-1.2 when I connect any other regular USB device (wifi dongle, keyboard, audio adapter...)
But it shows up as 4-1.2 when I connect a USB HDD or a USB-Flash thumbdrive.


For now I will use my regular bare-metal windows machine for these encrypted HDDs... but I'd really like to figure this out.
Thanks for any ideas/pointers/solutions in advance :)
 
Last edited:
Did you ever work it out? I'm guessing something to do with the VirtIO Drivers?
Did you try it with both a VeraCrypt complete partition/drive & a simple single hidden volume?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!