I've been searching for a topic with this sort of problem everywhere, but cannot find anything.
I left my pc for two weeks with my parents, and when I come back turns out 'keyboard does not work'. When plugged in it flashed 3 little lights (num lock, caps, etc) for a second but was completely dead and unresponsive. So I bought a new one.
I plug it in, it works, but then after few minutes it switches off (I can see num lock light goes dark) and turns on again after about 10 seconds (I can hear the sound of something being plugged in in windows). When it happens while playing a game, I get a rather big lag/2sec freeze. I tried using different usb port, I tried using converter and plugging it to ps2 port (purple one). I tried reinstalling windows.
Now it became more and more persistent, to the point I can barely write this post as it switches off every 30 sec or so.
Very annoying. Please point me in some direction with this.