Compaq 6410nx won't come on unless switch is removed and the pins are touched.
Is the aesthetics of the computer a factor?
May sound like an inane question, but there are those of us that can live with two wires hanging out to a switch.
This Actually IS the usual style, and shape of most Power On switches.
Once you take the Power On button mechanism, out of the Front Panel of your computer, you may see this type of switch, incorporated into it.
Advise use care, as Power On button mechanisms are made of plastic, and the power on switch is usually held in by tangs formed out of that plastic part.
The tangs have the tendency to snap off easily. Warm water usually helps when removing the old switch, by heating the plastic up. Dry accordingly, install the new switch.
Or, you may want to peruse a computer repair shop, and see if they have one available. Sometimes they tear down old computers, and save the switches.
This information stated, goes more towards the Mom and Pop type of computer repair shops, not the fancy, 'I want to sell you an expense computer, before you go out the door', shops.
The Power On button you push is just a plastic device, that pushes against one of these types of switches.
Pushes against that little 'N-ipple' that sticks out of the switch.
Just for edification, as not many techs bother to take a Power On switch apart;
Viewing the photo of the switch in the link I provided.
1) You'll see a square case. Metal square top for half of the case, plastic for the bottom half.
2) The n-ipple that sticks out, is a cylindrical shape that is molded to the middle of a flat square base.
It's made of plastic.
3) The metal top is square shaped, and has a hole in the middle. There are tangs that come down the sides of the metal top.
These tangs are bent over, and this is what holds the metal top, onto the plastic square bottom piece.
4) Inside under the movable part of the switch itself, (Number 2 above), is a square, flat, thin sheet of spring metal. (Very Thin)
It is convex shaped.
Pushing the n-ipple in of the switch, depresses the concave shape of the flat spring metal piece.
Makes it flat.
When it is flat, it contacts two terminal contacts at the bottom, of the plastic bottom piece.
The two terminal contacts, are attached to those two wires you see sticking out of the switch.
Letting go of the Power On button let's the flat spring metal piece pop back into it's convex shape.
All the things you never wanted to know, huh?