Recovery, Windows 11

Undo a Caps Lock Remapon Windows 11: Get the Key Back

Each remap method has its own undo. Remove the one you used and the original key returns. Registry changes need a restart.

Isometric Caps Lock key with a circular restore arrow showing a remap being undoneCaps
PowerToysDelete the row
RegistryDelete the value
Then restartRegistry only
Locked out?On-Screen Keyboard

NewSoftwares.net editorial teamPublished November 2026Last verified: November 20266 min read

Short answer: delete the row in PowerToys Keyboard Manager, or delete the Scancode Map value from the Keyboard Layout registry key and restart Windows. For SharpKeys, use Delete All then write to the registry. For AutoHotkey, exit the script and remove it from Startup.

Undo routes

Match the Undo to the Method You Used

If you cannot remember which tool you used, check the layers in this order: the registry value, then PowerToys, then startup scripts. Remove what you find and test in Notepad.

Three undo routes: delete the PowerToys remap, delete the Scancode Map value and restart, or exit the script and remove it from StartupPowerToysDelete the rowor switch the module offRegistryDelete Scancode Mapthen restartScriptExit it and removeit from Startup
One undo route per method.

PowerToys

  1. Open Keyboard ManagerChoose Remap a key.
  2. Delete the rowFind the Caps Lock row and press the bin icon, then OK.
  3. TestPress Caps Lock in Notepad. The light should work again.

Registry Scancode Map

Open Terminal as administrator and run the delete command. Then restart.

Terminal (administrator): remove the remap
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /f

If you exported the key first, you can instead double-click the saved .reg file. Either way, restart Windows afterwards.

SharpKeys

Open SharpKeys, press Delete All, then Write to Registry. Log off or restart. This removes every mapping the program wrote, so re-add any you want to keep.

AutoHotkey

Right-click the green H icon in the tray and choose Exit. If the script starts with Windows, delete its shortcut from the Startup folder as well, or it returns after the next sign-in.

If typing breaks on the sign-in screen

Use the Accessibility button at the lower corner of the sign-in screen and open the On-Screen Keyboard. Click your password in, sign in, then remove the value and restart. Do not try to repair the value in the registry while a wrong remap is active on keys you need.

Undo checklist

Keeping a record

Before your next change, save the exported .reg file somewhere other than the desktop and write the method in a note. The same habit helps with any other setting, including the macro lists you build later. Macro Keys has its own export button for that purpose.

If you need help with the rest of the NewSoftwares.net range or have a question about a product, the contact page is the place to ask.

Common reasons people undo a remap

The first is a shared PC. Someone else sits down, presses Caps Lock and finds that nothing happens or that a Ctrl command fires. The second is a software update that brought a new default, and the remap now clashes with it. The third is simply habit: after a month the new layout does not feel right, and the old key is worth more than the experiment.

Before removing anything, make a note of the current setup. If the cause is a clash, you may only need to remove one of two overlapping tools, not both. Check PowerToys first, since it is the easiest to see, then the registry, then the Startup folder for scripts.

After the undo

Restart even if the method did not need it. A clean start rules out leftovers in memory. Then run the same checks you used when you first tested the remap: press the key in Notepad and watch the indicator light. If the key still misbehaves, the troubleshooting page covers the case where something other than your remap is at fault, such as a keyboard driver or a vendor utility that ships with some laptops.

Back up what you build next with the export option in Macro Keys.

Frequently Asked Questions

How do I undo a Caps Lock remap in PowerToys?

Open Keyboard Manager, Remap a key, and delete the Caps Lock row with the bin icon. You can also switch Keyboard Manager off. The change applies at once.

How do I undo a registry Caps Lock remap?

Delete the Scancode Map value in the Keyboard Layout key, or import your earlier export, then restart Windows.

How do I restore the registry from my backup?

Double-click the .reg file you exported, confirm the prompt, and restart. The export holds the whole Keyboard Layout key as it was before your change.

What if I forgot to back up the registry?

You can still delete the Scancode Map value. It is a separate value, so removing it returns the keyboard to default without touching other settings.

What if the keyboard is unusable on the sign-in screen?

Use the Accessibility button on the sign-in screen to open the On-Screen Keyboard, type your password with the mouse, sign in and remove the value.

How do I undo a SharpKeys remap?

Open SharpKeys, choose Delete All, then Write to Registry, and log off or restart.