Prevent Windows Key from Opening Start Menu in Windows 7

Here is the solution: http://www.autohotkey.com/forum/topic55858.html

Use the following code in AutoHotKey:

~LWin Up:: return
~RWin Up:: return

The following AutoHotkey script will disable the ⊞ Win key activating the start menu for both left and right ⊞ Win keys in Windows 10.

LWin & vk07::return
LWin::return
RWin & vk07::return
RWin::return

If you also follow the instructions here, you can disable most of the other ⊞ Win key shortcut combinations:

Method 1: Disable Win + keyboard shortcuts in Windows 10 through Group Policy Editor

I'm still trying to figure out the best way to disable ⊞ Win+Tab ↹ and ⊞ Win+L functionality. I'll come back and edit this if/when I do.


This worked for me on Windows 8, while the current answer did not:

LWin & vk07::return
LWin::return

Source