# Windows 7 USB drivers corrupted, can't use mouse or keyboard

I recently rearranged the connections of the USB hubs on my motherboard and when I next booted Windows 7 it seemed to corrupt my USB driver store. When the computer starts the keyboard and mouse are both completely functional pre-Windows, but by the time I make it to the welcome screen one or both devices are disabled.

I can say definitively that these devices work; the problem is that Windows 7 has corrupted drivers. Because I am unable to operate the keyboard or mouse within Windows, I am unable to resolve the problem directly.

What I've Tried

• Changed the ports used for the mouse and keyboard.
• Works sometimes, but as soon as Windows tries to install the drivers for the new ports, both devices stop working
• Under the system startup repair utility (where the keyboard and mouse both work), tried to revert to a prior restore point.
• Failed outright regardless of which restore point I select (generic error). Not sure why...
• Also using system startup repair, mounted the HKLM\SYSTEM hive from C:\windows\system32\config into regedit and deleted all of the driver registers from the USB and Keyboard driver classes
• Worked at first, until Windows reinstalled the corrupted drivers

At this point the only other thing I can think of is reinstalling Windows, but I'm trying to avoid that at all costs. Any advice?

-
Check the windows\inf directory for usb.inf and usbport.inf. –  David Schwartz Feb 19 '13 at 20:18

Run sfc /scannow on the Windows prompt.

-