How to Troubleshoot VirtualBox Failed to Attach USB?
VirtualBox failed to attach USB is an error that generally occurs when the users try to access USB devices from the VirtualBox device menu. And see the error message on the screen VirtualBox failed to attach USB and the USB device stopped mounting the guest systems.
Well, the VirtualBox lets users link to a USB drive to the virtual devices, therefore the guest system identifies and utilizes the USB drive. To understand better read our guide – How to Access a USB Device in VirtualBox VM?
But recently many users reported they are facing a problem “failed to attach the USB device to the VirtualBox machine.”
So, if you are also struggling with the same problem then this article is for you. Here find out the possible solutions to troubleshoot the error.
Please Note: Before starting with the fixes, make sure your USB is working properly in the host system.
Restart Your PC
Many times simply restarting the PC works to solve minor glitches and bugs. So, it is a good idea to reboot both the host and the guest computer a couple of times and see if the problem is resolved.
Try installing the VirtualBox Extension Pack and Guest Additions
VirtualBox Guest Additions are the software packages that could be installed on the guest systems for optimizing the system performance and offer additional communications and integrations with the host PC. And, if this extension pack is not installed you may lose many functions.
So, make sure to install the Guest Additions, and to do so run the virtual machine and click on Device and Install Guest Additions at the virtual machine main window’s top-left corner. And you will see the virtual machine will automatically install the Guest Additions.
Now, install the VirtualBox Extension Pack, as this helps you to encompass VirtualBox functionality, also if you require connecting a USB2.0 or USB 3.0 drive, then installing this pack is compulsory.
Follow the steps to install the extension pack:
- Head to the VirtualBox official website, download and install the pack.
- Now open VirtualBox and click on Tools then Preferences option.
- And head to the Extensions section and at the upper right corner click the green plus icon.
- Then look for the extension pack for installing
Once the installation process is complete, you require enabling the USB controller and adding new USB filters. Follow the steps to do so:
- In the VirtualBox > right click on the virtual machine, where you want to connect the USB device and click on the Settings option.
- Now click on Ports and then USB.
- And for your USB device, enable the USB 1.0, USB 2.0, or USB 3.0 controller.
- On the right side, window click on the Add button and choose the device that can’t be attached.
- Now click OK for saving the changes and Exit.
- Lastly, unplug and re-plug the USB device in it.
Now connect the USB device to the guest again and check if the error is fixed.
Edit the Registry
Well, this solution works for many users, so if the above solution won’t work for you then it is worth giving it a try.
Important: Be sure to follow the steps cautiously as a small mistake may prevent your PC from booting.
- First from the host system unplug the USB devices > close VirtualBox.
- Now hit Windows key + R and in the Run box type regedit and hit Enter
- The Registry Editor window will open
- Here head to the location HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}.
- And delete the UpperFilters on the right side.
- You may see a confirmation window> click Yes to complete the delete process.
- Restart the Windows host PC and the VirtualBox for connecting the USB again.
Reinstall the VirtualBox USB drivers
This is an optional solution you can opt for if the above trick won’t work for you. So, if there is an issue with the VirtualBox USB drivers, then also you may face the problem.
So try reinstalling the drivers manually by following the steps given:
- Open Windows Explorer and head to the given folder: C:\Program Files\Oracle\VirtualBox\drivers\USB\filter
- Now right click on the file VBoxUSBMon.inf and choose Install.
- You will see a confirmation message as the installation is complete.
- Then reboot your system and let the changes take effect.
So, that’s it now your USB devices should start working properly.