Remapping Command Keys to Ctrl in VMWare

On the Mac itself, I have remapped the caps lock key (does anybody actually use that thing these days?) to Command (that’s the key with the weird symbol… ah well, one of the keys with weird symbols!). I had always done the same thing on Windows, where it required registry changes, so I was positively surprised to find that on the Mac it’s just a system preferences option… Microsoft, here’s how you do that kind of thing:

Now, while I’ve found it useful on the Mac to have the Command key easily accessible (although Ctrl is still used in too many places, like terminals and things… gotta find a solution to that), that key is recognized as a Windows key in VMWare. So I changed one of the registry trickery files so that the Windows keys get remapped to Ctrl for use in Windows. Works like a charm. Here’s what the content of that .reg file looks like:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,5B,E0,1d,00,5C,E0,00,00,00,00

Hope it helps somebody!

Sorry, this blog does not support comments.

I used various blog hosting services since this blog was established in 2005, but unfortunately they turned out to be unreliable in the long term and comment threads were lost in unavoidable transitions. At this time I don't want to enable third-party services for comments since it has become obvious in recent years that these providers invariably monetize information about their visitors and users.

Please use the links in the page footer to get in touch with me. I'm available for conversations on Keybase, Matrix, Mastodon or Twitter, as well as via email.