How can I swap my Control and Caps Lock keys on Windows 7? I've found several options online but all are for previous versions of Windows.

1 Answer 1


Windows has a built-in feature that lets you flexibly remap keys by adding registry keys corresponding one keycode to another.

This isn't very user-friendly to do manually, so you can get a program called SharpKeys that's a nice GUI to this.

  • Just install the program (it's small); start it up.
  • Press Add below the empty list box.
  • You can then choose Caps Lock from the left list and Left Control or Right Control from the right list, or do it the easy way and just click "Type Key" on the left and press your caps lock key and then okay.
  • Then do the same thing on the right with either Left Control or Right Control.
  • Then just hit OK, then hit Write to Registry in the main window.
  • Once this is done you'll need to log off and then back on so that Windows will reload the keyboard settings.
  • Looks like it was last updated in 2006, does it work (reliably) on Windows 7?
    – jrdioko
    Jun 3, 2011 at 23:16
  • Yeah, it still works just fine in Win7 in my experience (although the installer seems to say it's only intended for XP/2003) Jun 3, 2011 at 23:59
  • Considering the keyboard driver model hasn't changed considerable in over 20 years...
    – surfasb
    Jun 4, 2011 at 0:38
  • Thanks for this answer (and for the question)! I just did it on my Windows 7 Starter Edition netbook and it worked great. I used SharpKeys 3.0, which was updated in 2008. There's also source code! Oct 27, 2011 at 20:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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