3

My keyboard has a Power button that when pressed turns off the machine. I sometimes press it by accident, and lose everything I was doing in adition to having to wait for the PC to turn off and then turn it on again.

How can I disable this button in Windows XP?

Nifle
  • 34,998
Javier
  • 3,935

4 Answers4

5

Go to Control PanelSwitch to Classic ViewPower OptionsAdvanced tab. There you can select what the power buttons (Power, Sleep, etc.) should do when pressed:

  • Shut down
  • Do nothing (this solves your problem)
  • Ask me what do do.

This will also affect the physical power button on your computer, though.

Power Options Properties

Joey
  • 41,098
3

I'd try looking into AutoHotKey. The software is excellent and I use it for this exact purpose. The software is free and consumes almost nothing in resources.

I remapped the Sleep Key (in my case) to do absolutely nothing, and it's trivial to do yourself.

Just open up the script in notepad

  1. Open up the script you're using in notepad.
  2. Try entering Sleep::

If this doesn't disable it - then there a couple more steps you need to take.

  1. Install a keyboard hook by entering #InstallKeybdHook
  2. Find out what key it is by looking at the key history in the main window.
  3. Enter KEY:: where KEY is the key's name.
Redandwhite
  • 3,794
2

Pop it off with screwdriver. Works with any OS.

sYnfo
  • 1,954
1

Try Tweak UI and look under the Explorer > Command Keys section for a key assignment.

MartW
  • 1,892