Caps Lock is one of the easiest keys to hit by accident: it sits right next to A and Shift, and a stray press can turn a password or a game chat message into shouting. Windows 11 doesn't make it easy to switch off, but there are three reliable ways to switch it off or turn it into something more useful, such as an extra Ctrl or Shift key.
This guide is based on Microsoft's documentation for the Windows Scan Code Mapper and the PowerToys Keyboard Manager, plus the SharpKeys project page and source code, all checked on 2 December 2026.
Which method should you use?
Method | Needs software running? | Restart needed? | Best for |
|---|
SharpKeys | No (writes a registry value) | Yes, or sign out and in | A permanent change with a simple interface |
Registry Editor (Scancode Map) | No | Yes | No extra software at all |
PowerToys Keyboard Manager | Yes, PowerToys must be running | No | Trying a remap instantly, or using shortcuts |
Both registry-based methods use the same Windows feature. Microsoft says these mappings "apply to all users" and "always apply to all keyboards connected to the system", so you can't keep Caps Lock on an external keyboard and disable it on the laptop's. PowerToys is the opposite: changes are instant, but Microsoft says that "If PowerToys is not running, key remapping will no longer be applied".
Method 1: SharpKeys (easiest permanent fix)
SharpKeys is a free, open-source app whose developer describes it as a way to remap keys through a registry value rather than doing the work itself. Fittingly, the developer says the app started because they kept hitting Caps Lock by mistake.
Install SharpKeys from its GitHub releases page, the Microsoft Store or with winget install -e RandyRants.SharpKeys. Use the ZIP version on ARM-based Windows PCs.
Open it and click Add.
In Map this key, choose Special: Caps Lock (00_3A), or click Type Key and press Caps Lock.
In To this key, choose -- Turn Key Off (00_00) to disable it, or pick another key, such as Left Ctrl or Left Shift, to remap it.
Click OK, then Write to Registry, then restart or sign out and back in.
Our full SharpKeys guide covers the app's other options and limits.
Method 2: edit the registry yourself
If you'd rather not install anything, you can create the value SharpKeys would write. Back up first (see how to back up the registry in Windows 11), and be careful: a wrong value can disable keys you need.
Press Win+R, type regedit and press Enter.
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout. Microsoft warns that there's a similarly named Keyboard Layouts key that "shouldn't be modified", so check you're in the right one.
Right-click in the right-hand pane, choose New > Binary Value and name it Scancode Map.
Double-click it and enter the data below, then click OK and restart.
To turn Caps Lock off, enter:
00 00 00 00 00 00 00 00 02 00 00 00 00 00 3A 00 00 00 00 00
That follows Microsoft's documented format: eight bytes of zeroed header, a count of two entries (one mapping plus the required null terminator), a mapping that sends Caps Lock's scan code (0x3A) to nothing, and the four-byte terminator.
To swap Caps Lock and Left Ctrl instead, Microsoft gives this exact example value:
00000000 00000000 03000000 3A001D00 1D003A00 00000000
To undo either change, delete the Scancode Map value and restart. Microsoft's instruction is simply to "remove the Scancode Map registry value and reboot".
Method 3: PowerToys Keyboard Manager (instant, no restart)
If you already use Microsoft PowerToys, its Keyboard Manager can remap Caps Lock without touching the registry, and Microsoft says remapping "should occur immediately upon pressing OK".
Open PowerToys Settings and select Keyboard Manager. Make sure it's enabled.
Select Remap a key, then Add key remapping.
Under Select, choose Caps Lock. Under To send, choose the key you want instead, such as Left Ctrl, or a shortcut or text.
Select OK.
There are trade-offs. Keyboard Manager doesn't work on the sign-in screen or other password screens, needs PowerToys running as administrator to affect admin windows, and Microsoft says it "shouldn't be used when playing video games" because its key interception "will impact the FPS". For gaming PCs, one of the registry methods is the safer choice. For a wider comparison, read SharpKeys vs PowerToys Keyboard Manager.
If you lock yourself out
If a remap breaks a key you need, use another keyboard or the on-screen keyboard, or boot into Safe Mode, then run this from an administrator Command Prompt and restart:
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map"
That's the reset the SharpKeys developer recommends, and it removes every registry-based remap, not just Caps Lock.