Sounds like you are getting an error and you are setup to automatically reboot on error. To turn that feature off, right click the my computer icon and go into properties. Click on the advanced tab choose the startup and recovery settings and uncheck "automatically restart" under system failure.