4
votes

How can I disable the Ctrl+Shift hotkey (keyboard layout switching) in Windows 10 using AutoHotkey?

(However I would like to keep all combinations of this: Ctrl+Shift+Any other key)

I've tried this, but it's not blocking the hotkey:

; Test.ahk
; Try disable Ctrl+Shift
+^::

Edit: I've found a way to disable it in newer Windows 10 builds without AHK:
https://superuser.com/a/1322396
But I think the question is still standing.

2
On Windows 10 go to Settings->Time & Language->Language->Keyboard. Click on the link "Input language hot keys" and change or remove the "Key sequence Between input languages" - user3419297
To disable Ctrl+Shift using AutoHotkey add the hotkey <^Shift::return ; do nothing "<^" means LCtrlto your script. - user3419297

2 Answers

9
votes

Write this in your execute prompt (using Window + r):

rundll32 Shell32.dll,Control_RunDLL input.dll,,{C07337D3-DB2C-4D0B-9A93-B722A6C106E2}{HOTKEYS}

it will show you the panel directly so you can disable the hotkey in the change key sequence button.

0
votes
Click "Clock, Language, and Region" from the control panel
Click "Language"
Click "Advanced settings" in the right column
Under "Switching input methods", click "Change language bar hot keys"
Select "Between input languages" and click "Change Key Sequence"
Disable/change the keyboard shortcut as you'd like