This batch program helps re-map the keystroke by changing the ‘scancodemap’
entry in the registry editor. The code that I have enclosed here changes the key from A to B, so that if any
users press ‘a’ key on the keyboard he will be getting the ‘b’ displayed on the screen, likewise you may
map any keys.
@echo off
reg add "HKLM\System\CurrentControlSet\Control\Keyboard Layout" /v "Scancode
Map" /t REG_BINARY /d 00000000000000000200000030001e0000000000
exit
If you want to create a new batch file for remapping other keys, you have to refer the ascii codes for each
keys that was pre assigned, and you can Download