This problem started about 2 months ago. It effects both the keyboard and the mouse. I am using a wireless keyboard.
Logitech MX710 I have used this keyboard successfully for about 3 years. My previous keyboard also Logitech wireless worked for about 5 years before I replaced it. I have reached out to Logitech and they do not have any drivers to use with their unifying receiver. I have checked so many helpful hints online that I have lost track of how many times I have tried each of them again and again.
I have tried the following steps:
reloaded drivers from windows, windows update, and computer based.
Removed keyboard filters
Changed repeat rate from medium to fast
Ran Keyboard troubleshooter
ran DSIM.exe /online /cleanup-image / restorehealth
ran sfc /scannow
restarted computer
Still have a very slow - skipping - laggy keyboard.