View Single Post
  #2  
Old April 26th 20, 10:33 PM posted to microsoft.public.windowsxp.general
No_Name
external usenet poster
 
Posts: 627
Default How to disable a keyboards shutdown and sleep keys ?

On Sun, 26 Apr 2020 15:18:44 +0200, "R.Wieser"
wrote:

Hello all,

I've had to get myself a new keyboard, and it got two keys I could do well
without: One that instantly turns my computer off and another which, also
instantly, makes it sleep.

I've been googeling for solutions, but the ones I could find just mitigate
the effects. Like I have disabled the "sleep" mode of my 'puter (blocking
the effect of the "sleep" key) and changed the "power button" setting from
"shut down" to "Ask me what to do" - which /ofcourse/ now also happens when
I push the on/off button on the desktop machine itself. :-(

I've been looking into the "Scancode map" (replacing the "keystrokes" with
something else), but have not been successfull in that regard.

tl;dr: does anyone have an idea how to (programmatically!*) disable the
'power' and 'sleep' keyboard keys ?

*if all else fails I guess I could physically remove those keys, but want to
see if it can be done less destructive.

Regards,
Rudy Wieser


I had a keyboard with the media keys on top that were bothering me and
I opened it up, cut the traces and moved on.
I do agree there must be a software fix tho. Does the key shut you
down in safe mode? That might be a good "cut the problem in half"
strategy. At least you will kn.ow it is an OS thing.

My guess is a registry item.
Ads