Windows Registry Key-remap Changing NT and Win2K Keymaps through the Registry
1. Run Start→Run…
2. Open: regedt32 to edit the registry.
3. Select the key
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Keyboard Layout
4. From the Edit menu, choose “Add Value” to add a value named “Scancode Map” with type REG_BINARY.
5. Set the value for the layout you want (copy and paste the bold text below):
00 00 00 00 00 00 00 00 02 00 00 00 1d 00 3a 00 00 00 00 00
00 00 00 00 00 00 00 00 03 00 00 00 1d 00 3a 00 3a 00 1d 00 00 00 00 00
00 00 00 00 00 00 00 00 04 00 00 00 1d 00 3a 00 38 00 1d 00 3a 00 38 00 00 00 00 00
6. Reboot your machine
nircmd.exe regsetval binary "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Keyboard Layout\Scancode Map" "00 00 00 00 00 00 00 00 03 00 00 00 1d 00 3a 00 3a 00 1d 00 00 00 00 00"