I think hardware as well. I just fixed a computer where it would run for 10 min and then reboot. I tried a new drive, new Windows installation, new RAM and new power supply. Turned out to be the motherboard.
Try safe mode as mentioned and if it does it there too start looking at hardware.