Windows – Disable Win+Space keyboard-layout switch in Windows 10

keyboard shortcutskeyboard-layoutwindows 10

When I have multiple keyboard layouts enabled, Windows 10 seems to switch between them randomly (similar to what's described here). I suspect I am accidentally pressing Win+Space, so I'd like to disable this shortcut.

However, looking at the "language options" page, I don't see any settings related to this keyboard shortcut, or a way to disable it. How can I disable this shortcut?

Best Answer

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:

  1. Download AHK (AutoHotkey)
  2. Install AHK
  3. Right click any folder and choose New > AutoHotkey Script Create new script

  4. Right click the script and choose Edit Script Edit Script

  5. Replace whatever is there with this (and save):

    #space::
    
  6. Right click the script and choose Compile Script Compile script

  7. 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

Related Question