8

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.

user
  • 6,567
  • 18
  • 58
  • 85
  • 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 Sep 13 '19 at 20:43
  • 2
    To disable Ctrl+Shift using AutoHotkey add the hotkey `<^Shift::return ; do nothing "<^" means LCtrl`to your script. – user3419297 Sep 13 '19 at 20:51

2 Answers2

16

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. I think it works in any windows edition. :D

Mou
  • 154
  • 1
  • 7
1
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
Dexirian
  • 515
  • 3
  • 15
  • 1
    https://i.imgur.com/2hBSM6r.png - I don't know where did they hide it this time... I'm tired of hunting for this option. – user Sep 13 '19 at 20:07
  • https://imgur.com/a/3Mgx2XU If you search for language it should pop up – Dexirian Sep 13 '19 at 20:13
  • 1
    Looks like this is a known issue : https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/unable-to-remove-a-language-from-windows-10-april/47c13ea5-79ed-4a29-96d4-47d1264b6838 – Dexirian Sep 13 '19 at 20:20