Recently I faced a problem after Windows 7 Reinstallation. To fix this Microsoft recommends that you can cancel automatic restart. If you restart after every system failure, then you will not be able to see some error messages.
At “Start” -> “Computer” –> right click on “Properties“, and then tap “Advanced system settings“.
In the advanced options of the system context menu, click on “Settings” for Startup and Recovery.
In Startup and Recovery, uncheck the “Automatically restart” for system failure. Click “OK” after unchecking the checkbox.