Deleting USB enumeration entries from the XP registry

Goi

Diamond Member
Oct 10, 1999
6,770
7
91
Hi,

I'm currently doing firmware/software development on an XP machine, and as a result I my registry is chock full of USB devices that have enumerated in the past. I suspect that because of this, one of my USB HDD enclosures is not enumerating properly on my PC. It shows up as Mass Storage Device in Device Manager but with a yellow exclamation mark. When I view details I get the message "Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)"

I thought it was a hardware problem when I plugged in another USB HDD of the same make and it worked, and also plugged another HDD to the enclosure and still it didn't work, but the HDD works on another PC, so I'm pretty sure it's a PC problem, and I suspect it's some USB VID/PID/SN clash or something. How do I clean my registry of unused USB information?