Ubuntu – Block USB access in VirtualBox

usbvirtualbox

How can I restrict a VirtualBox guest from accessing certain USB ports/devices on my host machine? I have some theories on how I might do this, but I really can only guess.

For further clarification, let's say a USB device was causing issues on my guest machine in VirtualBox, but that USB device is critical to my host machine. I need to blacklist VirtualBox from using certain USB devices.

The host being Ubuntu and the guest being Windows.

Update: I disabled the USB controller, uninstalled the extension pack, and even set mouse and keyboard to PS/2. Guest is still able to access my USB ports even though I have done no configuration to allow it to do so.

Best Answer

From what you've told me in comments, you don't need USB support at all. Just disable the USB controller:

Screenshot

Set these checkboxes to disabled.

Related Question