14

Between Ctrl and Alt, modern keyboards have an abominable key: the 'Windows' key :P

Windows key shot

By default, when this key is pressed alone it opens the Start menu. Many applications and a great number of games work in fullscreen mode, and if you press this key accidentally, most of times because you wanted to press the Ctrl or Alt keys, the application usually freezes for a while and minimizes itself. If you are lucky, your videogame will pause, but sometimes it continues even when it is minimized.

Is it possible to disable the 'Windows' key?

It would be possible to show the Start menu with another combination of keys? I would like to keep combinations that use the Windows key working, like Windows+L, which leaves current session.

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
Auron
  • 1,047

10 Answers10

10

See my answer for Reassigning the caps lock key on Windows or OS X:

You can use SharpKeys to disable the functionality of any key. For a detailed guide, you can check out Map Any Key to Any Key on Windows XP / Vista.

Josh Hunt
  • 21,369
4

You can download SharpKeys! It saved my life, especially when I wanted to press Esc and accidentally pressed F1.

SharpKeys is free. You can download it from here.

  • When installed, click on the Add button,
  • in the Map this key (from key) section, click on the Type key button. Type F1.
  • in the To this key (to key) section, select the Turn Key off item.

Confirm with OK, and reboot your Windows system (because the Windows Registry got changed).

You're done!

Junior Mayhe
  • 1,837
4

AutoHotkey?

That can do a lot more, too.

LWin::Return

disables it, but

#F::Run firefox.exe

would tell Win&F to run Firefox. You could even set the Windows key to only be disabled ingame, or require a double-press to fire, or have to hold it down before it triggers, and more!

Phoshi
  • 23,483
3

You can add a certain value to the Registry to disable it. Here is a good tutorial, and some .reg files you can download.

However, this will disable the key entirely, as in no Windows key shortcuts. However, I disable only the left Windows key, and use the right one to enter shortcuts. It's a sacrifice, but it means that I don't minimize anything fullscreen by accident.

MiffTheFox
  • 3,520
2

Pick yourself up a quality gaming keyboard (this one's great, but you can find much cheaper ones). They usually have a switch that disables the Windows key and the context menu key.

Eclipse
  • 398
2

Take a screwdriver, and pry it off! If that's a bit extreme, you can edit the registry to disable it.

Now, since you want to maintain some functionality (Win + L), but not others (Win), try using AutoHotkey to intercept the functions you don't want and do nothing.

It’s a bit involved, but I think it will work the best.

On an odd note, apparently it’s the game developer's fault!

2

I have a laptop purchased in Canada that has many keys that irritate me (necessary for Francophones, etc.) and I use KeyTweak (got my copy from Softonics), which I learned about from How-to-Geek, and changed the assignment of keys at will to suit myself. Fun, free, and possibly a terrible practical joke issue.

1

If all you need is to temporarily disable the Windows keys while playing, I suggest that you give this little app I wrote:

https://bblanchon.github.io/disable-windows-keys/

It's fairly simple: open the app to disable the Windows keys, close it to restore them.

enter image description here

It's an open-source project hosted on GitHub. It's a native application, and therefore, has a minimal footprint.

1

There's actually a support article titled: Microsoft Support Article KB216893 How to disable the keyboard Windows key.

The article offers Microsoft Fix It downloads to enable/disable the Windows logo keys.

Alternatively, here's the manual procedure:

To disable the Windows key, follow these steps:

  1. Click Start, click Run, type regedt32, and then click OK.
  2. On the Windows menu, click HKEY_LOCAL_MACHINE on Local Machine.
  3. Double-click the System\CurrentControlSet\Control folder, and then click the Keyboard Layout folder.
  4. On the Edit menu, click Add Value, type in Scancode Map, click REG_BINARY as the Data Type, and then click OK.
  5. Type 00000000000000000300000000005BE000005CE000000000 in the Data field, and then click OK.
  6. Close Registry Editor and restart the computer.

To enable the Windows key, follow these steps:

  1. Click Start, click Run, type regedt32, and then click OK.
  2. On the Windows menu, click HKEY_LOCAL_MACHINE on Local Machine.
  3. Double-click the System\CurrentControlSet\Control folder, and then click the Keyboard Layout folder.
  4. Right-click the Scancode Map registry entry, and then click Delete. Click Yes.
  5. Close Registry Editor and restart the computer.
Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
1

The best way is to pull the key out of the keyboard.

You will never need it, so why should it stay and complicate it with software and registry editors? Just pull the key out. Nothing bad will happen. You can pull it back anytime, but you won’t for sure. It is useless.

bongdan
  • 11