If you can't control the keyboard in the bios then it has nothing to do with windows.
If possible test the keyboard on a working machine.
Clear the cmos.
If you can get the keyboard to behave long enough set the bios to defaults.
Tell the background on this.
Did it ever work?
my desktop computer acts weird when I connect my keyboard. the keyboard types itself and some tabs opens by itself because of keyboard. The problem is not with the keyboard, I can be sure about that...I have tried another keyboard also, still the problem remains as it is. i don't know it is because of malware. Used KAV trial version for a full scan,still no use. updated my windows 7 to windows 10 directly(update only), No use. In safe boot the there is no problem. But in BIOS also the problem remains. Can't control the keyboard. What am I supposed to do? Somebody help me