Hello, @Adminmattb !
How do I use a proprietary USB dongle for license enforcement within a Hyper-V virtual machine on Windows Server/Azure Stack HCI?
(Edit: Updated) This currently is not supported as USB ports were not designed to be virtualized however there are USB over IP solutions you can use:
USB ports were not designed to be virtualized. If we mapped a physical USB port to a VM, access to the device would fail when the virtual machine Live Migrated or failed over in the case of unplanned downtime. The solution is to use a USB over IP solution. There are several options on the market which provide access to USB devices over TCP/IP. Here are a few examples:
Below is a picture of the Coolgear Anyplace 4-port USB server product. It fits in the palm of your hand and supports up to 4 USB devices. With a solution like this, it provides dongle access within a VM without sacrificing VM Mobility. One additional benefit to USB over IP devices like this below, is that it is easy to track all of your (expensive) licensing dongles because they are all kept in a single location, and you can easily secure them. You can learn more about these products here.
Hopefully this saves you from additional headache!
If this has been helpful, please take a moment to accept answers as this helps increase visibility of this question for other members of the Microsoft Q&A community. If you still have questions, please let us know in the comments. Thank you for helping to improve Microsoft Q&A!