My PC keep turning on and off??

HSKRaziel251

Prominent
Feb 25, 2017
11
0
510
Hey guys so my PC keep shutting off I literally have to hold the clear CMOS button then turn it back on . I took out the CMOS battery overnight put it back in was able to install windows and now pretty much around the same time as last night it's having this issue again. All out of ideas.

MSI z270 M7
Intel I7 77000
Asus strix 1070 8gb

https://youtu.be/WDHG5K4NgSs