Problem

CodeMeter can't mount physical dongles on a Hyper-V virtual machine.

 

Resolution

NOTE: These instructions assume that you already have CodeMeter installed on the VM!

  1. Plug the CodeMeter dongle into the physical host.

  2. On the physical host, open "Disk Management".

  3. Locate the CodeMeter dongle, right-click the “Disk”, and click the “Offline” option.

  4. Open Hyper-V manager on the physical host, right-click the VM you want to mount the CodeMeter dongle on, and click “Settings”.

  5. Select the SCSI controller and add a new Hard Drive.

  6. Select the “Physical hard disk” option”. If you successfully set the dongle to offline in Disk Management there should be a disk available in the drop down. Select it and click OK.

  7. At this point, the CodeMeter dongle should be visible on the VM (if it's not, you may need to open Disk Management on the VM and set the Disk to Online).

  8. On the VM, open the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\WIBU-SYSTEMS\CodeMeter\Server\CurrentVersion, and set UseUmsDA to 0.


  9. Restart the CodeMeter service and the dongle should now be visible to both CodeMeter and License Manager.