That sounds more like an unhappy keyboard than the OS. Is it a fancy keyboard with cool extra buttons that needs a driver? Could be the driver doesn’t like 8. Or there’s dirt. Or you did something in Windows to switch languages, that can always be fun, but usually doesn’t hit the non-entry keys like caps-lock.
If it was a wireless keyboard then fresh batteries are likely the solution. Invest in some fancy rechargeable batteries.
If it is a Bluetooth keyboard that is using a usb dongle, it may work better if it isnt plug into a USB hub but into the computer itself.
I’ve also had issues where I used a wireless keyboard (Microsoft) and mouse (Logitech) that used two different receivers that would conflict with each other if they were too close.