As an AutoIt user, I am truly impressed by what AutoHotKey can do. I am just wondering if, according to you guys, it's truly possible to disable the Win Key?
I know that the following code can do it:
LWin:: return RWin:: return #::However, if, for example, you try Win+L+R at the same time, even if LockWorkStation is disabled via the registry:
RegWrite("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\", "DisableLockWorkstation", "REG_DWORD", 1) (Kill and restart Explorer to test)the Run dialog will still open and any other Win Key combination still works:
Win+L+M; Win+L+D; Win+L+1; Win+L+2; Win+L+3; Win+L+4; Win+L+5; Win+L+6; Win+L+7; Win+L+8; Win+L+9; Win+L+0
to name but a few. They all work! Quite the loop hole!
Can any body figure out a way to disable the Win key when used in combination with Win+L? The only way I found was to kill Explorer but I want to avoid that if at all possible.
Any help would be greatly appreciated!
Ian
P.S.: Under Vista and Windows 7, Win+L is just as powerful as Ctrl+Alt+Del - unless of course you kill Explorer.