When you remove a USB device from a virtual machine, it reverts to the host and becomes available to other virtual machines that run on that host.
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.
It might be necessary to use the sync command instead of or in addition to the umount command, for example after you issue a dd command on Linux or other UNIX operating systems.
- Unmount or eject the USB device from the guest operating system.
- Right-click the virtual machine and select Edit Settings.
- Click the Hardware tab and select the USB device.
- Click Remove and click OK to save your changes and close the dialog box.