How To Remap Keyboard Keys On Windows (2023)

If one or more of your keys are broken or your favorite key is too far to reach normally, you can remap that key to a different button. You may also want to disable some keys to stop your PC from interfering with your gameplay, 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 keyboards, you can use the Windows registry editor to remap.

(Video) How to remap keys on ANY KEYBOARD | Windows 10

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

Table of Contents

(Video) Tech Tuesday - How To Remap Keys [No Third Party Software]

How to Remap Keys on Your Keyboard?

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

Using the Registry Editor

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

(Video) How to remap keys without AutoHotKey on Windows 10

Note: We advise being careful while tampering with the registry editor as any unwanted changes can cause serious damage to the operating system. So, backup your registry before making any changes to the registry values.

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

  1. Press Windows key + R, type regedit and press Ctrl + Shift + Enter.
  2. Then navigate to this key from the left bar.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
    The keyboard layout key defines the layout or the location of each character on the keyboard.
  3. Right-click on the empty space in the right bar and click on New > Binary Value.
    How To Remap Keyboard Keys On Windows (1)
  4. Rename it to “Scancode Map”
  5. Double click on the newly added registry key.
  6. We will now enter binary data on the newly added key to remap the keys. Even though it says Binary value, we need to input the hexadecimal representation of the keys. You can check the Hexadecimal key for every character on your keyboard in the table below.
0000 - – Turn Key Off0100 - Escape0200 - Key: 1 !0300 - Key: 2 @0400 - Key: 3 #0500 - Key: 4 $0600 - Key: 5 %0700 - Key: 6 ^0800 - Key: 7 &0900 - Key: 8 *0A00 - Key: 9 (0B00 - Key: 0 )0C00 - Key: - _0D00 - Key: = +0E00 - Backspace0F00 - Tab1000 - Key: Q1100 - Key: W1200 - Key: E1300 - Key: R1400 - Key: T1500 - Key: Y1600 - Key: U1700 - Key: I1800 - Key: O1900 - Key: P1A00 - Key: [ {1B00 - Key: ] }1C00 - Enter1D00 - Left Ctrl1E00 - Key: A1F00 - Key: S2000 - Key: D2100 - Key: F2200 - Key: G2300 - Key: H2400 - Key: J2500 - Key: K2600 - Key: L2700 - Key: ; :2800 - Key: ' \"2900 - Key: ` ~2A00 - Left Shift2B00 - Key: \\ |2C00 - Key: Z2D00 - Key: X2E00 - Key: C2F00 - Key: V3000 - Key: B3100 - Key: N3200 - Key: M3300 - Key: , <3400 - Key: . >3500 - Key: / ?3600 - Right Shift3700 - Num: *3800 - Left Alt3900 - Space3A00 - Caps Lock3B00 - F13C00 - F23D00 - F33E00 - F43F00 - F54000 - F64100 - F74200 - F84300 - F94400 - F104500 - Num Lock4600 - Scroll Lock4700 - Num: 74800 - Num: 84900 - Num: 94A00 - Num: -4B00 - Num: 44C00 - Num: 54D00 - Num: 64E00 - Num: +4F00 - Num: 15000 - Num: 25100 - Num: 35200 - Num: 05300 - Num: .5600 - ISO extra key5700 - F115800 - F126400 - F136500 - F146600 - F156700 - F16 // Mac keyboard 6800 - F17 // Mac keyboard6900 - F18 // Mac keyboard6A00 - F19 // Mac keyboard6B00 - F20 // IBM Model F 122-keys6C00 - F21 // IBM Model F 122-keys6D00 - F22 // IBM Model F 122-keys6E00 - F23 // IBM Model F 122-keys6F00 - F24 // IBM Model F 122-keys07E0 - F-Lock: Redo08E0 - F-Lock: Undo10E0 - Media: Prev Track11E0 - App: Messenger12E0 - Logitech: Webcam13E0 - Logitech: iTouch14E0 - Logitech: Shopping19E0 - Media: Next Track1CE0 - Num: Enter1DE0 - Right Ctrl20E0 - Media: Mute21E0 - App: Calculator22E0 - Media: Play/Pause23E0 - F-Lock: Spell24E0 - Media: Stop2EE0 - Media: Volume Down30E0 - Media: Volume Up32E0 - Web: Home35E0 - Num: /37E0 - PrtSc38E0 - Right Alt3BE0 - F-Lock: Help3CE0 - F-Lock: Office Home3DE0 - F-Lock: Task Pane3EE0 - F-Lock: New3FE0 - F-Lock: Open40E0 - F-Lock: Close41E0 - F-Lock: Reply42E0 - F-Lock: Fwd43E0 - F-Lock: Send45E0 - €46E0 - Break47E0 - Home48E0 - Arrow: Up49E0 - Page Up4BE0 - Arrow: Left4DE0 - Arrow: Right4FE0 - End50E0 - Arrow: Down51E0 - Page Down52E0 - Insert53E0 - Delete56E0 - < > |57E0 - F-Lock: Save58E0 - F-Lock: Print5BE0 - Left Windows5CE0 - Right Windows5DE0 - Application5EE0 - Power5FE0 - Sleep63E0 - Wake (or Fn)65E0 - Web: Search66E0 - Web: Favorites67E0 - Web: Refresh68E0 - Web: Stop69E0 - Web: Forward6AE0 - Web: Back6BE0 - App: My Computer6CE0 - App: Mail6DE0 - App: Media Select
  1. Click on the empty space under ‘Value data’ and input eight “00” values, making it a total of 16 on the first line.
    They are the ‘header’ of the scancode. The first 00 00 00 00 represents version information while the other 00 00 00 00represents Flags.
    How To Remap Keyboard Keys On Windows (2)
  2. Go to the second line and enter the number of mappings you want in XX 00 00 00 00 format. Replace the ‘XX’ with the number of mappings you want to do plus 1 in the hexadecimal system. The extra one represents the null value. For example, if you want to map two keys, you should enter ‘03’
  3. 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 later 4 values represent the key we are mapping from.
  4. Finally, add 00 00 00 00 at the end, which represents the null terminator.
    So if you want to map the Right alt button to the Spacebar, it will look something like this:
    How To Remap Keyboard Keys On Windows (3)
  5. If you want to map multiple keys at once, you will have to add multiple mapping keys before the null terminator. For example,
    How To Remap Keyboard Keys On Windows (4)
    This will map the Right alt button to the Spacebar ,and the Y key to the P key. Don’t forget to change the ‘XX’ value accordingly.
  6. You can also swap two keys by using this multiple mapping technique. Just make two identical mappings and reverse the mapping position of one of them.
    How To Remap Keyboard Keys On Windows (5)
    This will swap positions of the ‘P’ key and the ‘I’ key.
  7. In case you want to disable a key, you can map the key to 00 00, which doesn’t refer to any actual keys.
    How To Remap Keyboard Keys On Windows (6)
  8. 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 your keys.

(Video) Remap the Dreaded Caps Lock Key without Software | BeatTheBush

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 on the three horizontal lines in the top left corner.
  3. Go to Keyboard manager.
  4. Click on Remap a key.
  5. Press the ‘+’ button under the key to add a mapping.
    How To Remap Keyboard Keys On Windows (7)
  6. You can either click on the Type button to choose by pressing the character to be mapped or click on the dropdown arrow to select the key yourself.
  7. Then click the Mapped To button to choose the key to map to. You can click on the + again to map more keys.
  8. Click on OK to apply the changes.

How to Remove the Keyboard Mapping?

If you mapped the keys using the registry, follow these steps to disable them:

  1. Press Windows + R and type regedit to open the registry.
  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 before.
    How To Remap Keyboard Keys On Windows (8)
  4. Press Yes to confirm and Restart your PC to apply the changes.

If you used the Powertoys app, press the delete button next to the key mapping to remove them and then click OK to confirm.

(Video) How to remap Keyboard Keys in Windows 11, 10 PC or Laptop | Change Keyboard Key to another Key


1. Windows 11 - Remap Key and Hotkey FREE with PowerToys
2. How to Disable Particular Key or Remap Keyboard in Windows 10
(e hindi-urdu)
3. How To Remap Keys In Windows (EASIEST WAY)
(Mitch's Tech Insight)
4. Disable a Keyboard Key in Windows 10
5. How to remap windows keyboard for mac
6. Remap keys on mechanical keyboards, how to mapping keys on WIndows 10 (2022)
(Leslie Wubbel)
Top Articles
Latest Posts
Article information

Author: Otha Schamberger

Last Updated: 12/23/2022

Views: 6436

Rating: 4.4 / 5 (75 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Otha Schamberger

Birthday: 1999-08-15

Address: Suite 490 606 Hammes Ferry, Carterhaven, IL 62290

Phone: +8557035444877

Job: Forward IT Agent

Hobby: Fishing, Flying, Jewelry making, Digital arts, Sand art, Parkour, tabletop games

Introduction: My name is Otha Schamberger, I am a vast, good, healthy, cheerful, energetic, gorgeous, magnificent person who loves writing and wants to share my knowledge and understanding with you.