Unable to connect USB devices in Windows 2012 R2 guest machine

Discussions related to using VirtualBox on Windows hosts.
Post Reply
shuklaabhi87
Posts: 6
Joined: 23. Aug 2017, 05:59

Unable to connect USB devices in Windows 2012 R2 guest machine

Post by shuklaabhi87 »

Hi Team,

I have followed below suggested steps but did not get success.

1. Make sure that the Extension Pack is installed on the host. The same version as VirtualBox.
I am using virtual box 5.1.22 and same version extension pack also installed.
2. Make sure that at least USB 2.0 is enabled in your VM settings.
Yes verified. Please find attached USB_settings.jpg file.
USB_settings.PNG
USB_settings.PNG (31.43 KiB) Viewed 10118 times
[/color]
3. Create a USB filter in your guest settings while the device is plugged in the host. Delete all values except Name, VendorID and ProductID. Check also List of USB ID's to make sure that you have the numbers correct.
Yes . Please find attached Filter_settings.jpg file.
Filter settings.PNG
Filter settings.PNG (42.74 KiB) Viewed 10118 times
[/color]
4. Unplug the device.
Yes. I did
5. Start your guest (the one that you applied the filter to). Let it start completely. Log in if you have to.
Yes. I did.
6. Plug your device. The filter should capture it and pass control to your guest.
Not able to read USB device :(

Please find attached VM logs as well.[attachment=2]
Attachments
VBox.log
(79.35 KiB) Downloaded 251 times
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Unable to connect USB devices in Windows 2012 R2 guest machine

Post by socratis »

For future reference, you should completely shut down the VM before grabbing the VBox.log. Then ZIP it before attaching it to your response.

Please read the following thread: USB basics and troubleshooting, all of the posts. If you still have a problem after reading through the whole thing, please follow the advice of the last post.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
shuklaabhi87
Posts: 6
Joined: 23. Aug 2017, 05:59

Re: Unable to connect USB devices in Windows 2012 R2 guest machine

Post by shuklaabhi87 »

I tried recommend steps in USB basics and troubleshooting but did not get success.

Please see below request information.

1-What's your VirtualBox version?
"VirtualBox 5.1.22r115126"

2- What's your host and your guest version?

Host info-

OS Name: Microsoft Windows 7 Professional
OS Version: 6.1.7601 Service Pack 1 Build 7601
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
BIOS Version: Hewlett-Packard 68IBD Ver. F.60, 9/01/2015


Guest info


OS Name: Microsoft Windows Server 2012 R2 Standard
OS Version: 6.3.9600 N/A Build 9600
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Server
OS Build Type: Multiprocessor Free
BIOS Version: innotek GmbH VirtualBox, 12/1/2006



3-Please find attached
Logs.zip
(28.23 KiB) Downloaded 143 times
VM logs and below command output.

cd "C:\Program Files\Oracle\VirtualBox"
VBoxManage -version
VBoxManage list extpacks
VBoxManage list usbhost
VBoxManage list usbfilters
VBoxManage showvminfo "<Your_Virtual_Machine_Name>"


Please note, i want to access Aladdin Token JC device.
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Unable to connect USB devices in Windows 2012 R2 guest machine

Post by BillG »

I am not sure that your device would work in a physical server running Server 2012 R2. There may not be a driver in the server OS.

Bing or Google Alladin Token JC to see what drivers are available. Plenty of hits! Driver Scape claims to have one for Windows 8.1 x64 which would be the closest to Server 2012 R2.
Bill
shuklaabhi87
Posts: 6
Joined: 23. Aug 2017, 05:59

Re: Unable to connect USB devices in Windows 2012 R2 guest machine

Post by shuklaabhi87 »

i tried normal USB devices as well and those devices also does not work.
shuklaabhi87
Posts: 6
Joined: 23. Aug 2017, 05:59

Re: Unable to connect USB devices in Windows 2012 R2 guest machine

Post by shuklaabhi87 »

Hi Guys,

Any clue base on provided logs and information ?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Unable to connect USB devices in Windows 2012 R2 guest machine

Post by socratis »

shuklaabhi87 wrote:i tried normal USB devices as well and those devices also does not work.
Hmm... That makes me think that maybe the installation of VirtualBox didn't go as planned, or that something else is grabbing the USB devices before the VirtualBox USB filter has a chance to.

For the latter, do you have any third party programs that may be using USB filters? Wireshark comes in mind, but other apps may be responsible as well, such as antivirus and debuggers.

As far as a "clean/proper" VirtualBox installation, here is what you do:
  1. Uninstall VirtualBox. Your VMs are going to be untouched. Reboot.
  2. You may want to clean up your registry and/or filesystem at this point. CCleaner is a freeware utility that could help you. Mind the installation, it comes with "offers" from 3rd parties, known as "bundleware". Also, check out Device Cleanup program that helps you to remove any unused devices from your computer.
  3. Download (if you haven't already) the latest VirtualBox and its matching ExtPack. Store them in a common location, i.e. not on "Desktop", or "Documents", but to "Public/Downloads" for example.
  4. Locate the downloaded file in Windows Explorer. Right-click on the installer and select "Run-as-Administrator", even if you are the administrator. At the end of the installation, choose to "Start Oracle VM VirtualBox". Do not worry if your VMs do not show up.
  5. Go to File » Preferences » Extensions. Click on the icon with the orange, down-pointing arrow on the right. Select the ExtPack from the previous steps.
  6. Quit VirtualBox. Re-start VirtualBox as you would normally, i.e. from the Desktop shortcut or the Start menu.
  7. Update the Guest Additions (GAs) in your guest(s), if the GAs are available for a specific guest.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
shuklaabhi87
Posts: 6
Joined: 23. Aug 2017, 05:59

Re: Unable to connect USB devices in Windows 2012 R2 guest machine

Post by shuklaabhi87 »

Hello,

I unistall my previous version and followed explained steps but no success :(

I downloaded latest version from https://www.virtualbox.org/wiki/Downloads.
shuklaabhi87
Posts: 6
Joined: 23. Aug 2017, 05:59

Re: Unable to connect USB devices in Windows 2012 R2 guest machine

Post by shuklaabhi87 »

Any help/suggestion on this ?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Unable to connect USB devices in Windows 2012 R2 guest machine

Post by socratis »

Try the same procedure with a common USB device, something like a USB stick. Check the "#7. Troubleshooting" steps from here and then send the information from the "#8. Asking for help".
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply