View Single Post
  #1  
Old April 26th 20, 02:18 PM posted to microsoft.public.windowsxp.general
R.Wieser
external usenet poster
 
Posts: 1,302
Default How to disable a keyboards shutdown and sleep keys ?

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


Ads