computer constantly turning off and then instantly back on

Donnellbob

Distinguished
Dec 20, 2011
15
0
18,510
First off specs
AMD Radeon HD 6900 Series
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Gigabyte GA-Z68XP-UD4

So I have had this computer for a year or two and everything has worked perfect. Though as of the past few days the computer would sudden shut off and then instantly reboot back up . This occurs when comp is idle after several hours, or just after boot etc etc. I've kinda asuumed this is a result of power supply shorting out but before I go out and blow money on a power supply I thought I'd ask for a second opinion or whether there is a solution. Any help is appreciated.
 

animal

Distinguished
Make sure your memory is fully seated, there is no dust build-up inside your case. Otherwise, try running MemTest on your memory and/or a hard drive diagnostic program (if you have a Seagate or WD drive, their respective website's have free downloads)