This guy didn't find a way, but maybe some of you know more.
Not likely. I have been trying to find a way to prevent Windows Vista+ from hogging hotkeys since they came out.
The fact is, that unlike most Windows hotkeys that can be disabled with the NoWinKeys
setting, there are several that are not registered via Windows Explorer. Instead, the higher- (lower-?) level CSRSS registers several hotkeys early in the boot process, so not only can you not register them first, but there is no setting to not use them. These are the keys are specially handled:
Win + P
Win + L
Win + U
Win + G
Win + X
Ctrl + Shift + Esc
Ctrl + Alt + Del
They can be overridden by certain programs like AutoHotkey, but not in the way that you are looking for (allowing programs to register them globally).
Maybe there is some dll/exe we can easily patch. ;-)
That is also quite unlikely. It would require hacking core components of Windows and even if the location where the hotkeys are registered were found and patched, it would mean that you would have to prevent security software from viewing the patch as an infection and make sure to reapply the patch after every Windows update.
You can try the Windows Hotkey Explorer which uses Windows hooks to determine the source of global hotkeys. Unfortunately it only shows these special combos as being reserved by System
, meaning that they are loaded by the Windows core. What’s even more interesting with WHE is that it says the same thing for these keys even in Windows XP where they are not used. This implies that they are not actually being read like the other ones, and instead of hard-coded, which unfortuantely means that even with low-level Windows hooks, WHE cannot directly access them. This makes it especially unlikely that any sort of easy patch, driver, etc. can be made to stop them from being bound.
Sadly, the best, most effective solution would be to leave Microsoft feedback and hope they change it in a future update, but that rarely if ever works.
In my case, I simply gave in and changed my XMPlay hotkeys to use the arrow keys on the numeric keypad instead.
Best Answer
I had the same problem (Linux guest in Windows host with wmii windows manager). This registry hack works perfectly.