If you are running XP, clicking on START/CONTROL PANEL/KEYBOARD brings up a window with three tabs, clicking on HARDWARE brings up a TROUBLESHOOT button, you can give that a try next time yor keyboard goes wonky.