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.

Win-10-remap-keys-script-file

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.

Win-10-remap-keys-select-edit-script

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
a::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
Insert::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.

Win-10-remap-keys-add-code

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.

Win-10-remap-keys-script-running

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.

1 thought on “How To Remap Unused or Damaged Keys on Keyboard in Windows”

  1. Avatar for Francesco

    Hi! I have a new keyboard: the RK61, it’s a 60% keyboard and I’m having some issues using some function with fn. I’m interested mostly in the PrintScreen function which I use a lot but I can’t find a way to have the same experience with the keyboard of my laptop where when I press the windows key + PrtScr automatically does a screenshot of the page and it place it in a folder that I previously defined. I tried AutoHotKey and HotkeyP but I can’t find a way.

Leave a Comment

Scroll to Top