# Swap alt and cmd in Windows 10 (MacBook Pro)

**Date:** 2017-10-21  
**Author:** Kees C. Bakker  
**Categories:** Windows  
**Tags:** Boot Camp  
**Original:** https://keestalkstech.com/swap-alt-cmd-windows-10-macbook-pro/

![Swap alt and cmd in Windows 10 (MacBook Pro)](https://keestalkstech.com/wp-content/uploads/2017/10/mounzer-awad-348688.jpg)

---

As a .Net Developer, I need my MacBook Pro to run Windows. I did so using Boot Camp (which was okay, but [my mouse wouldn't scroll](https://keestalkstech.com/2017/10/fix-air-mouse-2-scrolling-windows-10-boot-camp/)) In Windows I use **alt+tab** a lot. But the **cmd** and **alt** keys are not in the right place (from a Windows keyboard perspective). I use the **Windows** key a lot too (like **Windows+r** for run). So let's swap those keys!

I used [SharpKeys](https://github.com/randyrants/sharpkeys) to remap each key:

1. Install SharpKeys from Github: [https://github.com/randyrants/sharpkeys/releases](https://github.com/randyrants/sharpkeys/releases). I used the MSI installer.
2. Launch the program. Start > type: *SharpKeys*
3. First we'll map **alt** to **Windows**:

- Click the *Add *button
- Select in the *Map this key *field **Special: Left Alt (00_38)**
- Select in the *To this key *field **Special: Left Windows (E0_5B)**
- Click the *Okay *button
4. Next we'll map the **Windows** to **alt**:

- Click the *Add *button
- Select in the *Map this key *field **Special: Left Windows (E0_5B)**
- Select in the *To this key *field **Special: Left Alt (00_38)**
- Click the *Okay *button
5. It should look something like this:![](https://keestalkstech.com/wp-content/uploads/2017/10/2017-10-21_1238.png)
6. Now click the *Write to Registry *button.
7. Logout or reboot your system and you're good to go!

I haven't found a way to swap the **fn** and **ctrl** buttons (I'm used to Dell keyboard layout). I also haven't found way to swap the power button and the **esc** keys. So if you have a solution, please let me know!

Having the alt key back where it belongs is a huge improvement for ardent Windows users!
