Hello and Welcome to TSF,
Ff it happens at all times, in all programs, try uninstalling the keyboard drivers in device manager. if it happens only in certain games, and you've remapped the keys through the games setup, you might have to change those settings.
Search the registry for the string:
KeyboardDataQueueSize
there may be 4 or five instances. make sure the value is the same in all instances. the default is 100
Ff it happens at all times, in all programs, try uninstalling the keyboard drivers in device manager. if it happens only in certain games, and you've remapped the keys through the games setup, you might have to change those settings.
Search the registry for the string:
KeyboardDataQueueSize
there may be 4 or five instances. make sure the value is the same in all instances. the default is 100