Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 have a windows 7 keyboard that has Ctrl-LWindows-Alt bottom left. Can I switch LWindows-Alt layout to Alt-LWindows?

Thanks for the answers!

I checked, downloaded the tools and tested very briefly. I must say that Will's answer is the best for me as I don't have to do anything but drag and drop. And as it just changes the registry, I expect no resource would be used. I remapped TAB and L-windows key to alt(meta) so that I can use emacs with my PC like the one with my Mac.

share|improve this question
up vote 7 down vote accepted

I would use Remapkey.exe. It is available for free in the Windows Server 2003 Resource Kit.

alt text

share|improve this answer
Nice. This would seem to be the more up-to-date version of the MKLC - I didn;t know this existed. – imoatama Sep 15 '10 at 15:49
+1 - I'll remember this for the next keyboard remapping question that comes up! – JNK Sep 15 '10 at 15:50
Note: You have to right-click remapkey.exe and choose "Run as Administrator" for it to be able to write the results to the registry. – Kev Feb 10 at 15:11

As an AutoHotKey script:

share|improve this answer

You can do this with autohotkey pretty easily.

share|improve this answer

The best way to do this is with Microsoft Keyboard Layout Creator. This allows you to create custom keyboard layouts, which are then installed and can be set as the system keyboard layout.

It'd be pretty easy to create a layout with the Alt and Windows keys switched, and this method has the advantage of residing much lower in the OS than a 3rd party tool or Hotkey program. This means that when you hit Alt, the OS sees it as LWindows (and of course vice versa). This is going to be more reliable than overriding the default behaviour of a system key, which AutoHotKey seems to offer.

share|improve this answer
Why'd this get an upvote? MKLC (as of the current version 1.4) calls such special keys "unassignable," and then, of course, does not let you assign them. – Kev Feb 10 at 15:03
Possibly because it worked when I posted it, more than 5 years ago. – imoatama Feb 18 at 4:48
fair enough, although it seems strange that they would have removed this functionality. – Kev Feb 18 at 14:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .