7

How to turn off the following shortcuts
win + h
win + c
win + k
They are really annoying when I accidentally press the wrong one

I'm not trying to modify these shortcut keys to third-party software, like this , I just want to ban them completely, and only ban these three.

According to the instructions here, modifying the registry seems to have no effect, and my attempts in another question also tell me that the modified registry will be invalid after restarting the computer.

Kargath
  • 247

2 Answers2

12

You may use the free AutoHotkey.

The following script will nullify the keys system-wide:

#h::
#c::
#k::

After installing AutoHotKey, put the above text in a .ahk file and double-click it to test. You may stop the script by right-click on the green H icon in the traybar and choosing Exit. To have it run on login, place it in the Startup group at
C:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

You may further limit the script to a specific executable by adding an #IfWinActive directive to the script.

Useful AutoHotkey documentation:

harrymc
  • 498,455
-1

the "System Preferences" option. From the list on the left side of your screen, choose "Keyboard." In the list of settings at the top of the window, select "Shortcuts." To disable a shortcut, uncheck the box next to it in the "Shortcuts" section.