VirtualBox USB capture issue (Windows 7 host/guest)


fez

In the past, I've often used the USB capture option in VirtualBox due to some software that uses a USB dongle for licensing. I have a new laptop (same OS as the old one - Windows 7) and can't get the USB capture to work with any device.

I'm using a regular USB thumb drive for troubleshooting. VirtualBox actually claims to have captured the device, but the guest OS (which also includes Windows 7) doesn't recognize the device. Also, the VirtualBox Devices -> USBmenu doesn't show a checkbox next to the supposedly captured device. It's invisible to the host OS, so it works at least partially.

I've updated to v.5.1.8, installed the extension pack/guest additions, and also tried to create a USB filter for the device (in the past I could select it from the Devices -> USBmenu to capture/release it as needed), but nothing worked can solve the problem.

One last detail - the captured (but invisible) device cannot be released from the VM. Clicking it in the Devices -> USBmenu opens an error dialog saying the device "is busy with a previous request. Please try again later."

More info: I also found that even after removing the device from the host and restarting the VM, VirtualBox still claims that the device has been captured. It seems the only way to clear it is to reboot the host.

fez

The solution (in this case) can be found on the VirtualBox forum thread . There is also a slightly expanded version of the same steps in the replies to this post . This issue was first discovered in 2009 VirtualBox Defect #5343 .

