Skip to content

Instantly share code, notes, and snippets.

@bluSch
Last active September 2, 2021 13:21
Show Gist options
  • Save bluSch/8044808 to your computer and use it in GitHub Desktop.
Save bluSch/8044808 to your computer and use it in GitHub Desktop.
Windows Key rebindings
# To use these, copy one section beginning with 'Windows Registry' and down to the next Comment
# in a .reg file and execute it on windows. Capslock to ctrl worked for me on Windows 7,
# and these should work on most versions of windows.
# Turn capslock into ctrl
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,1d,00,3a,00,00,00,00,00
# Disable Rebindings
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=-
# Turn Caps lock to shift
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,2a,00,3a,00,00,00,00,00
# Disable Caps lock
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
# Turn Caps lock to Scroll lock
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,3A,00,46,00,00,00,00,00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment