At times, you may have some software changing the way your keyboard functions. Or maybe you added some custom keyboard shortcuts or hotkeys, and now want to reset Keyboard settings to original defaults. If your keyboard keys are not working the way they should be, then maybe it is time you reset your keyboard keys to default settings. This is what you could try in Windows 8.1/8 or Windows 10/7 and see if it helps.
Before you proceed, you may want to first confirm that it is not due to a physical problem or a hardware issue. So ensure that you update your device driver to its latest available version, clean the keyboard, check the wires and physical connection and maybe even try a different keyboard, in case of a desktop computer, and see if it resolves the problem. Also check if you have enabled Sticky Keys in Windows.
Reset keyboard settings
Open Control Panel > Language. Select your default language. If you have multiple languages enabled, move another language to the top of the list, to make it the primary language – and then again move your existing preferred language back to the top of the list. This will reset the keyboard.
If you have a single language, add another language. Make the new language, the Primary language by moving it to the top of the list. Once you have done this, now move the old language back to the top of the list to make it the primary language again. This will reset the keyboard layout to default.
Lets take an example to make it clear. I have only English (India) installed and it is my primary language. If I want to reset my keyboard to default settings, I will have to add another language – say English (United States) and move it to the top of the list, using the Move up link. This will change my keyboard layout.
Next I will have to move English (India) back to the top. This will change my keyboard layout to match this language setting. I can then delete English (United States).
This will reset the keyboard keys to default settings.
You may want to have a look at these posts too: