USB drive doest not detect in host os but gets detected in guest os

  1. Posts : 74
    Windows 10

    USB drive doest not detect in host os but gets detected in guest os

    my usb drive is not getting detected on my laptop which has Windows 10 OS
    I executed drvierquery command its output is following

    but the same pen drive gets detected in vmware virtual machine on Windows 10 and I can see all files.
    I have attached output of driverquery in attachment section here.
    I want to know what is the problem why is my USB drive not getting detected in Windows 10 laptop.
    Host OS Win10 version 1909 18363.900
    Guest OS Win10 version 1903 18362.900
    I have IOBit software updater 2.4 it has updated some drivers on host previously.
    USB drive doest not detect in host os but gets detected in guest os Attached Files
      My Computer

  2. Posts : 3,677
    Windows 11 Pro 64 Bit 21H2

    With the flash drive plugged in, press the Windows key+X and choose Disk Management. Is your flash drive showing here? If it does not have a drive letter assigned, right click it and choose to Change Drive Letter or Paths and assign a drive letter for Windows.
      My Computer

  3. Posts : 1,096
    Windows 10 Pro (+ Windows 10 Home VMs for testing)

    I'm going to guess that it's a long-standing (but not well-known) USB enumeration bug that's been present in Windows since Vista.

    Note: If you want to avoid the somewhat lengthy explanation, just scroll down to Try this.

    (Or was is XP? I can't remember exactly... but it was when the first line of REG files moved from 'REGEDIT4' to 'Windows Registry Editor Version 5.00'.)

    Basically, every USB device connection writes multiple entries in the registry to sub-keys of:


    The entries describe not only the USB device itself (manufacturer, serial no., device type, capability, etc.) but also the USB port that the device is/was connected to. The trouble is... these entries are not removed when the USB device is disconnected.... so they just grow exponentially in number. As a result this proliferation of so many enumeration entries can lead to Windows no longer recognising a USB device... even though it has been used in the same USB port many times before. Sometime a reboot helps... 'cos that forces Windows to read the entire registry again... but often it doesn't.

    This is what I suspect has happened with your laptop. Your Guest OS probably only has the one virtual USB passthrough port and you've probably connected far fewer USB devices to it... so not so many USB enumeration entries have been written in comparison to the Host OS.

    Fortunately it's really easy to prune the proliferation of registry entries without fiddling around in the Registry.

    Try this:

    1. Grab yoursef a copy of Nir Sofer's small, free and portable USBDeview... making sure you choose the correct 'bitness' for your laptop's Windows version. (It'll most likely be 64-bit.)

    2. Run USBDeview by right-clicking on it and using the Run as administrator option. (It needs the subsequent 'elevated' rights to delete entries from the HKLM registry hive.)

    3. Click on the Connected column header to sort ports/devices into Yes (shown in green) and No (shown in grey) groups. (See the screenshot below.)

    4. Select all the No (grey) entries. This is to prevent you from accidentally selecting any connected USB keyboard and/or mouse. Tip: If you have any 'Port' devices that show 'Apple' in the device's 'Description' column, deselect them (using CTRL+Click). There's no problem... it's just that Apple's multiple device drivers (for each mode) take absolutely ages to auto-install themselves again. Snore...

    5. From the File menu, select the Uninstall Selected Devices option then confirm the action in the dialog that pops up:

    USB drive doest not detect in host os but gets detected in guest os-usbdeview_uninstall_selected.png

    This will prune the USB enumeration entries in the registry and is perfectly safe. New entries will be written back to the registry the first time you reconnect a USB device.

    6. Close USBDeview, reboot (so the registry is read in its entirety) then reconnect the problematic USB pen drive.

    Let us know if the Host OS now detects the pen drive.

    Hope this helps...
      My Computer

  4. Posts : 74
    Windows 10
    Thread Starter

    Yes , you are right. By the time you replied I was trying a software called Driver booster ,it has an option to clean unplugged device data , I cleaned unplugged device data and my usb drive is getting detected.
    USB drive doest not detect in host os but gets detected in guest os-annotation-2020-06-22-175028.jpg
    here is diskpart output disk 1 is the usb drive which detected.
    Previously it was not getting detected in diskpart also.
    USB drive doest not detect in host os but gets detected in guest os-annotation-2020-06-22-175029.jpg
      My Computer


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 20:13.
Find Us

Windows 10 Forums