Are you sure the computer is restarting and not just going into standby/sleep mode? That sounds like what it's doing.

There's a setting that controls how long your computer can sit idle before it...