Results 1 to 3 of 3

Thread: Windows Has Found New Hardware - USB not working

  1. #1
    Bronze Member Island_Boy_77's Avatar
    Join Date
    Dec 2004
    Location
    New Zealand
    Posts
    114

    Windows Has Found New Hardware - USB not working

    Hi all
    I've run across this problem a few times, but have never been able to fix it without a repair install or full reinstall.

    I'm working on a Compaq desktop with XP SP3 that suffered a BSoD. It turned out that the HDD prob had a few sector errors on it. So, I cloned the drive to a new drive - it booted fine with no apparent problems. After some time of bringing the system up to speed with missing updates, I encountered a problem with .NET (laughter down, please...) that required manual removal of 3.5 then reinstall (which, after a couple of reboots & more updates seemed to settle down).

    After all this, and thinking that the machine was going pretty well, I tried plugging in a standard USB flash drive - I got that dreaded 'Windows Has Found New Hardware' message that always tells me that I'm about to waste a lot of time fixing a stupid problem. The only way I was able to get the flash drive to "install" was to say 'no' to the 1st message in the wizard, go with the 2nd option on the next screen, then enter c:\windows\inf for the location directory. Even then, I got a warning message about the driver not being signed (which is obviously significant, since this should be a bog-standard Windows / motherboard driver, no?).

    After trolling the web for a couple of hours, I found and tried the following solutions:

    1)
    regsvr32 /u softpub.dll
    regsvr32 /u wintrust.dll
    regsvr32 /u initpki.dll
    regsvr32 /u dssenh.dll
    regsvr32 /u rsaenh.dll
    regsvr32 /u gpkcsp.dll
    regsvr32 /u sccbase.dll
    regsvr32 /u slbcsp.dll
    regsvr32 /u mssip32.dll
    regsvr32 /u cryptdlg.dll

    Reboot, then

    regsvr32 Softpub.dll
    regsvr32 Wintrust.dll
    regsvr32 Initpki.dll
    regsvr32 Dssenh.dll
    regsvr32 Rsaenh.dll
    regsvr32 Gpkcsp.dll
    regsvr32 Sccbase.dll
    regsvr32 Slbcsp.dll
    regsvr32 Mssip32.dll
    regsvr32 Cryptdlg.dll

    2)
    Delete C:\Windows\system32\catroot2 folder then reboot (I also did C:\Windows\system32\catroot by mistake 1st time, not seeing the '2' at the end of the suggestion initially - this didn't seem to make things any worse or better, and Windows recreated the catroot folder automatically)

    3)
    http://www.uwe-sieber.de/usbtrouble_e.html#xp_asks_for_drivers which is
    a solution for USB devices asking for drivers, but it looks like it
    should apply to the default location for any drivers.

    "The registry key that points to the INF folder is corrupt.
    Start the Registry Editor (Run, Regedit). Check if under
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion the item
    'DevicePath' points to '%SystemRoot%\inf'. Additional items, separated
    by semicolons, are ok but '%SystemRoot%\inf' has to be one of them.
    Then delete the file C:\WINDOWS\inf\infcache.1 - XP will recreate it.
    The INF folder and the infcache.1 file are 'hidden'. To see them in the
    Windows Explorer:
    Menu 'Tools', 'Folder Options'
    Tab 'View', mark 'show hidden files and folders'
    If it still doesn't work after a restart, the files in C:\WINDOWS\inf
    might be corrupt. A Windows repair install helps then.

    Another thing to check is if the values 'FactoryPreInstallInProgress'
    and 'AuditInProgress' are set to '1' under
    HKEY_LOCAL_MACHINE\SYSTEM\Setup
    and
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Factory

    They should be 0 or non present.

    After all that, I gave up and did a repair install.

    What I did find was that the Registry entry item HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
    'DevicePath' was completely blank, and I had to manually enter %SystemRoot%\inf. Once I did that, I was able to let the Hardware Wizard do an automatic search, and it did find the info it needed happily, but I still got the signing warning message.

    I also found posts that allowed me to switch off driver signing, which would have probably stopped the warning message, but I didn't want to go there & have that be a problem later, and besides which the Hardware Wizard shouldn't be showing up with ordinary stuff like flash drives anyway. Note, I also tested a USB keyboard (on a rear port where the flash drive was on a front port) and got the same problem, so it's clearly a problem with the whole USB subsystem.

    So, has anyone else managed to actually find a way around this without a repair install? I'm bound to come across this again in the future, so it would be great to have the info to hand for later. It's true that, with hindsight, the amount of time that I spent on the PC getting into good shape after it's BSoD was too high (over 7 hours), and a reformat / reload would have been best. But, as you all know, often one doesn't know the 'correct' course of action until at least halfway through, no?

    Cheers
    Peter

  2. #2
    Triple Platinum Member Curio's Avatar
    Join Date
    Nov 2004
    Location
    London
    Posts
    686
    After cloning a drive that has been shown to have bad sectors I wouldn't even bother with any other steps, I would just go repair install and if that fails wipe and reload. You are starting from a position where you know that the system is corrupted and you don't know to what extent - spending hours fiddling would be a waste of effort from that start point. Repairs can drag on forever if you let them and sometimes it is better to take the obvious steps.
    I'm using Windows 7 - you got a problem with that?

  3. #3
    Bronze Member Island_Boy_77's Avatar
    Join Date
    Dec 2004
    Location
    New Zealand
    Posts
    114
    Quote Originally Posted by Curio View Post
    Repairs can drag on forever if you let them and sometimes it is better to take the obvious steps.
    Agreed. However there are often mitigating factors like a PC with tons of installed software, not all of which might have install material available. Since I help a number of people with their PCs from time to time, it is always preferable, to me, to avoid a reformat / reinstall, as most noobs have their PCs the way they like them and really hate having to redo everything from scratch - which is often not even practical if they've downloaded lots of progs and may have no easy / straightforward way of recovering the downloads / licenses.

    My real interest here is how to correct this problem. Given that the system was looking promising and fairly stable, it was a surprise to me to have the USB subsystem crap itself. Surely there must be a fairly easy fix for this? Is there not a known reason for why this happens and how to quickly fix it? Surely XP isn't so poorly written that a reinstall or format / install is the only answer?
    Last edited by Island_Boy_77; November 8th, 2010 at 22:52 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •