How To Remap Unused or Damaged Keys on Keyboard in Windows

Almost every keyboard has keys that we don’t use or sometimes even damaged. If that’s the case, follow these steps to remap keyboard keys in Windows 10.

Generally, most keyboards have several unused keys like most function keys, insert, page down, page up, end, pause/break, end, home, scroll lock, properties key, etc. When you are not using a key on your keyboard, why not reassign it to something else. For example, I remapped function keys to launch programs that I use frequently.

The same is true for damaged keys. You can reassign some other unused key to function as the damaged key.

So, without further ado, let me show you how to remap keys in Windows.

Remap Unused or Damaged Keys

Windows has no built-in way to remap keys. So, we are going to use a simple and free software called AutoHotKey. Download the software from the official website, install it like any other software and proceed to the next steps.

1. First, right-click on the desktop and select “New → Text Document”. Now, rename the text document to anything you want. Just make sure that you replace .txt extension with .ahk. For instance, I renamed the file to reassign.ahk.


2. After creating and renaming the file, right-click on it and select “Edit”. This action will open the file in your default code or text editor. In most cases, it’s Notepad.


3. To remap a key using AutoHotKey, all you have to is use the below syntax. With the below code, the a key will act like it is b key. So, when you press the a key, it will print b.

;Remap a to b

For example, I use a 10 keyless keyboard that has no dedicated Print Screen key. But for some reason, it has the Insert key. Since I regularly use the Print Screen key to take screenshots, I remapped the Insert key to act like the Print Screen with the below code.

;Remap Insert key to PrintScreen

Using the same format, you can remap or reassign almost any key on your keyboard as long as you know the AutoHotKey names of the keys you are trying to remap. Thankfully, AutoHotKey has a dedicated key list page that lists all the keys. Take a look at it.


4. Now, save the file and close it.

5. To run the script, double-click on it. That is it. The file will sit silently in the taskbar and functions as it should.


Wrapping Up

That is all. It is that simple to reassign keys in Windows. To get most out of the script, add AutoHotKey script to Windows startup. That way, you don’t have to launch the script manually for the remappings to work.

Additionally, there is also a dedicated doc page that lists different combinations in great detail. Do check it out.

Hope that helps. If you are stuck or need some help, comment below and I will try to help as much as possible.

If you like this article, do check out how to create a right-hand alt-tab shortcut and how to disable caps lock key in Windows.

Scroll to Top