Right click Computer, click Properties. Advanced System Settings, then Settings under Startup and Recovery. Uncheck "Automatically Restart".