You can remove USB devices from a virtual machine if the devices are no longer needed. When you disconnect a USB device from a virtual machine, the device is released from the virtual machine and is given back to the client computer, which starts using it.

Prerequisites

  • Verify that the virtual machine is powered on.
  • To minimize the risk of data loss, follow the instructions to safely unmount or eject hardware for your operating system. Safely removing hardware allows accumulated data to be transmitted to a file. Windows operating systems typically include a Remove Hardware icon located in the System Tray. Linux operating systems use the umount command.
    Note: You might need to use the sync command instead of or in addition to the umount command, for example after you run a dd command on Linux or other UNIX operating systems.
  • Required Privilege: Virtual machine.Change Configuration.Add or remove device

Procedure

  1. Unmount or eject the USB device from the guest operating system.
  2. On the virtual machine Summary tab, click the disconnect icon on the right side of the USB device entry.
  3. Select a device to disconnect from the drop-down menu.
    A Disconnecting label and a spinner appear, indicating that a disconnection is in progress. When the device is disconnected, after a slight delay, the Summary tab refreshes and the device is removed from the virtual machine configuration.

Results

The device reconnects to the client computer and is available to add to another virtual machine. In some cases, Windows Explorer detects the device and opens a dialog box on the client computer. You can close this dialog box.