|If the computer shuts off but automatically Restarts, that's a DIFFERENT problem from the computer shuts off and stays off. |
Is the computer Restarting ?
If the computer shuts off and stays off, you have a cpu overheating problem or, less likely, a failing power supply , or, much less likely, defective capacitors on the mboard.
If your problem is caused by overheating of the cpu
- the computer will run fine for a while after it has cooled to room temp
- when it shuts off, it will not start up again until the cpu has cooled to below some temp.