This tutorial would solve all of your keyboard problems. You would be able to fix short / faulty keys of keyboard and repair them by mapping them to another keys of your keyboard.
First we need to identify faulty keys that get pressed automatically with the help of KeyboardTest software.
This is a Freeware. Although in website it says that this software works in Win 2000/03/08/XP/Vista/7, it would work in windows 8.1 and 10 too. I made this video in windows 10.
For key mapping I suggest you to use AutoHotKey. It does not require restart to bring changes into effect and you can control it in a click.
AutoHotKey download link: https://autohotkey.com
This is also free and open-source.
How to map keys with AutoHotKey: https://youtu.be/S_LHU8ZCVAI