Disable Windows Hotkeys with AutoHotkey
Disable following hotkeys on Windows, mostly annoying / advertising app:
- Windows + SPACE: shortcut to switch between languages / keyboard layout (example: from ENG to VIE and vice versa)
- Windows + C: open Copilot on Windows 11
- Windows + W: open Weather app on Windows 11
To disable these hotkeys, we will using app "AutoHotkey" to overwrite the default system behavior.
- Step 1: Download and install "AutoHotkey": https://www.autohotkey.com (free and open source), backup: version 1.1.33.10
-
Step 2: Right click, create new "Autohotkey Script" file, give it a name, example: "DisableWindowsKeys.ahk"
-
Step 3: Edit newtly created file with Notepad or Notepad++, replace file with content below:
#space:: #w:: #c::
save and close file.
-
Step 4: Right click the file we just edit, click "Compite Script"
a new file with same name and extension is ".exe" created (in this example, name: "DisableWindowsKeys.exe"), double-click it to run our script, all hotkeys should be disable.
App icon showing in system tray
-
Step 5: Make script autorun when Windows start
-
Press combine "Windows + R" to open RUN command window, then input:
shell:startup
-
In startup folder, create a new shortcut to the ".exe" file we has compile in step 4. Done.
-