Try reinstalling the keyboard driver.
Go to control panel>system, click hardware tab,then device manager, go to keyboard/s, expand (there should be just one) right click it, click on driver tab, click "uninstall (advanced)" close that lot down, restart.
XP will reload the driver/s afresh when it starts up.
Might work...