uH-oh, power restarts like that can damage power supplys, motherboards, and hard drives----even if you are connected to a surge protector. You can try the following, then begin to check the power supply, then the hard drive and video card seperately....
These are the steps that you need to take, and the instructions on how to do it:
1. Reboot into Safemode
2. Run a virus and spyware scanner
5. Registry error repairing
6.Reboot into regular mode windows
Here is how to do it:
Reboot yor machine while holding the F8 key right as it boots back up. A menu will apear. Choose -->"start windows in safe mode with networking".
Windows will start in safe mode. Run an AVG virus scan, then run Defrag by exploring your computer, right click on C: drive, click PROPERTIES, then the TOOLS tab, click the "check now" button, and only checkmark the top box 'fix file system errors', then click ok, the computer will then tell you it will scan upon next reboot., Now click the DEFRAG NOW button. the choose defrag. After Defrag runs for about an hour and it is finished, restart the system. If is still won't run normally, go back into Safemode buy pressing F8 on reboot, then run a registry fixing program such as uniblue registrybooster, then reboot again. If it still won't run right, you may want to reinstall Windows and see if that works. If reinstalling windows doesn't fix it, it is definitely a hardware problem.---Most likely the power supply!!
PRINT THESE INSTRUCTIONS AND KEEP A COPY NEAR YOUR SYSTEM FOR FUTURE PROBLEMS. THIS SERIES OF STEPS CAN FIX MANY PROBLEMS
------PLEASE RATE THIS ADVICE WITH 4 THUMBS UP!!!-----