Categories: Tech News

How to remap keyboard keys in Windows

If one or more of your keys are broken or your favorite key is too far away to reach normally, you can reassign that key to a different button. You may also want to disable some keys to prevent your PC from interfering with your game, such as the Windows key.

Some exclusive and premium keyboards have special software that allows you to directly remap the keys. However, for any other general keyboard, you can use the Windows Registry Editor to remap.

This process requires some technical steps, but we will easily guide you through each step of the process.

How to remap keys on your keyboard?

You can use the registry or Microsoft Powertoys to reassign a key. Be careful not to reassign the keys you need to log into your Windows. You can always use the on-screen keyboard if you’ve already done so.

Using the registry editor

The registry is a Windows database that stores the most basic level of data. The record contains keys which are the root or location of the Windows component. In the same way, values are the binary representation of the state of that component.

Note: We recommend that you be careful when handling the registry editor, as any unwanted changes can cause serious damage to the operating system. So please backup your registry before making any changes to registry values.

However, you will be fine if you just follow these processes step by step.

  1. Press Windows key + R, type regedit and press Ctrl + Exchange + come in.
  2. Then go to this key from the left bar.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
    The keyboard layout key defines the layout or location of each character on the keyboard.
  3. Right-click the empty space in the right bar and click new > Binary value.
  4. Change it to “Scancode Map”
  5. Double-click the newly added registry key.
  6. Now we will feed binary data to the newly added key to remap the keys. Although it says binary value, we need to enter the hexadecimal representation of the keys. You can check the hex key for each character on your keyboard in the table below.
  7. Click on the empty space below “Value Data” and enter eight “00” values, making a total of 16 on the first line.
    They are the “header” of the scan code. The first 00 00 00 00 represents version information while the other 00 00 00 00represents flags.
  8. Go to the second line and enter the number of maps you want XX 00 00 00 00 format Replace the “XX” with the number of maps you want to make plus 1 in hexadecimal. The extra represents the null value. For example, if you want to assign two keys, you must enter “03”
  9. Then we finally enter the binary values ​​of the keys we need to map.
    The first 4 values ​​represent the location of the key we are mapping to, and the last 4 values ​​represent the key we are mapping from.
  10. Finally, add 00 00 00 00 at the end, which represents the null terminator.
    So if you want to make a map high right button at spacebarit will look like this:
  11. If you want to map multiple keys at once, you must add multiple mapping keys before the null terminator. For example,

    This will make the map high right button at spacebar ,and the Y key of the p key Don’t forget to change the “XX” value accordingly.
  12. You can also swap two keys using this multiple mapping technique. Just make two identical maps and reverse the mapping position of one of them.

    This will change the positions of the “P” key and the “I” key.
  13. In case you want to disable a key, you can assign it 00 00which does not refer to any actual key.
  14. Restart your computer to apply these changes.

Using the Powertoys program

Microsoft Powertoys is the official software that provides users with more Windows customization options. You can use the Keyboard Manager to remap the keys.

Follow these steps to learn how to use it:

  1. Go to Microsoft PowerToys and download the app from the Microsoft Store.
  2. Launch the Powertoys app and click the three horizontal lines in the upper left corner.
  3. Go to Keyboard Manager.
  4. Click on Remap a key.
  5. Press the “+” button below key to add a mapping.
  6. You can click on type button to choose by pressing the character you want to assign or click the drop-down arrow to select the key.
  7. Then click on Assigned to button to choose the key to map to. You can click the + again to assign more keys.
  8. Click on Okay to apply the changes.

How to remove keyboard map?

If you have assigned keys through registration, follow these steps to disable them:

  1. Press Windows + R and type regedit to open the register.
  2. Go to the following key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
  3. Right click and delete the “Scancode Map” key we made earlier.
  4. press Yes to confirm and restart your PC to apply the changes.

If you used the Powertoys app, press the remove button next to the keymapping to remove it, then click Okay to be confirmed.


Published by

Recent Posts

More on the Interest-Income Channel

Last weekend, I wrote about Warren Mosler's argument that the Fed's rate hikes could be…

1 month ago

More information in the Interests Channel

Last weekend, I he wrote on Warren Mosler's argument that the Fed's rate hikes could…

1 month ago

Biden wants to reduce the deficit. Powell wants to reduce inflation. Do rate hikes undermine both goals?

Last week, the chairman of the Fed, Jerome Powell said, "the disinflationary process has begun".…

1 month ago

Quick thoughts on the CBO budget and economic outlook

Earlier this week, I joined Romaine Bostick and Scarlet Fu Bloomberg TV. The Congressional Budget…

1 month ago

Eight states have joined forces to raise taxes on America’s wealthiest

Tomorrow morning, I'll be joining CNBC's Squawk Box to talk about a new effort tax…

2 months ago

Mike Pence would pick up where Paul Ryan left off

Former Vice President Mike Pence talks about privatizing Social Security. The remarks came Thursday before…

2 months ago