did you check all the fans to see if they are running, including the one in the power supply. one way to check if it is a heat issue is to take off the cover and run a fan over it as you use the computer as normal. If it does not shutdown, then it is heat.