Tuesday, June 29, 2010

Windows XP: The mouse and keyboard are not working; there is IRQ Resource Conflict

I have spend over 2 days looking for the solution to the mouse and keyboard not working for Windows XP after the manual system restore.

PROBLEMS:
1) After you restore the system restore from the Recovery Console for Windows XP, you may find that the mouse and keyboard (both serial ports) are not working.
There is yellow exclamation mark at the Device Manager for the keyboard and it shows Resources Conflict between the mouse and keyboard.

You can use USB Mouse to plug into the PC which will be able to work despite of the Resources Conflict for PS/2 mouse.

2) Your PS/2 mouse and keyboard are not detected by Windows XP after installing of software

3) Keyboard is not working for Windows XP due to Code 39 error message at Device Manager


Possible Root Cause of the problems: Registry File has corrupted entry for "Kbdclass" data which altered to format like "tphclhs kbdclass"

Solution: Find the corrupted data entry in the Registry and edit them back to "Kbdclass"



STEPS BY STEPS GUIDES

1)Start> Run> type regedit or go to Regedit32.exe located at the system32 folder at C:\Windows\System32\Regedit32.exe.

As you cannot type, you can copy and paste from the saved file that you opened before starting to edit the registry.


2) Click on Edit -> Find, Type in 'Upperfilters' and look at "Keys", "Values" and "data" but
uncheck "Match whole strings only"

3) Search for as many 'Upperfilters' as you can find. First start from the path as stated below and
look for data with entry "kbdclass" and other like 'tphclhs kbdclass'.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\

NOTES: There are several drivers associated with Upperfilters eg PartMgr, kbdclass, mouclass which must NOT
be deleted otherwise Code 10 error message will appear to say that driver cannot be loaded

4) Double click the 'Upperfilters' and only edit the corrupted data eg.'tphclhs kbdclass' to 'kbdclass'

5) Search for all instances of this and change only corrupted data to 'kbdclass' at HKEY_LOCAL_MACHINE Registry

6) Go to Device Manager and uninstall your keyboard - then 'scan for hardware changes'. The keyboard driver
should be able to load and ask you to restart the PC


7) You will need to restart the PC in order to complete the installation of keyboard driver


DONE!