Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just upgraded to Windows 7, and I'm trying to reconfigure everything to my liking. Under Windows XP, I had remapped the Capslock key to behave as a Control key (I spent a long time with Solaris keyboards, and grew to like it).

In XP, I did this as a system-wide setting via the registry:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,1d,00,3a,00,3a,00,5d,e0 

It is my understanding that Vista and 7 have a better way to do this - Something that works on a per-user basis instead of machine-wide. I recall coming across several pages to that fact when I first looked up how to do it in XP.

However, my google-fu is failing me, and I can't find how to do it. I've searched this site too, and all I've found is thirdparty software recommendations. Is there a native way to do this in Windows 7?

share|improve this question
up vote 14 down vote accepted

How to remap or disable Caps Lock Key in Windows 7 or Vista. Lucky for you, I ran across this yesterday.

From that site, here's the regkey to turn Capslock into a Ctrl key:

[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 
share|improve this answer
+1 I was about to add a link to this - I couldn't find a neater way to do this either... – Nick Josevski Sep 13 '11 at 0:53
I thought vista/7 introduced a better keymapping mechanism, but this works. – Tim Sep 13 '11 at 20:16
Thanks for a solution. Updating registry solution worked for Windows 8 Pro x64 too. – vvladymyrov Jan 28 '13 at 17:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.