- Remap Keys
- Key to Shortcut
- Remap Shortcuts
- Remap a shortcut to a single key
- App-specific shortcuts
- How to select a key
- Orphaning Keys
- Frequently asked questions
The PowerToys Keyboard Manager enables you to redefine keys on your keyboard.
For example, you can exchange the letter A for the letter B on your keyboard. When you press the A key, a B will display.
You can also exchange shortcut key combinations. For example: The shortcut key Ctrl + C will copy text in Microsoft Word. With PowerToys Keyboard Manager utility, you can exchange that shortcut for ⊞ Win + C . Now, ⊞ Win + C will copy text. If you do not specify a targeted application in PowerToys Keyboard Manager, the shortcut exchange will be applied globally across Windows.
PowerToys Keyboard Manager must be enabled (with PowerToys running in the background) for remapped keys and shortcuts to be applied. If PowerToys is not running, key remapping will no longer be applied.
There are some shortcut keys that are reserved for the operating system and cannot be replaced. Keys that cannot be remapped include:
- ⊞ Win + L and Ctrl + Alt + Del cannot be remapped as they are reserved by the Windows OS.
- The Fn (function) key cannot be remapped (in most cases). The F1
To create mappings with Keyboard Manager, you will need to open the PowerToys Settings. Inside PowerToys Settings, on the Keyboard Manager tab, you will see options to:
- Launch the Remap Keys settings window by pressing Remap a key
- Launch the Remap Shortcuts settings window by pressing Remap a shortcut
To remap a key, changing it to a new value, launch the Remap Keyboard settings window with the Remap a Key button. When first launched, no predefined mappings will be displayed. You must select the + button to add a new remap.
Once a new remap row appears, select the input key whose output you want to change in the “Key” column. Select the new key value to assign in the “Mapped To” column.
For example, if you want to press A and have B appear:
To swap key positions between the A and B keys, add another remapping with:
Key to Shortcut
To remap a key to a shortcut (combination of keys), enter the shortcut key combination in the Mapped To column.
For example, if you want to select the Ctrl key and have it result in ⊞ Win + ← (left arrow):
|Ctrl||⊞ Win + ←|
Key remapping will be maintained even if the remapped key is used inside another shortcut. The order of keypress matters in this scenario as the action is executed during keydown, not keyup. For example, pressing Ctrl + C would result as ⊞ Win + left arrow + C . Pressing the Ctrl key will first execute ⊞ Win + left arrow . Pressing the C key first will execute C + ⊞ Win + left arrow .
To remap a shortcut key combination, like Ctrl + C , press Remap a shortcut to launch the Remap Shortcuts settings window.
When first launched, no predefined mappings will be displayed. You must select the + button to add a new remap.
Once a new remap row appears, select the input keys whose output you want to change in the “Shortcut” column. Select the new shortcut value to assign in the “Mapped To” column.
For example, the shortcut Ctrl + C copies your selected text. To remap that shortcuts to use the Alt key, rather than the Ctrl key:
|Alt + C||Ctrl + C|
There are a few rules to follow when remapping shortcuts (these rules only apply on the Shortcut column):
- Shortcuts must begin with a modifier key: Ctrl , Shift , Alt , or ⊞ Win
- Shortcuts must end with an action key (all non-modifier keys): A, B, C, 1, 2, 3, etc.
- Shortcuts cannot be longer than 3 keys
Remap a shortcut to a single key
It is possible to remap a shortcut (key combination) to a single key press by selecting the Remap a shortcut button in PowerToys Settings.
For example, to replace the shortcut ⊞ Win + ← (left arrow) with a single key press Alt :
|⊞ Win + ←||Alt|
Shortcut remapping will be maintained even if the remapped key is used inside another shortcut. The order of keypress matters in this scenario as the action is executed during keydown, not keyup. For example, pressing ⊞ Win + ← + Shift would result in Alt + Shift .
Keyboard Manager enables you to remap shortcuts for only specific apps (rather than globally across Windows).
For example, in the Outlook email app the shortcut Ctrl + E is set by default to search for an email. If you prefer instead to set Ctrl + F to search your email (rather than forward an email as set by default), you can remap the shortcut with Outlook set as your Target app.
Keyboard Manager uses the process-names (not application names) to target apps. For example, Microsoft Edge is set as msedge (process name), not Microsoft Edge (application name). To find an application’s process name, open PowerShell and enter the command get-process or open Command Prompt and enter the command tasklist . This will result in a list of process names for all applications you currently have open. Below is a list of a few popular application process names.
Keys that cannot be remapped
There are certain shortcut keys that are not allowed for remapping. These include:
- Ctrl + Alt + Del (interrupt command)
- ⊞ Win + L (locking your computer)
- The Fn function key cannot be remapped (in most cases) but F1
How to select a key
To select a key or shortcut to remap, you can:
- Use the Type Key or Type Shortcut button.
- Use the drop-down menu.
Once you select the Type Key or Type Shortcut button, a dialogue window will pop up in which you can enter the key or shortcut, using your keyboard. Once you’re satisfied with the output, hold Enter to continue. If you’d like to leave the dialogue, hold the Esc button.
Using the drop-down menu, you can search with the key name and additional drop-down values will appear as you progress. However, you can not use the type-key feature while the drop-down menu is open.
Orphaning a key means that you mapped it to another key and no longer have anything mapped to it.
For example, if the key is remapped from A to B , then a key no longer exists on your keyboard that results in A . To ensure this does not happen by accident, a warning will display for any orphaned keys. To fix this, use + to create another remapped key that is mapped to result in A .
Frequently asked questions
I remapped the wrong keys, how can I stop it quickly?
For key remapping to work, PowerToys must be running in the background and Keyboard Manager must be enabled. To stop remapped keys, close PowerToys or disable Keyboard Manger in the PowerToys settings.
Can I use Keyboard Manager at my log-in screen?
No, Keyboard Manager is only available when PowerToys is running and doesn’t work on any password screen, including while Run As Admin.
Do I have to restart my computer or PowerToys for the remapping to take effect?
No, remapping should occur immediately upon pressing OK .
Where are the Mac/Linux profiles?
Currently Mac and Linux profiles are not included.
Will this work on video games?
It depends on how the game accesses your keys. Certain keyboard APIs do not work with Keyboard Manager.
Will remapping work if I change my input language?
Yes it will. Right now if you remap A to B on English (US) keyboard and then change the language setting to French, typing A on the French keyboard ( Q on the English US physical keyboard) would result in B , this is consistent with how Windows handles multilingual input.
If you have tried to remap a key or shortcut and are having trouble, it could be one of the following issues:
Run As Admin: Remapping will not work on an app or window if that window is running in administrator (elevated) mode and PowerToys is not running as administrator. Try running PowerToys as an administrator.
Not Intercepting Keys: Keyboard Manger intercepts keyboard hooks to remap your keys. Some apps that also do this can interfere with Keyboard Manager. To fix this, go to the settings and disable then re-enable Keyboard Manager.