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.
The break down for this HEX string is:
02 in bold represents how many keys you are going to re-map plus 1.0000 is the key we actually want Windows to map TO, which in this case is nothing, or 0.3A00 is the key we are mapping from, in this case the caps lock key.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
https://www.howtogeek.com/howto/windows-vista/disable-caps-lock-key-in-windows-vista/