This has been happening every other day for me recently where I will be typing and my keyboard will randomly start typing the wrong letters or pressing certain keys will open the menu bar, but my computer to sleep or just type completely random letters. I've googled it once before and found that I should change the settings in control panel > regional and language settings which worked for me once but lately it doesn't.
I've even purposely added a foreign language and then re added my normal one (UK) but hasn't helped, it was already on the proper settings anyway. The last two times it has happened was on the night and left my keyboard unplugged, the next day I plugged my keyboard back into the tower while the computer was still loading up and it has been working fine now and did the same again last night. I don't know why it does this? Also google suggested a FN key but my keyboard doesn't have one.
I've even purposely added a foreign language and then re added my normal one (UK) but hasn't helped, it was already on the proper settings anyway. The last two times it has happened was on the night and left my keyboard unplugged, the next day I plugged my keyboard back into the tower while the computer was still loading up and it has been working fine now and did the same again last night. I don't know why it does this? Also google suggested a FN key but my keyboard doesn't have one.