hexidian :
kittle :
First - go into your system settings and tun OFF 'restart on error' that way if the restart is due to a bluescreen error, you will see the error.
if you DONT get a bluescreen error, then you may need to re-apply the thermal paste from upgrading your CPU
Can you tell me how to navigate to that option? I cant keep my computer on for long enough to find it (I'm doing this thread on my phone).
For windows 7 (since its what im running here)
start menu -> my computer
RIGHT click on my computer -> properties -> advanced System settings -> Advanced Tab -> "startup and recovery" (its on the bottom section)
in that tab just below the center will be a check box "Automatically restart' UN-check that and then press 'ok' on all he dialogs you opened.
win8/10 should be very similar
if its already un-checked then its some other hardware problem. Try safe mode as suggested by @bignastyid and see if it stays on longer