Obviously, you probably can't type as instructed in some of the steps below. Try using your mouse to copy and paste what you need to type from this post to the field it needs to be typed into.
1. Go to your Start menu and click "Run".
2. In the Run box that opens, type "regedit" and press "Enter".
3. In the new window that opens, click the "Edit" menu, then "Find".
4. In the find filed, type "kbdclass" and press "Enter".
5. The registry editor will no search for any key that has "kbdclass" in it. What you are looking
for is any that have a name of "UpperFilters" and a data of " something_random_here kbdclass" You
may need to go to "Edit","Find Next" if the search finds something else first.
6. Once you find the key, double click on it, and edit the text so that it includes only "kbdclass".
7. Continue searching (using the "Edit" and "Find Next" menu) until you have found and edited all
of the "UpperFilters" keys. Again, all should have a data filed that includes only "kbdclass".
8. Close the registry editor.
9. Go to the device manager, find your keyboard in the list (which should still be reporting a
"Code 39" error), and uninstall it.
10. You should then restart your computer, and with any luck, your keyboard will work upon rebooting.
If that doesn't work, your keyboard may be physically damaged, or the drivers on your computer may actually be corrupt.