Skip to content

Instantly share code, notes, and snippets.

@krists
Last active February 3, 2024 21:23
Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save krists/8898275 to your computer and use it in GitHub Desktop.
Save krists/8898275 to your computer and use it in GitHub Desktop.
Remap Caps-Lock key to Ctrl in Windows 7/8

Remap Caps-Lock key to Ctrl in Windows 7/8

  • Press Windows key + R and type regedit.exe
  • Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
  • Create new entry with type Binary value named: Scancode Map
  • Modify value to:
    02 00 00 00 1D 00 3A 00
    00 00 00 00```
    
  • Restart computer
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment