windows 10 – Failed to attach MediaTek MT7601U USB Wi-Fi adapter to Kali VM in VirtualBox: “Device busy with a previous request”

I’m trying to attach my MediaTek MT7601U USB Wi-Fi dongle to a Kali Linux VM in VirtualBox on Windows 10, but I keep getting the following error:

Failed to attach the USB device MediaTek 802.11 n WLAN to the virtual machine kali.

USB device ‘MediaTek 802.11 n WLAN’ with UUID {991322cc-3b77-41b1-83c0-177bb49f8bcc} is busy with a previous request. Please try again later.

Result Code: E_INVALIDARG (0x80070057)

Component: HostUSBDeviceWrap

Interface: IHostUSBDevice {c19073dd-cc7d-431b-98b2-951fda8eab89}

Callee: IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}

What I’ve tried so far:

  1. Created a USB filter in VirtualBox with the Vendor ID 148F and Product ID 7601 while the device was enabled in Windows.

  2. Enabled USB 2.0 (EHCI) Controller in VM settings.

  3. Tried plugging in the dongle after Kali VM boots.

  4. Tried disabling the device in Windows Device Manager, but then the dongle disappears from the USB filter list.

  5. Checked lsusb and ip a in Kali — the dongle does not appear.

    1. In VirtualBox, Add new filters with the Product ID , and Vendor ID, put Any “in Remote and leave blank the rest of fields”

    2. Close VirtualBox

    3. Go to your installation Directory: C:\Program Files (x86)\Oracle\VirtualBox\drivers\USB

    4. Go to both Folder (device and filter), and in both folder : Right-click on the file extension *.inf ( VBoxUSBMon.inf and VBoxUSB.inf) and click “Install “

    5. Start VirtualBox then your VirtualMachine

Read more here: Source link