Computer turning off

The symptoms are consistent with the thermal protection shutting the processor down.... I woud check the processor cooler; check the fan visually if it works, check the contact between processor and heatsink and if necessary refresh the thermal grease. Rectify any overheating causes, and see if the computer will stay on. Also check the Power Supply cooler fan.

If the problem persists you'll have to make the information a bit more specific... like; Do you see anything on the screen,.. the Motherboard logo or BIOS post?.. does the Windows loading screen stop or does it show at all?... How long the wait before trying again?
 

thanks mate I've fixed the problem. I took the sides off to check the processor and it didn't look right then I noticed that the fan had come off so I put it back on and everything works. I should have taken the box apart to begin with...see ya...james
 
.

Yes!.. glad you fixed it mate!!...