Yeah.. Check whether the cpu fan is installed properly. I had a similar issue with my current computer. Sometimes, I couldn't even install windows, because whenever I booted using the CD, after sometime the computer always restarted.Finally later, I figured out what had happened. two pin buttons...