Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
My keyboard doesn't work and I get code 39. I searched google and got the instructions to fix (below) but I dodn't understand them. Can somebody re-write them in a more elelmentary way? thanks.
To repair this error:
1)Run regedit Click on Edit -> Find kbdclass2) Search through for as many "Upperfilters" you can find.
Mine was under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318}3) They most likely have 2 lots of drivers associated with it eg 'tphclhs kbdclass' , usually comes if you have installed VMWARE previously
4) Double click the 'Upperfilter' and delete the other entry except 'kbdclass'
5) Search for all instances of this and change them
6) Go to device manager and uninstall your keyboard - then 'scan for hardware changes'
7) You will most likely need to restart Keyboard should now be working fine.

It get this error a lot in my computer repair business. I wrote up what I think is an easier to follow set of instructions here: http://personal.ryantadams.com/2008...
-Ryan Adams
http://RyanTAdams.com

Hi Ryan,
I hope your version of the same set of instruction will be much easier for the OP to follow.
BTW I wonder if this problem can happens with just about any kind of keyboard - PS/2, USB and laptop - and what caused it if you know.
i_Xp/VistaUser

just wondering- why can't you just search for upperfilters? Also, when you do find it(upperfilters), do you just add a back slash followed by the text 'kbdclass'?
i.e.
whatever is her.../....upperfilters/kbdclass

@ XPuser: This can happen with any keyboard as it is a problem with windows handling of the drivers.
@ dwin: You can't search for "upperfilters" as there are many other keys which contain this and aren't related to the problem. CD drives for example have entries for "upperfilters." I'm not sure what you are asking about the backslash, but basically, you are looking for the "UpperFIlters" key which is related to the keyboard driver. This key should have only "kbdclass" as its data, but sometimes there will be extra data saved in the key which screws up windows.
@ XPUser: I'm not sure what causes it. I've heard about it happening with users who install VMWare server (but never personally had this issue) and also after Windows Updates (see a few times), and after changing keyboards (or having two plugged in, or none).
-Ryan Adams
http://RyanTAdams.com

Ryan,
Thanks for the feedback, You're also correct about the "UpperFIlters" key.
I believe dwin is experiencing the same issue as this one have. In this thread, no solution was found at that time but the OP uploaded images of the Device Manager. One image shows Code 39, which read:
Windows cannot load the device driver for this hardware the driver may be corrupted or missing (code 39)
Whatever the error message convey, I think it is misleading because as the following article will shows, code 39 is more for CD drive than it is for the keyboard.
http://forums.microsoft.com/MSDN/Sh...
dwin,Please explain exactly how this came about and what is the brand of keyboard you have.
Another thing, did you try system restore to the date before this happen? Did it help? Thanks.
i_Xp/VistaUser

okay- so I think I understand. find the upfilter strings and and any strings that don't have kbdclass should be deleted?

@dwin: Not quite. The registry contains keys which have a name and data associated with them. Sort of like a paper form you might fill out. The form has a line labeled: "address" and you write in your address. In that case, the "address" is the "name" and the "data" is your actual address you write in. You are looking for a key with the name "UpperFilter" and the data "kbdclass" followed by something else. When you find this key (or multiple keys) you need to change it so that the data part includes ONLY "kbdclass"
@XPuser: I wouldn't say the error message is misleading, though it is vague. The code 39 error basically means the driver is not performing the way it should be. This can apply to any driver on the system from the CPU driver to CD drive drivers, to keyboard drivers. Generally, this error seems to come up frequently in connection with CD rom driver issues, however, like I said, there is no reason it couldn't be seen with any device that requires a driver. This fix (related to the "UpperFilter" key) applies to all devices that are reporting a code 39 error and which use "UpperFilters."
@XPUser: Could you go into your registry, search for the "UpperFilters" keys as described in the solution, and export those keys to a reg file. I would like to get a copy of that reg file to see if the keys are in the same location as mine. If they are, I might be able to make a reg file that would correct this problem automatically and not require hand editing of the registry. If you don't mind doing that, please export the keys, and then send me a private message. Thanks
-Ryan Adams
http://RyanTAdams.com

Sure this will be something I haven't done in ages. All I have for my reference is this...
http://technet2.microsoft.com/windo...
I'm running Vista but I've located exactly the same key cited in Step 2 in the original message. PM me your e-mail addy. I will do it tomorrow morning (I'm in NY)
i_Xp/VistaUser

I created a REG file which should fix the problem for you automatically. I would still recommend trying to do it following the manual steps listed above, but if that fails, try the automatic solution found here: http://personal.ryantadams.com/2008/01/18/keyboard-not-working-due-to-missing-or-corrupt-drivers-code-39/...
-Ryan Adams
http://RyanTAdams.com

![]() |
Boot Issues
|
Network folders
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |