Quick Links

If you're not sold on the functionality of the now ubiquitous Windows key, can you reassign it to a more useful task? Read on to see how.

Today's Question & Answer session comes to us courtesy of SuperUser---a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

The Question

SuperUser reader Auron wants to know:

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

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.

What can Auron do?

The Answer

Several SuperUser contributors all pitched some great ideas for helping Auron. Phoshi suggests:

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 winkey to only be disabled ingame, or require a double-press to fire, or have to hold it down before it triggers, and more!

If you've never used AutoHotkey before, we'd strongly suggest checking out some of our articles on the handy little program including: The Beginner's Guide to Using an AutoHotkey ScriptHow to Save Time by Automating Tedious Tasks with AutoHotkey, and Insert Any Special Character with a Single Keystroke.

Another contributor, Junior Mayhé, offers this suggestion:

You can download SharpKeys! It saved my life, especially when I want to press ESC and accidentally press F1.

SharpKeys is free. You can download it from here

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

Confirm with OK, reboot your Windows (because registry got changed). You're done!

Finally, MiffTheFox offers a solution that simply disables the Windows key altogether so there is no accidental key presses when using the left ALT and CTRL keys:

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 WinKey shortcuts. However, what I do is that 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.

Thanks to their contributions we have two perfectly serviceable solutions to help remap the Windows (or any) key to a new function and one way to outright disable it.


Have something to add to the explanation? Sound off in the the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.