AutoHotkey: Disable Windows Key

By Xah Lee. Date: .

Disable Windows Key Completely

;; disable the Win key completely

Disable Windows Key Start Menu Behavior

;; disable Win key behavior of popping up the Start Menu, but don't disable Win+key combination
~LWin Up::Return
~RWin Up::Return

Disable Win+key Combination

;; disable some Win+key combination

Note: the ❖ Window+l (lock computer) cannot be disabled.

AutoHotkey Tutorial

AutoHotkey logo nz9fX

Key Syntax

Useful Scripts