Cookie
Electronic Team uses cookies to personalize your experience on our website. By continuing to use this site, you agree to our cookie policy. Click here to learn more.

Using USB Dongles In VMware: Definitive Guide

Whenever there is a need to coincidently run some field-specific software on various operating systems, opting for virtualization technologies is the very best choice. But the functionality of said software won't be available without a hardware license dongle, and using USB license dongles in VMware may involve some difficulties.

In VMware, USB dongle passthrough is supported to a limited extent only. Meaning, you can’t access a USB license key from VMware VMs if said key isn’t plugged directly into the VMware ESXi host machine.

From this article, you’ll find out how to use USB dongles in a VMware virtual machine even if you’ve got a number of those you need to access at the same time, and some of them reside on other machines.

Software for forwarding USB license dongles to VMware

Donglify is a special-purpose software tool you can use to pass through a USB dongle to VMware ESXi virtual machines.
Donglify
Start your free trial today
7-day Trial • Cancel anytime.
4.5 Rank based on 198+ users
Read all reviews
Available on Windows 7/8/10, Server 2008 R2/2012/2016/2019, Windows 10 on ARM.
Already a Donglify user? Sign In →

This app does excellent work both redirecting USB license dongles to the virtual machines running on the same VMware host hardware and while passing dongles through to VMs hosted by other machines across the network.

Donglify makes use of TCP/IP to share USB license keys connected to VMware hosts over the network. Thanks to that, you’ll never experience an unfamous issue with flawed VMware USB dongle support.

How to connect USB dongles to VMware virtual machines

The most convenient way of adding a license dongle to VMware is sharing the USB dongle from the machine it’s connected to. Here is how it’s done:
1
Sign up for your Donglify account on the official website.
 register dongle account
2
Install Donglify both on the host with a physically attached USB dongle (server), and on every other real or virtual machine (client) that will connect to the shared dongle.
 install donglify
3
Start the app on the server and client machines, then use your account credentials to sign in.
 sign in to dongle on vmware host
4
On the server, click "+" to reveal the list of USB license keys you can share.
 list of usb dongles
5
Check the radio button next to your dongle and click the "Share" button.
 share usb dongle to vmware
6
On a client machine, find the dongle you’ve just shared on the list and click "Connect".
 connect usb license dongle to vmware
7
Once the link is up, the dongle will show up in the client’s Device Manager as though it was connected physically. That’s how easy it is to pass through a USB dongle from a server to VMware so you can start using the USB dongle on VMware virtual machines right off the bat.

Prefer video instructions? Here you can check out how Donglify redirects USB license dongles to VMware virtual machines:


Share dongles

How you can benefit from Donglify

Simultaneous access

With Donglify's unique multi-connect feature, your USB license keys can stay plugged in to a single server while multiple users can access it whenever and wherever they need to at the same time.

The multi-connect function currently works with
The multi-connect function currently works with
The multi-connect function currently works with

Upper-division security

The reliable 2048-bit SSL encryption protocol takes care that all your network data transmissions are secure and there is no chance for the data on your USB dongle to get into the hands of the wrong people.

Self-sufficing solution

There is no need to buy additional hubs, cables, and any other hardware or software to share your USB license keys on VMware hosts and connect to them from the guests.

Safe dongle sharing

You can give other users access to your Donglify account without sharing your login credentials. Create a secure digital key (token) and send them to whomever you want to, so they can use it to log in to your Donglify account without entering an email address and password.

Things to consider when connecting USB dongles to VMware with Donglify

Internet connection is a must-have

You won’t be able to share and connect USB dongles to VMware unless all involved machines are connected to the Internet, even if they’re all in the same LAN.

Windows-Mac cross-platform support

With the newest update, Donglify is no longer a Windows-exclusive app. From now on, you can share your dongles with both Windows and Mac machines.

Dedication to USB dongles

Donglify was specifically designed for sharing USB dongles, thus it won’t work for other USB devices.

Configuring USB dongle redirection for VMware ESXi hosts using built-in instruments

All the USB devices connected to an ESXi host can be added to virtual machines running on the said host. In particular, you can utilize the USB passthrough technology to add USB security dongles physically plugged into a host to a virtual machine that resides on that host (only one at a time). However, this method won’t work for dongles attached to other machines.

To set up a passthrough of your dongle to a VMware ESXi virtual machine, you’ll need to see that these two services are up and running:

  • USB Arbitrator (installed and enabled by default): detects connected USB devices and routes their traffic to the correct virtual machine’s guest operating system. Plus, the arbitrator monitors the USB device and makes sure no other system connects it while it’s still in use.

  • USB Controller: software virtualization of the USB host controller function in the virtual machine that provides a USB function to the USB ports. Must be present before you can start adding USB devices to a virtual machine.

How to passthrough USB dongles from VMware ESXi hosts

Before you start, check that your VM is compatible with ESX/ESXi 4.0 (or later) and a USB controller is present.

  1. Right-click a virtual machine in the inventory and select "Edit Settings".

  2. Go to the "Virtual Hardware" tab, click "ADD NEW DEVICE" and select "Host USB Device" from the drop-down menu. After that, you’ll see the new USB device at the bottom of the "Virtual Hardware" list: host usb device
  3. Expand the "New Host USB Device" drop-down list box and pick the device for adding (one at a time). You can add as many USB devices as you need: new host usb device
  4. Untick the "Support vMotion while the device is connected" checkbox If you don’t plan to migrate a virtual machine with USB devices attached to reduce migration complexity and thereby upswing performance and stability. vmotion support
  5. Click the "OK" button.

Some important things to take into account:

  • Virtual hardware version must be 7 or higher.
  • You can only add one USB controller of each type to a virtual machine.
  • The USB arbitrator monitors up to 15 USB controllers, so all the rest can’t be used for attaching USB devices meant for passing through to VMs.
  • The maximum amount of USB devices you can attach to each VM is 20.
  • Each USB device can only be connected to one virtual machine at a time.
Start your free trial today
7-day Trial • Cancel anytime.
Already a Donglify user? Sign In →