SharpKeys 3.9.4

SharpKeys is a Registry hack that is used to make certain keys on a keyboard act like other keys. For example, if you accidentally hit Caps Lock often, you could use this utility to map Caps Lock to a Shift key or even turn it off completely. This official release includes support for up to 104 mappings, an extensive list of available keys, and a “Type Key” option to help when managing mappings. As it relies on internal support within Windows NT, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows 8, Windows 10, or Windows 11 you must be running one of these OS’s for this Registry hack to work.

Release of version 3.9.4, brings two changes: finally got around to removing the last entry for AltGr (which is a triple-byte scancode and cannot be remapped by this tech) and fixed a bug where the UI would throw an exception when returning from a minimized state, both thanks to GitHub feedback.

As always, I encourage anyone interested in working on the code to visit http://www.github.com/randyrants/sharpkeys for more project updates.

Download SharpKeys 3.9.4: Microsoft Store | MSI | ZIP | requires .NET Framework 4.0


27 thoughts on “SharpKeys 3.9.4”

  1. I’m using an apple keyboard on a Windows 10, so the ? mark is done with Control + Option + W. I wanted to redirect that to the ? / key, but when I press (E0_1F11) SharpKeys tells me “You’ve entered a key SharpKeys doesn’t know about”.

    Help: … I mean … help?

    1. FAQ covers both sides of the question: only single keys can be mapped (meaning W can be remapped but not CTRL+OPT+W) but even if that does generate a unique keycode, what is coming out of the hardware is triple-byte enabled, which isn’t supported by the Windows remapping tech. Give Microsoft PowerToys a shot.

  2. Awesome Randy, thank you for the current update!
    I found this through pcmag article – after I realized that MS new “Powertoys” key remapping does not work (it only lets you remap a *physical* key to another *physical* key).
    I will now try your latest “Sharpkeys” and see if I may remap a physical key to an ALT code that I enter (the key isn’t on my physical keyboard – which is from Denmark, lol).
    Best to you,
    David

  3. What I forgot to mention, but I already see Sharpkeys DOES seem to offer :) is to make remapping subject to selected Win keyboard language :)
    So then I can remap the “weird” keys on this physical Danish keyboard to some other/more useful keys :)

    1. Am thankful for the latest update of SharpKeys. Worked well for me. PowerToys had failed to install for some reason. Thanks a lot developer(s).

  4. Hi Randy, awesome tool, already helped me. Quick question – is there any way of adding a single stroke em dash?

    1. Um, what’s a single stroke em dash? I mean if there’s no key for it on a regular keyboard, then no: SharpKeys cannot offer macro support or map to keys that aren’t available.

  5. Thanks for the software, Andy. I have recently bought a Surface 3 – which you know all about, I gather. In the UK, our right hand alt key actually works as ctrl+alt and I want to remap it as alt. When I press the key to remap it, it is recognised as E0_2038. But, presumably as this is that effectively a key combination, Sharpkeys tells me I’ve “entered a key [it] doesn’t know about.” I wondered if this is something you could include somehow.

    1. This is also known as AltGr, if I’m not mistaken. That’s not remappable by SharpKeys as it’s a triple-byte scancode. You’ll want to try something like Microsoft PowerToys, which has an active remapping bit of code.

  6. I’ve added a simple ome to ome key mappimg of x to m amd saved to registry but has mo effect whatsoever. Also tried dowm arrow key to m but mo luck. I’m om wim10. Thamks for your help.

  7. I cannot use this because I don’t have admin account on my work pc. Is it possible to remap a key for a non admin user? :-(:-(

  8. Hi there, as a Canadian that is forced to use bilingual keyboards, Sharpkeys has been a lifesaver for a long time.
    I’ve just gotten a Chromebook, and while I love how small and light (and cheap) it is, I’m stuck with the dreaded bilingual keyboard. |
    Any chance that your (excellent) work could be ported to Chrome OS?

  9. Where in the registry are the changes stored and why is this not documented somewhere? I have an issue with the mapping of keys and clearing them from the app and writing to the registry doesn’t clear the mapping and it is causing huge headaches for an end user. Where can I go in the registry to manually clear the changes?

      1. So, you won’t just click the link that I posted, which highlights the very post that documents what Registry Keys Windows uses huh? Nice.

        This is like people that go into Discord or Reddit and pester people with questions that can just as easily be found typing the question into Google. In this case, I actually went and got a URL to click for more information, but that’s not enough. Maybe I should have gone and reposted the content here again because that’s easier?

        Seriously, https://www.google.com/search?q=Windows+remap+Keys+registry returns 292,000 results and the Registry Key you’re looking for is the first hit in the list.

        1. That would be nice, but it doesn’t help me find where the the backspace key is remapped to also hit the alt key. And honestly, how hard is it to do some basic documentation?

          1. It’s about as hard as it is to get you to understand that what you’re asking for is not for basic documentation, since you are asking about specific key or two: you’re asking for technical support for a specific issue that you’re seeing, one that no one else has ever asked about or reported. The irony of that is that if you really just needed generic documentation or specific scancode values or the physical location in the Registry, you’d find all of it in the articles I pointed you to here or through the source code at GitHub.

            Congratulations though on an achievement unlocked: in the 20 years since I posted the first article that explains how to disable a key and on through the coding of SharpKeys no one has ever complained about the “lack of basic documentation” so well done and all that.

  10. Hello everyone, if the functionality of SharpKeys is not enough for you, you can try Cherry Keys.
    It also supports the mouse.

    The disadvantage: You have to install a software that also needs a lot of memory.

    Randy, I have tried a lot, but I can’t manage to assign a key so that my PC goes into standby/sleep.
    Has it ever worked for you?
    The best thing would be if I could use the (useless) PAUSE key for that. However, Sharp Keys shows me that I press “Num-Lock” (German keyboard).
    Do you have a solution?

    Thank you for developing your great tool for so many years!

  11. Hi,

    Is there a way using Sharp Keys to write a script to automatically set up certain remappings, for example on a new computer? I would love to be able to write a powershell or other script rather than manually enter in my remappings 1×1 on each computer i use. Or is there another remapping software you know of which is better for this?

    Thank you

    1. No, but only because the changes that make the remapping are stored in the Registry already (and can be exported/imported using REG or Regedit, which can definitely be scripted.)

  12. when I’m pressing F2, Type key says You pressed: (00_100) but sharpkeys does know this key and I’m not able to remap it to FN+F2 (Edit,Rename). unfortunately my keyboard does not have FN disable option

    1. Not sure what you mean. I mean if it’s really F2, then that key is definitely there, so I have to imagine that it’s Fn+F2 and I have no idea what Edit/Rename key is. For example, my Fn+F2 is Mute, but there’s no guarantee what these Fn functionality is from PC to PC. Might have to see if there’s some SW from who makes the PC.

  13. Hey, great utility – so useful!
    I’ve been using v3.5 for years and just downloaded the v3.9.4 zip file.

    Couple of questions:-
    1. Windows defender popped up with a run warning? That OK?
    2. The SharpKeys window doesn’t fit the text (copyright and website details etc) at the bottom of the window? It seems to be hidden? Running on Windows 10 Home x64
    TIA Steve

    1. The warning popup should matter, if you downloaded it from here, the Microsoft Store, or Github: I control all three of these, in that I’m the one uploading bits. There are times when Defender get cranky – I’ve seen this myself.

      For the off screen, text, it sounds like it’s trying to adjust to your screen’s DPI (aka font zoom) settings, but it may not be snapping as well as it could. I did this for the built-in accessibility controls but on some specific/random resolutions, it might be off.

  14. I have remapped the right Ctrl key to delete, as it works better for me next to the arrow keys. My old laptop (an HP running Win 10) would allow me to hold down that remapped key in front of large swaths of text and it would delete the characters automatically so I didn’t have to continually press the key. My new laptop (an ASUS running Win 11) makes me press the key every single time – I can’t hold it down to delete.

    It’s that key specifically (and the alt car next to it) – I test remapped the / key and it did allow me to hold it down.

    I am assuming this is something that SharpKeys can’t change now? Any reason why?


Leave a Reply to David Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.