I doubt the fan is fried. Fans are controlled by thermal sensors on the motherboard, CPU, and other areas of the PC. If certain ones (CPU especially) get too hot, the PC powers off to prevent damage. It can also detect the RPM (speed) of the fan, and if the fan isn't spinning fast enough/at all, then it will also shut down due to defective fan. Most likely the fan runs on the bench because there's less stuff in the way...an old desktop of mine did that, where fan would run if I held it in my hand, but not in the PC. My desktop also kept shutting off one time after I worked on it because I forgot to plug the CPU fan back in. I highly doubt the fan circuit is dead, fans are mechanical devices that wear out as they spin, get dust in the motor, and get worn away by friction. Just ask Compaq for a replacement, and if you can't get one, look online for a replacement fan.