Right Click My computer,go to properties.The under the advanced tab click Settings under Startup and Recovery.Under System Failure, view the Automatically restart check box. If the Automatically restart check box is selected, Windows automatically restarts if the computer stops unexpectedly.