Quick Fixes for Failed Attachment of USB Device to VirtualBox

Quick Fixes for Failed Attachment of USB Device to VirtualBox

Joseph Lv12

Quick Fixes for Failed Attachment of USB Device to VirtualBox

VirtualBox lets you run many operating systems in a virtual environment without affecting your host system files. It is a great hypervisor platform perfect for trying out any operating system without installing it alongside your host operating system. But many users face an issue while connecting a USB device to their VirtualBox Virtual machine.

VirtualBox does support USB devices out of the box but requires an extension pack to enable USB 2.0 and USB 3.0 devices. If you see the ‘Failed to Attach the USB Device’ error every time you try to connect a USB device, don’t fret. We will list out the possible reasons why you see the error code along with multiple fixes to resolve the issue.

Reasons for the “Failed to Attach the USB Device” Error

Here are some possible reasons for the VirtualBox USB devices error.

  1. The USB drive is corrupt or the USB port is not working.
  2. You haven’t installed the correct VirtualBox extension pack on your system.
  3. You are running an outdated version of VirtualBox.
  4. You haven’t added the USB device to the virtual machine using USB settings.

Now, you know the possible reasons why VirtualBox throws an error code when you connect a USB device. Here are the following methods you can try to fix the error code and successfully connect the USB device to the virtual machine.

https://techidaily.com

How to Fix the “Failed to Attach the USB Device” Error in Windows

Now that we know what’s potentially causing the issue, let’s explore the fixes.

1. Restart VirtualBox

Before you move on to other advanced fixes, restart the VirtualBox application. If restarting the app doesn’t work, restart Windows. It will restart all the processes and services including the ones VirtualBox needs to function properly. Now, connect a USB device and try to attach it to a virtual machine in VirtualBox. If it still doesn’t show up, move to the next fix.

https://techidaily.com

2. Check the USB Device on the Host System

Before trying to attach the USB device to the VirtualBox virtual machine, first check if it shows up on your host system. Launch the File Explorer and go to This PC and check if the USB drive appears there. If you don’t see the USB drive, do as follows:

  1. First, open Device Manager. There are manydifferent ways to open the Device Manager , but a quick way is to pressWin + R to launch the Run command box. Typedevmgmt.msc and press theEnter key to launch the Device Manager.
    Check the USB Device on the Host System
  2. Navigate to theDisk Drives option and click thearrow icon to expand the section.
https://techidaily.com
  1. Find the USB drive you connected to the host system. If it is not present in the list, pull it out and reconnect it to another USB port on your system.

If the USB port on your system malfunctions, the USB drive won’t show up in Device Manager or File Explorer. But if the USB drive doesn’t appear in the device manager even after changing the port, it could have a hardware malfunction. In that case, try connecting another USB drive to VirtualBox virtual machine.

3. Install the VirtualBox Extension Pack

VirtualBox can only attach USB 1.0 devices to a virtual machine. You need to install the extension pack to add USB 2.0 or 3.0 devices. Here’s how to do it.

  1. Open VirtualBox on your system and navigate toHelp > About VirtualBox . Note the version currently installed on your system.
  2. Launch any web browser on your system and go to theofficial VirtualBox download page .
  3. Click on the build number which is present on your system. Scroll down and download its corresponding extension pack.
  4. Now, open VirtualBox. Navigate toFile > Tools > Extension Pack Manager .
    _Install the VirtualBox Extension Pack
  5. Click on theInstall icon and select the extension pack file you downloaded in step 3.
https://techidaily.com
  1. Click on theInstall button, accept theEULA and click on theI Agree button.
  2. Wait for the extension pack to install.
  3. Run the virtual machine and try to connect the USB device to it.
https://techidaily.com

4. Update VirtualBox

An outdated version of VirtualBox can encounter errors. So, you need to update VirtualBox to fix the underlying bugs and get access to new features offered by the developers. Here’s how to update VirtualBox on Windows.

  1. Launch VirtualBox on your system. It will automatically notify you if a newer version is available. You can go toHelp > About VirtualBox and check the current version info there.
  2. Then, navigate toHelp > VirtualBox Web Site . It will redirect you to the official website.
  3. Click on theDownloads section and download the latest version. Also, download the corresponding extension pack.
  4. Close the VirtualBox app and end all associated processes using Task Manager.
  5. Run the downloaded executable file and follow the on-screen instructions to install it on your system. Also, install the extension pack as illustrated in Method 3 above.
  6. Now, try to connect the USB device to the virtual machine using the settings menu.

5. Configure the USB Controller in Virtual Machine Settings

A mismatch in the USB controller settings can also produce the VirtualBox error. If you want to add a USB device to the VirtualBox virtual machine, you must select the correct USB controller option in the USB settings.

  1. Open VirtualBox and click on the virtual machine to which you want to add the USB drive.
  2. Click on theSettings icon on the top. Then click on theUSB option in the list.
  3. Firstly, click theEnable USB controller checkbox to enable the USB device attaching feature to the virtual machine.
  4. Then, select the USB 2.0 or 3.0 controller option located below theEnable USB controller option.
    Configure the USB Controller
  5. Now, click on theAdd new USB filter and pick the USB device you want to connect to the virtual machine.
  6. Click on theOK button and close the settings window. Start the virtual machine and check if the error pops up now.

6. Reinstall the VBox USB drivers

Corrupt or missing VBox USB drivers on your system could cause the Virtual Box error code. Reinstalling the USB drivers can fix the driver issue and allow USB devices to connect with the virtual machine.

  1. Launch File Explorer on your Windows system. Visit the following path:C:\Program Files\Oracle\VirtualBox\drivers\USB
  2. Navigate to theDevice subfolder and find theVBoxUSB.inf file.
  3. Right-click on the file and select theInstall option.
  4. Now, navigate to theFilters subfolder and locate theVBoxUSBMon.inf file.
  5. Right-click on the file and select theInstall option.
  6. Close Virtual Box and restart your system. Connect the USB device to the virtual machine and check whether the error code pops up.

7. Reinstall VirtualBox

If all the above methods don’t solve the ‘Failed to Attach the USB Device’ Error code, consider reinstalling the VirtualBox app on your system. Here’s how to do it.

  1. Press theWin + R key to launch the Run command box (seehow to open Windows Run for more ways). Typeappwiz.cpl and press the enter key. The Programs and Features window will launch.
  2. Locate VirtualBox from the list of installed programs and double-click on it.
    Reinstall VirtualBox
  3. UAC will pop up. Click onYes to continue.
  4. Follow the on-screen prompts to uninstall VirtualBox from your system.
  5. Now visit theofficial VirtualBox website and download the app and the corresponding extension pack.
  6. Open the download location and run the setup file. Follow the on-screen prompts to install and then install the extension pack as described in method 3.
  7. Now, attach a USB device and start the virtual machine to check if the error code occurs or not.

Easily Connect USB Devices to Your Virtual Machine Once More

VirtualBox needs the extension pack to enable connectivity for USB 2.0 and 3.0 devices. Check your USB devices for errors and verify that they mount properly on the host system. Reinstall USB drivers if you face the error again. Lastly, remove VirtualBox from the system and do a fresh installation.

Also read:

  • Title: Quick Fixes for Failed Attachment of USB Device to VirtualBox
  • Author: Joseph
  • Created at : 2024-10-19 19:56:44
  • Updated at : 2024-10-24 19:10:40
  • Link: https://windows11.techidaily.com/quick-fixes-for-failed-attachment-of-usb-device-to-virtualbox/
  • License: This work is licensed under CC BY-NC-SA 4.0.