Proceed as follows:

  1. Edit your registry

    • Open the Windows Registry by clicking Start>, Runthen typing .regedit
    • navigationHKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class{36FC9E60-C465-11CF-8056-444553540000}
    • In the right panel, delete the entry if it UpperFiltersexists
  2. Manually install the VirtualBox USB driver

    • go to folderC:\Program Files\Oracle\VirtualBox\drivers\USB\filter
    • right clickVboxUSBMon.inf
    • clickInstall
  3. reboot the host

  4. Unplug your USB device (I did this before rebooting)

  5. Open VirtualBox and close it (remove the USB device from the VM's capture list)

  6. Plug in your USB device

  7. Open VirtualBox and run the virtual machine.

  8. Right-click the USB icon in the virtual machine's status bar and select the USB device you want to attach to the virtual machine (or select from the Devices> USBlist )


The post in the VirtualBox forum also contains a warning about not connecting a USB device without first capturing the USB bridge. I have successfully used a device connected via an external USB hub without capturing any other devices, but please note that this may be an issue.

Related


VirtualBox USB capture issue (Windows 7 host/guest)

fez In the past, I've often used the USB capture option in VirtualBox due to some software that uses a USB dongle for licensing. I have a new laptop (same OS as the old one - Windows 7) and can't get the USB capture to work with any device. I'm using a regular

USB device in VirtualBox Windows 7 partition

Carlos Dunic I'm running Ubuntu 13.10 on a Virtual Box running Windows 7, with a shared hard drive set up between the two. I've set up a virtual box as best I can and have searched endlessly on iPhone forums and Windows to find out why it can't detect my iPhon

USB device in VirtualBox Windows 7 partition

Carlos Dunic I'm running Ubuntu 13.10 on a Virtual Box running Windows 7, with a shared hard drive set up between the two. I've set up a virtual box as best I can and have searched endlessly on iPhone forums and Windows to find out why it can't detect my iPhon

USB device in VirtualBox Windows 7 partition

Carlos Dunic I'm running Ubuntu 13.10 on a Virtual Box running Windows 7, with a shared hard drive set up between the two. I've set up a virtual box as best I can and have searched endlessly on iPhone forums and Windows to find out why it can't detect my iPhon

USB device in VirtualBox Windows 7 partition

Carlos Dunic I'm running Ubuntu 13.10 on a Virtual Box running Windows 7, with a shared hard drive set up between the two. I've set up a virtual box as best I can and have searched endlessly on iPhone forums and Windows to find out why it can't detect my iPhon

Windows 7 guest in VirtualBox doesn't recognize USB 3.0 device

Natural I'm using VirtualBox version 5.0.40_Ubuntu r115130 on a Linux Mint mate (18.2) host. I also have Oracle VM VirtualBox Extension Pack version 5.0.40r115130 installed. I have Windows 7 Ultimate (64 bit) guest OS installed. I also added the current user t

Windows 7 guest in VirtualBox doesn't recognize USB 3.0 device

Natural I'm using VirtualBox version 5.0.40_Ubuntu r115130 on a Linux Mint mate (18.2) host. I also have Oracle VM VirtualBox Extension Pack version 5.0.40r115130 installed. I have Windows 7 Ultimate (64 bit) guest OS installed. I also added the current user t

Windows 7 guest in VirtualBox doesn't recognize USB 3.0 device

Natural I'm using VirtualBox version 5.0.40_Ubuntu r115130 on a Linux Mint mate (18.2) host. I also have Oracle VM VirtualBox Extension Pack version 5.0.40r115130 installed. I have Windows 7 Ultimate (64 bit) guest OS installed. I also added the current user t

Windows 7 in VirtualBox

ANUPAM MITRA My OS is Ubuntu 16.04 64 bit. In the same system I also installed VirtualBox for Windows 7. Everything has been fine since the last few months. Today, an OS update was made via the software updater. During installation, it was found that VirtualBo

Ubuntu 14 parsing issue on Windows7 x64 Virtualbox5

Mathias I'm running Windows7 x64, Virtualbox 5.0.16 and just installed Ubuntu 14.04. Ubuntu boots fine, but at a very low resolution (e.g. 640x460). i tried runningsudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 but this

Ubuntu 14 parsing issue on Windows7 x64 Virtualbox5

Mathias I'm running Windows7 x64, Virtualbox 5.0.16 and just installed Ubuntu 14.04. Ubuntu boots fine, but at a very low resolution (e.g. 640x460). i tried runningsudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 but this

Ubuntu 14 parsing issue on Windows7 x64 Virtualbox5

Mathias I'm running Windows7 x64, Virtualbox 5.0.16 and just installed Ubuntu 14.04. Ubuntu boots fine, but at a very low resolution (e.g. 640x460). i tried runningsudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 but this

Virtualbox Windows 7 Safe Mode

Jacob I am running OSX Yosemite. I have Virtualbox 4.3 and I use a Windows7 virtual machine for IE development. I'm having an issue where whenever the computer boots into safe mode, it reboots into normal mode. I've tried this, msconfigbut it just puts me in a

VirtualBox screen resolution for Windows 7

breathe The problem occurs when I install Windows 7 32bit in VirtualBox on Ubuntu 32bit . The Windows 7 installation cannot make its resolution equal to my laptop screen resolution of 1280x800 . Help Install Guest Additions for Windows : VirtualBox Windows Gue

Memory issues with VirtualBox and Windows 7

Bandandi I'm having a massive memory issue with VirtualBox (4.3.14) running Windows 7. These questions include: On startup, I get the following error: "Windows encountered a problem in your paging file configuration when you started your computer, and therefor

Virtualbox Windows 7 Safe Mode

Jacob I am running OSX Yosemite. I have Virtualbox 4.3 and I use a Windows7 virtual machine for IE development. I'm having an issue where whenever the computer boots into safe mode, it reboots into normal mode. I've tried this, msconfigbut it just puts me in a

VirtualBox screen resolution for Windows 7

breathe The problem occurs when I install Windows 7 32bit in VirtualBox on Ubuntu 32bit . The Windows 7 installation cannot make its resolution equal to my laptop screen resolution of 1280x800 . Help Install Guest Additions for Windows : VirtualBox Windows Gue

Memory issues with VirtualBox and Windows 7

Bandandi I'm having a massive memory issue with VirtualBox (4.3.14) running Windows 7. These questions include: On startup, I get the following error: "Windows encountered a problem in your paging file configuration when you started your computer, and therefor

Native audio capture for Windows 7

random energy The traditional way to capture audio is to select a "Stereo Mix" or "What You Heard" recording device and record it in a program like Audio Recorder or Audacity. However, it depends on your sound card exposing that functionality. In Vista they in

Capture Windows 7 with DISM or ImageX

Jigonje from Wikipedia Before Window Server 2012 and Windows 8, DISM incorporated most, but not all, of ImageX's features. ImageX is still required to capture images, but DISM has deprecated ImageX in Windows 8. Does this mean that if I use the latest version

Native audio capture for Windows 7

random energy The traditional way to capture audio is to select a "Stereo Mix" or "What You Heard" recording device and record it in a program like Audio Recorder or Audacity. However, it depends on your sound card exposing that functionality. In Vista they in

Capture Windows 7 with DISM or ImageX

Jigonje from Wikipedia Before Window Server 2012 and Windows 8, DISM incorporated most, but not all, of ImageX's features. ImageX is still required to capture images, but DISM has deprecated ImageX in Windows 8. Does this mean that if I use the latest version

Windows 7 and VirtualBox (centos 7) DNS not working

Osvaldo Market I have a Windows 7 host with a virtualbox 5.1.4 (centos 7 on top) installation and I'm struggling with this due to connectivity issues. I setup the virtual machine with the following settings From the host, I can ping it and also access it via s

Windows 7 and VirtualBox (centos 7) DNS not working

Osvaldo Market I have a Windows 7 host with a virtualbox 5.1.4 (centos 7 on top) installation and I'm struggling with this due to connectivity issues. I setup the virtual machine with the following settings From the host, I can ping it and also access it via s

Virtualbox virus or security issue on Ubuntu/Windows XP?

Rock I want to install Windows XP in Virtualbox on Ubuntu 13.10 only to be able to enter taxes using the government's program (the Argentine government hasn't written a program for Linux yet), it doesn't use the internet, I want to generate the file and then p

Virtualbox virus or security issue on Ubuntu/Windows XP?

Rock I want to install Windows XP in Virtualbox on Ubuntu 13.10 only to be able to enter taxes using the government's program (the Argentine government hasn't written a program for Linux yet), it doesn't use the internet, I want to generate the file and then p

Virtualbox virus or security issue on Ubuntu/Windows XP?

Rock I want to install Windows XP in Virtualbox on Ubuntu 13.10 only to be able to enter taxes using the government's program (the Argentine government hasn't written a program for Linux yet), it doesn't use the internet, I want to generate the file and then p

Virtualbox virus or security issue on Ubuntu/Windows XP?

Rock I want to install Windows XP in Virtualbox on Ubuntu 13.10 only to be able to enter taxes using the government's program (the Argentine government hasn't written a program for Linux yet), it doesn't use the internet, I want to generate the file and then p

Shared Folders in VirtualBox (Ubuntu and Windows 7)

Takehin I would like to have a directory accessible on both Windows 7 installed on the Ubuntu host as well as on Ubuntu. So I have installed Virtualbox add - on on Windows and Ubuntu . Then in Ubuntu: sudo mkdir /media/win7share sudo mount -t vboxsf win7share