Disable Win+Space keyboard-layout switch in Windows 10
Disable Win+Space keyboad-layout swap
AFAIK this is the only way to disable Win+Space
keyboad-layout swap without disabling all other Win+XYZ
shortcuts:
This is how to do it:
- Download AHK (AutoHotkey)
- Install AHK
Right click any folder and choose New > AutoHotkey Script
Right click the script and choose Edit Script
Replace whatever is there with this (and save):
#space::
Right click the script and choose Compile Script
Run script by double clicking the newly created .exe and do a test. Rename it whatever you want and store it for the next time you want to disable the
Win+Space
shortcut.
Additional step to make it persistent:
Copy the .exe to the startup folder. Below I've listed the path for the folders:
Current user:
C:\Users\%Username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
All users:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
I found this while experiencing the same problem as the OP, on Windows 10. My findings were that Calsal's down-voted answer was what actually worked for me.
My problem had nothing to do with the Win+Space hotkey. Instead, it was switching "randomly" to "ENG INTL" because the hotkeys for "Between Input Languages" were configured by default to switch the keyboard layout if you pressed "Ctrl + Shift". As a programmer who uses lots of hotkeys, I end up hitting "Ctrl" and "Shift" at the same time a lot.
This is an addition to the answer from Calsal, as I had the same problem that he described, but in Windows 10.
For Windows 10:
- go to Edit language and keyboard options -> Advanced Keyboard Settings -> Language Bar Options -> Advanced Key Settings
- select Change Key Sequence for Between Input Languages
- change "Switch Keyboard Layout" to "Not Assigned"
enjoy the good life. The Windows+Space option still works; if you want that, see the upvoted answer.