I built and set up this computer yesterday and it was working totally fine until I downloaded NiceHash miner to leave it idle over the night. In the morning I noticed my computer reset itself and was on the lock screen so after using it for a little it reset and continued to do this throughout the day as I tried to troubleshoot what could be wrong. I later launched in safe mode to see if the problem would persist and it didn't restart my computer in the hour-ish that it was in safe mode, to compare my computer would reset roughly every 5-10 minutes. I decided that it must be a driver issue or a program so I deleted all my files and started to reinstall windows. I have an ssd, which windows is on, and a hdd and as I was setting up windows on my computer it reset again so I unplugged the hdd since I didn't remove any files on that and started the process again and it restarted. I have no idea what to do so if someone could please help, that'd be so great. Thanks.
Specs:
MOBO: GA-AB350-Gaming 3
Memory: Team Dark 8gb (x2)
CPU: Amd Ryzen 7 1700x
GPU: GTX 1080 Gigabyte
PSU: EVGA 600 BQ
SSD: PNY 120gb
HDD: WD 1tb
Specs:
MOBO: GA-AB350-Gaming 3
Memory: Team Dark 8gb (x2)
CPU: Amd Ryzen 7 1700x
GPU: GTX 1080 Gigabyte
PSU: EVGA 600 BQ
SSD: PNY 120gb
HDD: WD 1tb