Disable Windows Key Windows 10
The header says most of it. I'm trying to find a way to disable the windows key either through GPO, local policy, or an edit in registry, but Google has been less than helpful.
Solution 1:
Like CJ1992 says (I could not comment unfortunately hence new post), but the AutoHotkey syntax now seems to be (it might be that I use 1.1.30.00 - August 22, 2018 version):
LWin::return
RWin::return
quoted from AutoHotkey site