How to undo custom keyboard mapping in registry

0

To make my Windows 10 system act more like the macOS behavior that I'm accustomed to, I remapped my keyboard following the instructions of Orwellophile when they answered the question of how to Switch Ctrl and Alt with AutoHotKey without messing up the Alt-Tab switcher? here on Super User.

It works OK – most of the time – but I'm finding it also screws up a bunch of other (Adobe) shortcuts that I use all the time. So I think I should go back to the default settings and remap my brain instead.

So my question is: how do I undo the registry edit? I didn't make a backup prior to the change, and even if I did I've been using the computer for a couple of weeks now.

remote_is_remote

Posted 2019-02-07T05:19:00.410

Reputation: 1

The answer that (I guess) you used includes instructions on how to undo the edit. Have you tried that?  Do you have some recollection that the registry value had something else in it before you edited it? – Scott – 2019-02-07T05:45:30.813

hi scott I actually followed the advice of @Orwellophile (https://superuser.com/a/1096541/995157), which sadly doesn't have instructions for how to go back. I think i just pasted the code into a notepad file, saved it as a .reg and then merged it into the registry by opening the file. i'm not sure which value or values have been changed.

– remote_is_remote – 2019-02-07T16:52:31.080

Well then, I don’t understand why you’re calling it a registry edit, when Orwellophile’s answer is for AutoHotkey and does not involve editing the registry. It would be clearer if you actually said what you did, rather than just linking to another Q&A. – Scott – 2019-02-07T17:13:58.997

Sorry to irritate you there Scott. I've edited my question to make it clearer – remote_is_remote – 2019-02-09T06:11:52.593

fyi I resolved my registry issues this time around by simply formatting my system drive and reinstalling windows. This was a fairly extreme move but all my data is on separate drives so all I lost was the time it took to reinstall additional software and fonts etc.

there could well be other solutions (maybe if I had saved a restore point?), if anyone has any I'd love to hear them. I guess this could be the answer but I'm not sure its a good one so I'm leaving it as a comment. cheers – remote_is_remote – 2019-02-09T06:22:09.603

Answers

0

Download Keytweak (available at https://keytweak.en.softonic.com/ and many other popular download sites), run it and press the Restore All Defaults button.

jimtut

Posted 2019-02-07T05:19:00.410

Reputation: 832

thank you jimtut for your suggestion. there was some confusion relating to my question (i think @scott misunderstood what i had done, and editied my question accordingly). if you or anyone else can confirm that Keytweak can still fix my problem then I'll go do this, i just don't want to further complicate my issue by adding more variables into the mix. interested to hear your thoughts. cheers! – remote_is_remote – 2019-02-07T17:06:17.843

I can't say for SURE that this will solve your problem. But, I use KeyTweak every single day to switch my PC between my PC keyboard at work ("Restore all Defaults") and my Mac keyboard at home, which is controlled thru the Scancode map in the registry. I believe that "restore all defaults" should remove whatever you did w/ AutoHotKey, but it's up to you if you want to try it! – jimtut – 2019-02-07T17:19:52.823

sorry to say keytweak appears to only work on vista and windows 2000. I am on windows 10 so I don't think its going to work for me :( – remote_is_remote – 2019-02-09T06:44:51.413

You must be basing that on what the application lists as compatible operating systems. But the application was released back when those were the “current “operating systems, and it’s never been updated.. I use it every single day on Windows 10, as I have in all of the Windows operating systems for the past 10 years or so, as I move between my work office with a PC keyboard snd my home office with a Mac keyboard. – jimtut – 2019-02-09T15:23:32.630