CPU shuts down after 30 mins

tameem_2

Commendable
May 29, 2016
36
0
1,540
CPU-->http://
MAINBOARD--> http://

RAM--> http://

Hi
My computer shuts down every after 30 mins. Not only that. The only time the computer stops shutting down after 30 mins is when during booting up, it says--> "Overclocking failed". When the computer shows that message, all I do is go to the BIOS and just click 'Exit without saving" and the computer turns on fine for the rest of the day.
So basically, I have to "get lucky" and hope that the overclocking fails so that my pc works without restarting.
How do I fix it?

Thanks!