Does your CPU overheat in the first place? Random restarts are hard to trace. Do a proper memory test first. Restarts can occur due to hardware failure of any component or even due to driver issues, malware or other windows related problems. Does it record anything unusual in the event log?