HW AS Dongle and VirtualBox

I remember that there was some extra settings, but I have not stored it

This is what chatGPT says about, Im sure you have already asked it but maybe there will be some point which will help.


:one: Install VirtualBox Extension Pack (mandatory)

USB 2.0 / USB 3.0 will NOT work without the Extension Pack.

Steps

  1. Check your VirtualBox version
    2.Help → About VirtualBox*
  2. Download the matching Extension Pack
    Downloads – Oracle VirtualBox
  3. Install it:
  • File → Tools → Extensions
  • Click +
  • Select the downloaded .vbox-extpack
  1. Restart VirtualBox

:warning: Version must match exactly (e.g. 7.0.14 + 7.0.14 pack)


:two: Add USB support to the VM

Your VM must be powered off.

Steps

  1. Select VM → Settings
  2. Go to USB
  3. Enable:
  • :white_check_mark: Enable USB Controller
  • Select:
    • USB 2.0 (EHCI) → most CmSticks
    • or USB 3.0 (xHCI) → if required


:three: Create a USB filter for the CmStick (IMPORTANT)

Without a filter, the host OS will keep the dongle.

Steps

  1. VM Settings → USB
  2. Click :plus: Add new USB filter
  3. Select your CmStick
    (often shown as WIBU-SYSTEMS, CodeMeter, or similar)

VirtualBox auto-fills:

  • Vendor ID
  • Product ID
  • Manufacturer

:white_check_mark: This ensures the dongle is captured by the VM automatically


:four: Remove the CmStick from the host OS (if needed)

Windows host

  • Close CodeMeter Control Center
  • Or temporarily stop CodeMeter service

Linux host

sudo systemctl stop codemeter

:warning: Host and guest cannot use the dongle at the same time


:five: Start the VM and verify USB connection

  1. Start VM
  2. VM menu → Devices → USB
  3. Ensure CmStick is checked

If unchecked → click it manually


:six: Install CodeMeter inside the VM

Inside the guest OS:

  1. Install CodeMeter Runtime
  2. Open CodeMeter Control Center
  3. Verify:
  • CmStick visible
  • License detected

:seven: Common problems & fixes

:cross_mark: CmStick not visible

:check_mark: Extension Pack missing or wrong version
:check_mark: USB filter missing
:check_mark: Host service still using the dongle


:cross_mark: “Failed to attach USB device”

:check_mark: Run VirtualBox as Administrator (Windows)
:check_mark: Try USB 2.0 instead of USB 3.0
:check_mark: Reinsert dongle after VM starts