Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome all constructive edits, but please make them substantial. Avoid trivial edits unless absolutely necessary.

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?