Created by: daniel 2018-12-17 15:03:35
Updated by: daniel 2018-12-17 15:23:14
Visibility: Public

Windows remap keyboard keys

This documentation describes how to remap certain keyboard keys on a Windows system. In this example the “Caps Lock” key will be remapped to NULL.

Open regedit.exe and browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

Now add a REG_BINARY key and fill in: (Note: it’s not possible to copy&paste into the registry window, you may want to import the registry file at the bottom of this article)

00000000 00000000 02000000 00003A00 00000000

Windows needs a reboot to apply the changes.

Hex string break down

The break down for this HEX string is:

registry file

Just open a notepad, paste the following content and save it as “disable-caps_lock.reg”. Now open/apply the file and reboot afterwards.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,3a,00,00,00,00,00

References

https://www.howtogeek.com/howto/windows-vista/disable-caps-lock-key-in-windows-vista/