I assume this is windows xp as you mention system restore. What about the rest of the system? Like what ram etc. The first thing to check is not he os but more the hardware. Is the fan spinning? Heat will make the system freeze and may even cause reboots, it could also be that if the computer is unprotected that a virus has got in. Please to get help at least post details of the system.