Remapping a keyboard key in windows 8.1 [duplicate]

How can I remap keyboard keys in windows 8.1? I'm looking for a simple utility which will modify registry and would not require running at startup. I tried sharpkeys but, it does not seem to work in windows 8.1. Any other suggestions? Or a simple how-to tutorial for windows 8.1?

Edit: Keytweak isn't working either. Actually I want to map an unused key to function key (fn) and neither sharpkeys nor keytweak detect the keystroke for that key.

Thanks


Solution 1:

I've posted about such a thing in this answer.

To understand what is going on, refer to this tutorial.

Here is the full list of scan codes from Mirosoft so you can alter any key.

enter image description hereenter image description here

Here is the basic breakdown. You are editing a registry key. This particular one is set to map Numlock (45,00) to null (00,00) so that it's key does nothing. For some odd reason, re-mapping 1 key means you need to specify a 2 (02,00,00,00) in positions 17-24. Likewise if you map 2 keys, you'll need to specify 3 (03,00,00,00).

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,45,00,00,00,00,00

Solution 2:

Try mapkeyboard http://www.inchwest.com/mapkeyboard.htm I am not sure, if it is able to detect the Fn key.