My problem is my computer is always reastart in working my opareting system is windows 7
This sounds like a hardware issue, you need to check your error logs and see what is happening. Hard drives sometimes manifest errors like this. The Windows error logs are listed under the EVENT viewer, press start and type event. What you are looking for are errors or critical errors. warnings and information is of little concern. If these logs do not show errors, of significance, hard drive is suspect, again, as failure precludes the error being written to the disk.
×