77

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?

Run5k
  • 15,723
  • 24
  • 49
  • 63
Kyle Strand
  • 1,686
  • 2
  • 13
  • 37
  • As long as you don't need multiple keyboard layouts you can "disable" the shortcut by removing the unneeded keyboard layouts - This is one of the first things I do on a fresh install. – Klinghust Jun 25 '17 at 16:31
  • 1
    @Klinghust The default is to only have one layout, so I wouldn't have discovered this shortcut if I hadn't intentionally enabled a second layout! – Kyle Strand Jun 25 '17 at 21:05
  • 1
    The default in Norway is two keyboard layouts - Norwegian and US English that's why I suggested removing one. -Kling – Klinghust Jun 27 '17 at 15:25
  • @Klinghust Fair enough! – Kyle Strand Jun 27 '17 at 16:23
  • 3
    This has confused me for 15 years. Finally I know why the language kept changing. – Anders_K Feb 20 '20 at 09:14

9 Answers9

46

You can also use the new PowerToys for Windows 10 to remap it. In my case I remapped it so that it brings up PowerToys Run when I press Win-Space enter image description here

Archimedes Trajano
  • 1,505
  • 1
  • 15
  • 21
  • 5
    This should be the accepted answer. While it does require an installation of additional software, it's still a Microsoft product (and it doesn't need be running to work). While the shortcut cannot really be disabled, it can be remapped to something inert or inconsequential (I've remapped mine to Alt Gr). And from what I could find, there is no better option than this. – Karlovsky120 Jan 27 '21 at 15:34
  • 7
    Helped me, I was able to remap "Win (left)" + "Space" to "Undefined" which effectively disabled the shortcut. – alx Feb 18 '21 at 09:00
  • 2
    @Karlovsky120 Just a remark: I've just installed PowerToys v0.43.0 and the shortcut remap only works while it is running. If I close it, the shortcut goes back to the default behavior. – Alexandre Aug 27 '21 at 14:43
  • This does not answer the question, the question is about disabling the shortcut not remaping. – gagarine Oct 06 '22 at 23:39
  • perhaps this is not realy a answer to the question, its a solution way better than I was expected to find, also can be a map to "undefined" which will really disable the shortcut. Maybe @archimedes-trajano should update the answer with this information – Dreanmer Jul 19 '23 at 15:09
  • also it's important to note that you need to restart the windows after changing the shortcut in power toys to it start working – Dreanmer Jul 19 '23 at 15:55
31

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

Klinghust
  • 773
  • 1
  • 7
  • 17
  • I haven't been able to test this because I don't have a Win 10 computer available at the moment, and Win 7 doesn't appear to use Win+Space to switch layouts, but I'm assuming it works because I've previously had success with AutoHotKey and similar. Though I do know that [the Win+L shortcut is special and can't be overridden or modified](https://stackoverflow.com/a/27975295/1858225). – Kyle Strand Jun 28 '17 at 17:43
  • Tested OK on Windows 10 using VirtualBox. Should be the same on a regular install. – Klinghust Jun 29 '17 at 21:27
  • 1
    I was assuming you'd tested it, but I like to test answers myself before marking them "accepted"! I just commented because I made an exception in this case. – Kyle Strand Jun 29 '17 at 21:30
  • 2
    I can confirm it works perfectly on a regular install. Thanks! – John Y Feb 16 '18 at 12:54
  • 3
    Isn't it great how Windows makes options like 'switch between input languages' configurable, but this one you must have and want at all times? Thanks for the answer, helped a lot! – Mave Jan 22 '20 at 09:24
  • 1
    I tested it on my Windows 10 Pro and it worked like a charm. Finally, I got rid of that annoying behavior. – Plicatibu Mar 03 '20 at 13:16
  • 2
    Last time I tried a hotkey mapper like this I was banned from some online games because they thought I was using it to cheat. So be carefull with this if you play games that try to detect this kind of stuff as cheat. I gave up on this solution just because of that. I know Blizzard games will try to detect this and kick/ban you. I wonder why they left the Win+Space kotkey on without the option to turn it off (for so many years and after so many complaints). – Gus Neves Mar 04 '20 at 01:36
  • Anyone considering this answer, see the answer @ArchimedesTrajano posted. It has less side effects (it affects only that shortcut) and doesn't need software to run in the background to work, so there is 0% you might get flagged for cheating in games. – Karlovsky120 Jan 27 '21 at 15:38
  • 1
    Thank you very much! This "feature" was plagueing me for 5 years, unable to even input passwords. Wrote to Microsoft bug report twice about this, never got any response. – Jakub Vonšovský Nov 08 '21 at 14:12
  • 1
    With AHK, you could not only simply remove the native shortcut but also overwrite it with something useful to you. – Thierry Dalon Mar 18 '22 at 08:17
31

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.

Koen Cornelis
  • 411
  • 4
  • 2
16

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.

Pat Brown
  • 179
  • 1
  • 2
  • 1
    You are correct that those settings can work for your case, but this is not what the original question is about. – JBert Mar 01 '18 at 13:19
  • 13
    Still this answer may be helpful, because we not always ask what we should. – Jarekczek Mar 18 '18 at 15:45
8

If you DON'T have multiple keyboard layouts enabled, but Win+Space keeps switching to other options anyway as if you had, you can just add those languages/keyboards under Language Options, then remove them.

In my case, I only had pt-br ABNT2 enabled, but Win+Space would act as if pt-br ABNT and English US were enabled too. By adding then removing them, Windows finally realized they were disabled, and Win+Space stopped popping up on the screen for lack of other options.

This is not the exact situation the OP was in, but it's a correct solution for when Windows is behaving as if it were in that situation.

Reddy Lutonadio
  • 17,120
  • 4
  • 14
  • 35
  • 1
    This doesn't work if your keyboard layout belongs to the same language as the one you want to use. – Karlovsky120 Jan 27 '21 at 15:33
  • This worked for me! En-US was always available, en-GB is my default everywhere, could not get rid of the US language until I forcibly installed then removed it. – Doug Feb 22 '21 at 09:48
  • THANK YOU! At first when I started adding the wrong keyboard back to remove it, it exploded and added 4 more, but by adding and removing them, I was finally back at my single preferred locale with single preferred keyboard. – DennisK Mar 02 '21 at 13:34
  • Still works and is still necessary when W11 randomly decides to add languages and a Language Bar regardless of what your settings say. Note that you need to **match the language *and* keyboard exactly** to what appears in the language bar. Adding and then removing a language won't work unless it's added with the same keyboard. – Lilienthal Apr 21 '22 at 13:10
5

SEPT 2022 UPDATED ANSWER

For whatever reason the language bar settings allow you to disable the Ctrl+Shift shortcut, yet not Win+Space shortcut which does the exact same thing.

As suggested in an earlier answer roughly 2 years ago, you can accomplish this using Microsoft PowerToys. In the most recent release (currently 0.61.1 as of Sept/22) you can select the other tools that you won't be using such as "Color Picker", "FancyZones" etc. and select 'disable' on all of them except for "Keyboard Manager".

Within "Keyboard Manager" select "Remap a shortcut". Hit "Type" then press Win+Space. You don't have to set it to another keyboard key which 'won't do much'. Under "Mapped to:" you can simply use the dropdown menu to select "Undefined". The Win+Space shortcut will now do nothing.

Yes, the program does have to be running for the keyboard remapping to work. However, if you have all of the tools except "Keyboard Manager" disabled, it uses next to no system resources at all (<0.1% CPU, 5MB of Memory). If you set it to run at startup so you don't have to think about it, it won't at all increase your startup time either. I know most powerusers just hate to see any additional icon on that taskbar, but an icon is really all it is.

Zip
  • 51
  • 1
  • 1
  • That's crazy. I confirm that disabling shortcuts through "Input language hot keys" does nothing for Win+Space on Windows 11 – Teejay Mar 21 '23 at 12:32
4

You can directly open the dialog where you can configure the hotkeys using the following command:

Press Win+R and execute

"C:\Windows\system32\rundll32.exe" Shell32.dll,Control_RunDLL input.dll,,{C07337D3-DB2C-4D0B-9A93-B722A6C106E2}{HOTKEYS}
Robert
  • 7,667
  • 3
  • 33
  • 51
0

This has bothered me as well for a long time especially when I am playing games. The simplest way is to keep only the language that you'd prefer and remove the rest of them. It also clears the language option from taskbar and makes it look simplistic.

hari
  • 1
  • 1
    As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 23 '22 at 14:39
0

If you just want to remove some keyboard layout you can use regedit.

Be careful when you make change with regedit as you can break Windows functionality!

  • Press Ctrl+r and run regedit

  • In HKEY_CURRENT_USER\Keyboard Layout\Preload you can delete the keyboard layout you don't need.

0409 is the Us English layout, here is the full list.

If you delete all layouts except the default and the layout you are using, the Win+Space shortcut will be disable (After you restart your computer).

It is a good method if you want to keep the language options and spell-checker but don't need the keyboard layout with it.

You can always re-add the keyboard layout later by removing the language and adding it back in Windows Settings (Time & Language > Language & region).