A good tool for such tasks is SharpKeys.
SharpKeys is a Registry hack that is used to make certain keys on a keyboard act like other keys. Par exemple, if you accidentally hit Caps Lock often, you could use this utility to map Caps Lock to a Shift key or even turn it off completely.
It's small, portable and does the same as the accepted answer above, only via a GUI