I have found the event viewer in the boot event, ask what should be done next Ask God ...
Open the event viewer and look for an icon with no empties
Click "Start → Run", enter eventvwr, click "OK", you can open the event viewer.
Right click on the "application" "security" "system" menu to clear!
In the event viewer click on the empty it!
Use the computer comes with shutdown function: open the command window (start - run - enter cmd), enter shutdown-a cancel the automatic shutdown function.
Use third party software: find the software, open the settings, cancel the automatic switch function.