17

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).

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.

matt b
  • 452

5 Answers5

17

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/edit DisabledHotkeys as "Expandable String Value", and add the keys you do not want to be triggered along with the "Win" key (e.g. adding 12P 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:

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.

Izzy
  • 3,775
4

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.

ChrisF
  • 41,540
1

You can try to disable the Windows key shortcuts (it doesn't disable the Windows Key completely, only the Windows key + key keyboard shortcuts)

Windows Key Shortcuts - Enable or Disable

Nicu Zecheru
  • 5,572
1

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 hotkeys. I don't think the developer updates it anymore, as version 2.8.3 is the latest and dated 2010.

0

I faced a similar situation with the right-arrow key. Hence, I have to disable that. And also I reassigned the Right_Control key for that.

I have done that through a small freeware named SharpKeys from RandyRants.com. I am also attaching my snapshot.

I had to map:

  1. the Right_Arrow_key to Disabled(Null)
  2. then the Right_Control_key to Right_Arrow_key

You only need to do the First for your Win key.

Enter image description here

kmonsoor
  • 1,193