Is my ram causes my pc to turn of and on repeatdly? new gaming pc build

GhOsTx44

Commendable
Sep 1, 2016
18
0
1,510
Hi guys..I built my gaming PC 2 weeks ago I got a problem right away, my pc shuts down after playing for few hours(it does that even when browsering or on bios) and when I switch it on it just keep turning on and off repeatdly until I plug it off and leave it for 3hourz or so then when I turn it on it work then the cycle repeat itself..I checked my cpu and gpu temp they are fine, changed the psu same issue, I also removed the gpu and hhd same thing

but last night when pc shut down I removed the ram and it run but with beeps I then put my ram back and it worked and run for few hours umm now when ever my pc shut down I do the same thing to make it work again!!
can it be my ram is the cause of this?

MB: H170A gaming pro
Cpu: Core i3 6100
ram: 8gb
gpu: MsI GTX 970
psu: Sentey Xplus power 725w
 

R_1

Expert
Ambassador
random reboots usually point to a power supply, but as you have tried another one already then RAM/software is the next most likely cause. do you have more than one stick of RAM? if you do remove one of them, run the system with 1 stick and see which one is bad.
if you only have one stick of ram I suggest you make a bootable linux USB drive (http://www.everydaylinuxuser.com/2014/05/how-to-create-bootable-linux-mint-usb.html - for directions)
boot to the usb drive and use linux for a while, you can browse and play around, if the system does not reboot then software problems in windows/drivers are the most likely culprit
 

GhOsTx44

Commendable
Sep 1, 2016
18
0
1,510
I have only one stick of memory ,its not software problem since it shut down even if I am on bios, plus I am running windows 8 right now and I tried windows 10 same thing happened..I am playing games now for like 3hours and its working fine but I know it will shut down after another 1 or 2 hours..this is really annoying its a new pc and I have this issue since than
 

GhOsTx44

Commendable
Sep 1, 2016
18
0
1,510
yeah I tried other slots same thing..and no I havnt run the momery by memtest but I tried using the way by the same windows when the pc restart and check the momery then gave me a no problem with my ram massage. I will try using memtest thank you for ur fast reply
 

GhOsTx44

Commendable
Sep 1, 2016
18
0
1,510
umm I was testing my ram after 1hour 30min my pc shut down then repeatdly turn off and on but I noticed that my motherboard cpu led red everytime before it turn off?? does it mean its my cpu that causes this?is there a tool I can test it?