Is there any way to disable certain keyboard shortcuts in Windows 7?
There is something going on with my Windows 7 machine where attempting to unlock the workstation the Win key is "stuck" on (not quite sure what is causing this).
What this causes is that when I am entering my password, which contains a "p", Windows thinks I am pressing Win + p as if I want to change my display settings to enable a projector. This is highly annoying when attempting to unlock my workstation!
The workaround I've found to "unstick" the Win key is to cycle through the projector/display settings once, land back on the original value, and then resume entering my password as normal.
But is there any way to completely disable the shortcut for Win + p ? In all likelihood I will never hook up a projector to this machine, or on the once-in-a-lifetime chance that I do, I am more than happy with having to go into the Display Settings myself.
One more variant is described at WindowsSecrets.COM, and includes a registry patch:
- Setting
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\NoWinKeys
to 1 disables all Win+x key combinations at once (which is not what the OP wants, but I just mention it for completeness) - Navigating to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\
, create/editDisabledHotkeys
as "Expandable String Value", and add the keys you do not want to be triggered along with the "Win" key (e.g. adding12P
would disable Win+1, Win+2, and Win+P)
According to the post, those changes would require a restart (a logoff/logon should be enough for HKEY_CURRENT_USER
changes) for the registry to be re-read.
Side-note: I'm not sure whether other apps could re-use hotkeys disabled this way, so take into consideration that this might not be the case.
Other questions here you might wish to lookup:
- Disable (unbind) default Win+Arrows hotkeys to make them usable in other applications
- How can Win+P be disabled in Windows 7?
Update: Just found a post at MSFN explaining how to re-assign those hotkeys to other applications. They used AutoHotkey to accomplish that. This app can be used to disable or re-assign hotkeys, and thus probably gives the most flexible solution. If I understood correctly, you could disable the P
key by simply putting #p::return
into its config.
Have you enabled "Sticky Keys" by accident and you've got the Win key in it's "on" state?
If you press the Win key before entering your password does the problem occur?
Here's a page that tells you how to turn them off.
You can try to disable the Windows Key shortcuts (doesn't disable the Windows Key completely, only the Windows Key + key keyboard shortcuts)
http://www.sevenforums.com/tutorials/5937-windows-key-shortcuts-enable-disable.html
Try HotKeyz from Skynergy. You can download it from a variety of freeware download mirrors, such as: http://hotkeyz.en.softonic.com/
It's free and a fantastic, easy to use tool for remapping/customizing windows hotkeyz. I don't think the developer updates it anymore, as ver 2.8.3 is the latest and dated 2010.