Is this still true?
Overriding Hotkeys
https://autohotkey.com/docs/misc/Override.htm
You can disable all built-in Windows hotkeys except Win+L and Win+U by making the following change to the registry (this should work on all OSes but a reboot is probably required):
==================================================
It appears that you can override Win+U, with a normal hotkey. Tested on Windows 7.
Note however, this seems to work fine on my Windows 7 PC, to override Win+U, although I may have changed some setting somewhere:
Code: Select all
#u:: ;win+u
MsgBox, % A_ThisHotkey
return
q::
Run, C:\WINDOWS\system32\osk.exe
return
Btw with the Win+U hotkey above in effect, if I try to run On-Screen Keyboard, it doesn't open, and the hotkey is triggered.
==================================================
[EDIT:] It appears you can override Win+L, by editing the registry. Tested on Windows 7.
- It involves this key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System.
- By setting DisableLockWorkstation to 1 this disables the Win+L hotkey, the LockWorkStation dll function, the 'Lock' Start menu option, the 'Lock this computer' Ctrl+Alt+Del option. Tested on Windows 7.
Wanna override Win + L? - Scripts and Functions - AutoHotkey Community
https://autohotkey.com/board/topic/9573 ... ntry638771
==================================================
[EDIT:] So AFAIK, you can override any system hotkey in Windows 7, by simply assigning that hotkey in AutoHotkey, except for Win+L and Ctrl+Alt+Del. Although for Win+L there is a way to override that to.