"An invalid parameter was passed to a service or function" when using a flash drive with Windows 8 inside VirtualBox

Solution 1:

To fix the error, install the VirtualBox Extension Pack into your host VirtualBox. Make sure you also have the Guest Additions installed on the guest.

You may need to enable the USB 2.0 controller from the VM settings under Settings>Ports>USB: