Caps Lock Remap Not Workingon Windows 11: Fixes That Work
If your Caps Lock remap does nothing, has stopped, or only works in some places, the cause is nearly always one of five. Check them from the registry up, in this order.
Short answer: confirm that Windows has restarted after a registry change, that PowerToys is running with Keyboard Manager on, that no second tool maps the same key, and that the program in front of you is not running as administrator. One of those four is almost always the break.
The Five Causes, From the Bottom Up
A remap passes through layers. The registry map sits at the bottom and applies to everyone. A tool such as PowerToys sits above that in your session. The program you are typing into sits on top. A fault in a lower layer shows up everywhere. A fault in a higher layer shows up in one place.
1. The registry change has not been applied
Run reg query "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" in Terminal. If the value is missing, the command that was meant to add it failed, usually because the window was not opened as administrator. If it is present, restart Windows. The map is read at startup only.
2. The value is there but the bytes are wrong
A single wrong digit changes the key. The count byte must equal the number of pairs plus one, and each code is written low byte first. If you typed the string by hand, delete the value and paste a known good one from the main guide. Caps Lock is code 3A. Left Ctrl is 1D. Esc is 01.
3. PowerToys is not running, or Keyboard Manager is off
Open PowerToys, select Keyboard Manager and check that Enable Keyboard Manager is on. Look in the system tray for the PowerToys icon. If it is missing, PowerToys was closed. Turn on Run at startup in General so it returns after each restart.
4. Two tools are mapping the same key
A registry map, a PowerToys row and an AutoHotkey script on the same key can undo each other. Remove all but one. If you keep the registry map, delete the PowerToys row for Caps Lock. If you keep PowerToys, delete the registry value and restart.
5. The program runs as administrator
Tools at normal rights cannot inject keys into an elevated window. In PowerToys, open General and turn on Run as administrator, then restart PowerToys. Expect a prompt each time Windows starts it. The registry map does not have this problem, because it works below the session.
| Layer | Sign-in screen | Administrator apps | Needs restart |
|---|---|---|---|
| Registry Scancode Map | Yes | Yes | Yes |
| PowerToys | No | Only if PowerToys is elevated | No |
| AutoHotkey script | No | Only if the script is elevated | No |
If you are locked out by a bad remap
If a wrong value makes the keyboard misbehave on the sign-in screen, use the Accessibility button in the lower corner and open the On-Screen Keyboard. Type your password with the mouse, sign in, delete the Scancode Map value and restart. Details are on the undo page.
When the cause is typing, not the remap
If the remap is fine but you keep typing the same corrections or phrases, a text tool saves more time than a remap would. Macro Keys is a free Windows utility from NewSoftwares.net for text macros, multiple clipboards and a hotkey launcher. It does not remap keys, so use it alongside your fix, not in place of it.
Once the key behaves, a macro tool handles the repeated text.
Frequently Asked Questions
Why did my Caps Lock remap stop working on Windows 11?
The most common reason is that PowerToys is no longer running, since its remaps exist only while it runs. Next most common is a Windows restart that never happened after a registry edit, or a second tool mapping the same key back.
Why does the remap not work in one program?
That program probably runs as administrator. A tool running at normal rights cannot send keys into it. Run PowerToys as administrator, or open the program without elevation.
Why does the remap not work at the Windows sign-in screen?
PowerToys and scripts start after sign-in. Only the registry Scancode Map is read early enough to affect the sign-in and password screens.
Do I need to restart after changing the registry value?
Yes. Windows reads the Scancode Map during startup, so a sign-out is not enough. Restart and test again.
My remapped modifier key deletes whole words. Why?
That was a bug in early PowerToys 0.100 builds, where remapped modifiers arrived as system-key events. Version 0.100.1 fixed it. Update PowerToys.
Could a game be ignoring the remap?
Yes. Some games read the keyboard at a low level or run with elevated rights, which bypasses session-level remappers. The registry map is read lower down and is more likely to be honored.