Skip to content

Code 10 Device manager/ Keyboard not working, mouse not working /ps2

April 20, 2011

Ok, so this has been one of the best fixes i have ever gotten my hands on. When removing  infections, or sometimes when updating the ps/2 stuff you run into an issue with a code 10 in device manager for the keyboard and mouse. This pretty much means you have no access to your mouse or keyboard. Bummer. This can happen on both laptops and desktops. Most people recommend an operating system install, try this first.

*The fix* automatic

1. Save this into notepad and call it anything.bat and then run it, should be good to go.
Windows Registry Editor Version 5.00

; REGEDIT.EXE /S “%~f0″




*The fix* Manual

1. Plug in a usb keyboard and mouse. (They almost always load up just fine)

2. Load into windows. (doesnt matter if its safe mode, or just regular boot)

3. Make sure you load into the administrator account. Go to the start menu (in vista and windows 7 just start typing regedit) (for xp, go to the start menu and click run, then type regedit). Once you load up regedit find these keys and edit them.

4. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318}

Look for a value titled UpperFilters, its type is REG_MULTI_SZ. If it doesn’t exist, create it. Edit the value UpperFilters to read kbdclass. If there are any other line items in UpperFilters, delete them.

5. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}

Look for a value titled UpperFilters, its type is REG_MULTI_SZ. If it doesn’t exist, create it. Edit the value UpperFilters to read mouclass. If there are any other line items in UpperFilters, delete them.

6. Reboot the machine and you should now have a working keyboard and mouse.

*If you notice HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\    has registry keys that all relate to the hardware. Key that in mind…..

**Adding to the post yet again. If you cant get the keyboard to work and you have tried plugging another keyboard in with no luck, use the on screen keyboard (vista and 7) .

1. If you need to put in a password you should see a small blue icon in the left corner. Click it. It will bring up another menu. Use the on screen keyboard and apply the above fix.

2. If you dont have a password and it logs right in, go to the start menu, then all programs, accessories, ease of use. The on screen keyboard is in there. Use it and apply the fix listed above.

About these ads

From → Uncategorized

  1. thanks a lot permalink

    you are the best

    you fix my mouse

    thank u a lot

    Ramy , Egypt

  2. chris permalink

    amazing.tried uninstall, installing again nothing…tried using the usb port instead of ps2.nothing again. keyboard (microsoft digital) was dead.added the first value on regedit by using copy paste from the internet since the keyboard was dead and there was no way to input words….
    as you can see…after a reboot im typing……
    i cannot say how much i appreciate this.i was ready for a full system installation…format ,windows installation……you saved me many wasted hours .
    really very thankful
    chris ,greece

    • Right!? its a really nice fix. Much better than reinstalling the OS and then having to install all of your stuff again. Cheers

  3. Aqib permalink

    its not still working…..

  4. anj permalink

    thanks, thanks and thanks

  5. Kopija permalink

    Just had this problem after uninstalling one program and then rebooting pc. Took me almost whole day I’ve tried almost everything, even PS/2 mouse/keyboard didn’t work.
    Until I found this.
    What I did – used old PC to download Kaspersky Rescue Disk 10, installed it to USB then I boot it on new PC and use their Kaspersky Registry Editor and removed additional UpperFilters lines. Everything works fine now :) Thanks

  6. schakal permalink

    Thanks a Lot for this great Workaround. It helps me to fix the keyboard code 10 error after a Kaspersky Removal Session!

  7. Sandip Bandyopadhyay permalink

    You saved me. I really don’t know how to thank you for distributing your knowledge which will save re-installation hazards for many noobs. Code 10 is really a critical problem with no proper help from MS. You have done a great workaround. Please accept my hearty regards and a salute.

  8. zaw permalink

    thanks a lot….

  9. Nicholas permalink

    thank you. this helped my crappy computer. i need to by a new one. bought this laptop from an idiot that sold it to me which he was a supposed friend. waste of money.

    • never buy a pc from a friend haha. Unless you know alot about that pc you plan to buy.

  10. Cooldudeachyut permalink

    You are really the best

  11. Tim permalink

    Thank you, thank you, thank you!!! Worked like a charm.

  12. Ivan permalink

    Wow this is amazing! I’ve tried different workarounds and atlast I was so lucky for getting through this page and the solution worked perfectly for me after running it first i thought it did’t work but when i restarted my laptop boom! My keyboard is Back! =D thank you so much for sharing this! I almost lose my hope and had plan bringing it to a technecian.. You’re the best!

  13. what to do in case of windows 8 laptop..
    is there any problem in win 8 version

  14. Anders permalink

    Like everybody else I like to thank you for this expert help. My problem is a little different, I do not see and problems in the device manager and do not get a code 10 error. My keyboard does not work and the fix you suggest was not needed since the register was correct. My keyboard works fine when in BIOS but not in Windows so it is not HW, have tried all “easy” fixes, any thoughts?

    Thanks in advance!

  15. lailla permalink

    Esselamu alejkum.
    I found this help too late. For all those that this advice doesn’t work, try reboot, of course you have to put other keyboard or mouse to do it.
    Stupid Kaspersky. he caused me no good but trouble, blocked and keyboard and mouse.

  16. Barry Allen permalink

    amazing solution :D THx.

  17. you’re a genius

  18. nick permalink

    +1. like. tweet. share. post. Everything! Amazing fix! :-D

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: