My cousins 5 year old pc does this restarting loops. I opened case, clean a lot of dust from Psu and other parts. Re-paste cpu and check all the fans are working properly, except Psu which I assume starts after a while.
Start pc, bios shows up, display working, windows loading screen shows up...