Smokey's Security Weblog

veritas odium parit

Windows Vista / USB device detection problems: How-To-Fix

Author: thedave.ca

During the initial installation of a USB device (most often external drives, although not always), Windows Vista does not locate or install drivers for the device.

Windows Vista might report that there is “no driver found for you device” and/or will not display the pre-installed Vista OEM drivers. Even by manually selecting the driver, you will still get the “no driver found…” error. This is most likely caused by a corrupted INFCACHE.1 file. This file stores the location of drivers and their INF files. This file is hidden, has restricted access, and can be found in “c:\windows\inf”.

Delete the INFCACHE.1 file and it will force Windows to rebuild the INFCACHE.1 file the next time Windows searches for drivers. To delete this file, you have to set the security permissions of it to allow Full Control for the User Group Administrators or full control for your user account. Please follow the directions below:

1. Open a Windows Explorer window by right clicking on Start and then clicking on Explore.
2. In the address bar, type C:\windows\inf and press Enter.
3. Find and then right click on the file named INFCACHE.1.
4.Select Properties.
5. Click on the Security tab.
6. Click on Edit to edit the permissions of the file.
7. Click on Add to add User Groups.
8. Type Administrators in the User Groups field and click on OK.
9. Set Administrators to Full Control and click on OK.
10. Move or delete the file INFCACHE.1.
11. Reinstall a device to force Windows to rebuild the INFCACHE.1 file (DO NOT reinstall the same external hard drive that you were having issues detecting before. Please connect another USB device other than the one that Vista had an issue detecting).

This detection issue can happen several times in a row, but repeat the steps 1-11 and try again until this works.

Source: thedave.ca

May 31, 2008 - Posted by Smokey | Advisories, General, Uncategorized | , , , , , , | 16 Comments

16 Comments »

  1. Hey : ) thanks for your post, I had exactly the same problem, but ive tried to do the same 1-11 like 6 times, and nothing happens when i repluc new usb?? is it really a 10% chance to hit the right?
    Thansk : p

    Comment by Frederik | July 15, 2008 | Reply

  2. Hi Frederik,

    i neither thedave.ca will guarantee the fix will work, however, please repeat the fix again several times.

    Comment by Smokey | July 19, 2008 | Reply

  3. The above solution didn’t work for me for two USB external harddisks, however, there IS a fix for USB devices that won’t work and keep flashing driver install dialogs that result in ‘driver not found’

    In Device Manager right click the device or the unknown devices to update drivers, point to ‘C:\Windows\winsxs’ instead of windows/inf or windows/system32, this is where Vista stores it’s legacy DLL files and frameworks, Vista will warn that the driver isn’t signed, install anyway, it’s perfectly safe, it will install the malfunctioning device and install all drivers associated with the deviceID

    Comment by MKVDB | July 28, 2008 | Reply

  4. dear Smokey,

    I have a couple of Sansa players and the Windows Vsta progrom will not supposrt these players much of the time.
    The retailer who sold me the players told me they are compatable

    What can I do?

    I also suspect that a virus may have trickled into my hard- drive which was orignally on Windows XP and I can no longer use the music-match program I once used to upload the music.

    Comment by Kim Dwyer | July 31, 2008 | Reply

  5. I have installed Vista on a dual boot with XP. I had an issue with the front set of USB ports in Vista, but never in XP. The four attached directly to the board would work, the four attached by cable to the front would not work.

    I noticed in the Device Manager that there were 4 of “VIA Rev 5 or later USB Universal Host Controller”, and 1 “VIA USB Enhanceed Host Controller”, and 5 USB Root Hubs.

    I’m running an older VIA K8M800 chipset with an Athlon 64 3200+ and an ATI 2600 PRO AGP. The K8M800 supports 8 USB ports.

    The VIA USB Enhanced claims 8 ports, and the VIA Rev 5 claim 2 each, which creates a conflict. I discovered that disabling the VIA USB Enhanced makes a USB Root Hub disappear, and my front ports are now working in Vista. I can plug my LG cellphone and my Logitech Rumblepad 2 in the front.

    Comment by Saber | July 31, 2008 | Reply

  6. FYI uninstalling the USB Enhanced (the hog) won’t work because it will simply be installed by Vista again. Just disable it. This was my fix in one scenario

    Comment by Saber | July 31, 2008 | Reply

  7. Dear Kim,

    your retailer is telling the truth: the Sansa players are indeed Vista compatible.

    Probably it is a rhapsody issue. Please explore the cd, go into the folder FSCommand, and run the setup.exe file.

    To be sure your PC is malware-free, post a HijackThis Log on my board Before submitting such log, register (for free) on the board and read the instructions in “How to post a HijackThis Log”.

    Comment by Smokey | July 31, 2008 | Reply

  8. Hello,

    I don’t know enough to fix my driver F problem. I have worked on it for 3 days now trying all different things. I just did the steps above, but have not tried it yet. A box comes up that says, “Driver F error”. It worked a month ago and was able to connect, use, and add songs to my players. Now they do nothing. They will not connect. Any suggestions? Thanks, Kim

    Comment by Kim | August 13, 2008 | Reply

  9. hey, how can i fix dis problem with my laptop, im using vista and wen the frst time i used my newly bought usb device (something like a usb plug and MEMory card for my cp slot at the back part), it installed the driver, but wat bothers me is dat i cant open the removable disk, it says that i shud enter the disk into the disk, i thnk its the device or the driver, pls help

    thanks

    Comment by denz | August 21, 2008 | Reply

  10. I followed the instructions and tried it for 5 times until it read the drive and corrected itself. Thank you.

    Comment by What about Bob | September 15, 2008 | Reply

  11. The above solution didn’t work for me for two USB external harddisks, however, there IS a fix for USB devices that won’t work and keep flashing driver install dialogs that result in ‘driver not found’

    In Device Manager right click the device or the unknown devices to update drivers, point to ‘C:\Windows\winsxs’ instead of windows/inf or windows/system32, this is where Vista stores it’s legacy DLL files and frameworks, Vista will warn that the driver isn’t signed, install anyway, it’s perfectly safe, it will install the malfunctioning device and install all drivers associated with the deviceID

    Thanks to smokey i just follow this step and i fix my usb storage device thanks a lot i was really helpfull

    Comment by Maykol | December 6, 2008 | Reply

  12. Absolutely worked perfect. I’ve wasted about a day dealing with various tech non-support and they all said I’d have to reinstall Windows.

    Thanks you.

    Comment by John | March 30, 2009 | Reply

  13. Wow… works great. Just made a little batch file and create a shortcut to it on the desktop and I’ll be ready to delete the next ‘problem’ INFCACHE.1 file.

    Thanks for the tip.

    Comment by Phil | May 8, 2009 | Reply

    • You are welcome, I am pleased to hear you could solve the problem with the How-To. (:

      Comment by Smokey | May 8, 2009 | Reply

  14. all i have to say is that this works!!

    i used to think that maybe it was a file that messed up, so i tried resetting my laptop to factory settings and i still had the problem.

    i followed your instructions, and it worked :)

    Comment by Chiaro | May 17, 2009 | Reply

  15. Thanks dude, this shit worked…..i’m grateful

    Comment by Y.I Chilima | May 21, 2009 | Reply


Leave a comment