What makes you think it's related to the hard drive? Could be an overheating CPU....could be an overburdened power supply....could be a software/driver glitch....could be you still have automatic restart enabled....etc. You didn't list your system specs or anything about when the restarts occur so we have almost nothing to go on. And why did you list XP in the tag list if you're running Win7?
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Compnet Ventures, LLC hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.