Skip to content

How-ToOS

How to Disable or Remap Caps Lock in Windows 11

Windows 11 has no Settings switch to turn off Caps Lock, but you can disable or remap it. We explain three methods - SharpKeys, a hand-made Scancode Map registry value and PowerToys Keyboard Manager - with their trade-offs for games and sign-in, and how to undo them.

By , Systems & Technical Editor

4 min read

How to Disable or Remap Caps Lock in Windows 11

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.

  1. 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.

  2. Open it and click Add.

  3. In Map this key, choose Special: Caps Lock (00_3A), or click Type Key and press Caps Lock.

  4. 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.

  5. 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.

  1. Press Win+R, type regedit and press Enter.

  2. 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.

  3. Right-click in the right-hand pane, choose New > Binary Value and name it Scancode Map.

  4. 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".

  1. Open PowerToys Settings and select Keyboard Manager. Make sure it's enabled.

  2. Select Remap a key, then Add key remapping.

  3. Under Select, choose Caps Lock. Under To send, choose the key you want instead, such as Left Ctrl, or a shortcut or text.

  4. 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.

The bottom line

For most people, SharpKeys is the quickest way to disable or remap Caps Lock permanently: map it to Turn Key Off or a more useful key, write to the registry and restart. Confident users can enter the Scancode Map value by hand, while PowerToys Keyboard Manager is handy for trying a remap instantly, though it only works while PowerToys is running and Microsoft advises against it in games.

Sources

  1. 01Microsoft Learn, Keyboard and mouse class drivers (Scan Code Mapper)
  2. 02Microsoft Learn, PowerToys Keyboard Manager utility
  3. 03RandyRants (GitHub), SharpKeys project README and FAQ
  4. 04RandyRants (GitHub), SharpKeys source code (Dialog_Main.cs)

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Stream Vertical Video in OBS Studio with Aitum Vertical

How-To

How to Stream Vertical Video in OBS Studio with Aitum Vertical

Want to stream to TikTok, YouTube Shorts or Instagram in 9:16 without a second PC? The free Aitum Vertical plugin adds a separate vertical canvas to OBS Studio. Here's how to install version 1.6.8, build and link vertical scenes, add a vertical stream, use Backtrack clips and test it.

Marcus Thorne5 min

How to Fix Error 0xc000007b (Application Unable to Start Correctly) in Windows 11

How-To

How to Fix Error 0xc000007b (Application Unable to Start Correctly) in Windows 11

Game or app won't open with error 0xc000007b, saying the application was unable to start correctly? Here's what Microsoft says the code means, why mixed 32-bit and 64-bit files often cause it, and the safe fixes: Visual C++ Redistributables, verifying the game, antivirus quarantine, DISM and SFC.

Marcus Thorne5 min

How to Remap Keyboard Keys in Windows 11 with SharpKeys

How-To

How to Remap Keyboard Keys in Windows 11 with SharpKeys

SharpKeys is a free, open-source app that remaps or disables keyboard keys in Windows 11 by editing the Scancode Map registry value. We explain how it works, what it can't remap, how to install it, add and write mappings, and how to undo a remap that locks you out.

Marcus Thorne4 min