The restore DVD may have reformatted the W7 partition, not sure if this is HD related. For the system to be rebooiting every two hours on two different OSs, sounds like some hardware may be going bad. Could be an overheating issue, which would cause a reboot.
Have there been any beeps from the system when rebooting? If so, post your motherboard type and beep formats (1 long, 1 short, etc.) If you have more than one stick of RAM, try running on one of them for a while and see if it happens. If it does, switch sticks and try again. If it reboots on the second stick, check the CPU temp. The heatsink may need blowing out with compressed air, it could be overheating.
If the above doesn't help, we've eliminated CPU and RAM (for the most part). This could point to a bad power supply or outlet or motherboard. Plug it in to a different wall outlet and see if it happens there. Or, if you have a spare power supply to switch out, give that a go. hth.