0

I want to disable two shortcuts specifically.

F1 and WIN+=

This page describes how to disable some WIN+X keys if X is letter. But it does not work if I just enter "=" in the registry key DisabledHotkeys.

Any suggestion please?

EDIT: Direct dealing with the registry (without an external software) is much preferred.

Argyll
  • 766

2 Answers2

1

I guess OP has somehow dealt with the problem but I will post what I was able to find out when I tried to solve it without AutoHotkey (as I wanted to use these shortcuts in different programs, not via .ahk script) - maybe it will be in any way helpful for future readers. And spoiler - no, I didn't manage to make it work like I want but I discovered a few interesting things.

Question stresses Win+= combination, which I guess launches Windows Magnifier program in OP's case (as = and + are on the single key on most keyboards and it seems Windows treats + and Shift+= same in the case of that program) so I focused on it.

How to Permanently Turn Off Windows 8 Magnifier program.

Unfortunately, disabling program doesn't free shortcut and it is still visible as taken for other programs. I would say that there is a possibility that making custom Windows installation disc with deleted Magnify could lead to free shortcut but I can't check it.

Next I used link from OP's question and combined it with Virtual-Key Codes (check JBert's comment on non-printable keys).

Again, no matter what code I used and what keys I pressed, this special shortcut stays taken.

In my last attempt I tried using group policy - registry method is in OP's question, method via gpedit.msc is described here.

What is interesting - this group policy turns off most of the shortcuts but not all of them. For example Win+X is still going to work as well as Win+L, Magnify and Narrator shortcuts.

Summary:

It seems all shortcuts connected to accessibility in Windows (like Win+=) are treated specially and cannot be simply turned off via DisabledHotkeys as Explorer isn't the process that uses them. After a little bit more searching I found this article from Microsoft dealing with the topic of disabling Win key as well as all accessibility shortcuts in games - but I have no idea how to utilise this code into something useful.

Bonus:

There is a simple way to turn off all accessibility programs in Windows by using Icedog's answer from Disable Narrator shortcut key in windows 8 (creating registry key for AtBroker.exe). It will prevent launching any accessibility program but shortcuts are still reserved.

0

I use the scripting language AutoHotkey to easily add my own custom keyboard shortcuts to my system, but it can be easily used to remove a default keyboard shortcut as well.

The notation for creating a new shortcut is key::command.

After installing, if you wanted to unmap the F1 key and the WIN+= key, you could simply add this to a script file called unmap.ahk or something similar.

F1::
#=::

That's really the whole thing!

Then execute the script by double clicking like any other program. You can add the script file to your startup directory so that it is always running, and you have successfully unmapped those pesky keyboard shortcuts!

Lily Mara
  • 349
  • 3
  • 17