UPDATE - If your cursor is working, no need to edit the mouse settings. If your keyboard is working, no need to edit your keyboard settings. Just follow the steps for the device(s) which are not working.
Windows 10 isn’t the most robust Operating System out there. Often, the updates can break the computer in some way or another. They can clash with manufacturer updates, specifically they can attempt to replace the drivers installed by manufacturers with their own versions. Wi-Fi, optical drives and other devices can be affected, but today we will cover the keyboard and mouse - probably the most irritating of devices to fail on your laptop! Be warned, you may need a USB mouse and/or keyboard to complete this suggestions.
First some background.
A driver is a piece of software which allows the operating system to communicate with hardware devices. You can think of a driver like a translator, taking commands from the operating system and relaying them to the hardware in the language that hardware speaks.
If any device stops working randomly, the first place to check is the device manager. To do so, right click on the start menu and select Device Manager from the list.
You will likely be presented with one of a few scenarios.
The device is not listed at all
The device is listed with a yellow !
The device is listed with no warnings
Multiple devices are listed, with or without warnings
Let’s fix the Keyboard and Mouse
If there is no listing for the keyboard or mouse, or if there is a listing for the keyboard and mouse, but with a yellow warning sign, then we need to work out the error. Right click on the device and go to properties. You will see a message hopefully containing an error code. The common codes are code 10, code 12 and code 43. To fix them follow this procedure.
1. Uninstall and delete the drivers.
Right click on the device and go to “Uninstall device”. If you get the option to delete the driver software, check the box and delete it. Click “Ok”. This might be enough to fix the problems. Restart the laptop and check to see if the keyboard or mouse works. If not, move on to 2.
2. Install the latest drivers.
If that hasn’t worked, see if there are updated drivers from Windows Update or the manufacturers website. If that doesn’t work, move on to 3.
3. Locate the registry entries.
Press Windows+r to open the Run prompt. Enter “regedit” and click “Ok”. Once the registry editor is open, find the following entries.
On either of them, click on the entry and on the right window, you should see the registry value files. If you see UpperFilters or/and LowerFilters, delete them. Restart the laptop and see if the keyboard and mouse work. If not, move onto 4.
4. Re-enter the registry values.
Open regedit again and find the above entries. This time, we are going to manually add the UpperFilters values back into them. With the entries selected, right click on the empty space in the right window. Click “new” -> “Multi-String Value”. Call the value “UpperFilters” and give it the value “mouclass” for the mouse, and “kbdclass”.Restart the laptop and see if the keyboard and mouse work.