Test the Power Supply Unit and the CPU.
Download Prime95.
http://www.mersenne.org/freesoft.htm
Prime95 is used to put your system at full load. Prime95 - When run for the first time, it is necessary to click on Advanced, then click on Round off checking so that errors caused by instabilities will be flagged as they occur. Also go to Options and run the Torture Test. Run the Inplace FFTs (Max Power, Heat and some Ram). Prime95 will automatically thread all Cores, and will expose insufficient CPU cooling and computer case cooling, or excessive Vcore and overclock. At no other time will a CPU be as heavily loaded, or display higher temperatures, even when OC'd during worst-case loads such as gaming or video editing. Prime95 can be used with SpeedFan to observe CPU temps, while stress testing for system stability. During single threaded gaming and applications, Core 0 typically carries heavier loads and higher temps than other Cores.
You want your system at full load when checking your voltages to ensure your PSU is up to spec.
If your PC restarts during this test you have a faulty Power Supply (PSU) and it will need replacing.
Download SpeedFan and check the Voltages and Temps while Prime95 is running.
http://www.almico.com/sfdownload.php
You will want your 12-volt rail to be within 11.52 to 12.48 during load. This means when you are running your cpu at 100% you do not want to drop below 11.52 or you may experience stability problems including but not limited to system restarts and Windows crashes. For the 5-volt rail, you want it to be within 4.8 to 5.2 to be within the 4% range. As for the 3.3 volt rail, you want it to be within 3.17 to 3.43
Video Memory Stress Test 1.4
http://www.majorgeeks.com/Video_Memory_Stress_Test__d5896.html
Keep us informed as to your progress if you require further assistance.
If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome. ;)