If the computer can boot from CD, and it isn't a hardware problem keeping it from working, then Ultimate Boot CD for Windows has a tool to show the product key.