When Windows encounters certain situations, it halts and the resulting diagnostic information is displayed in white text on a blue screen. The appearance of these errors is where the term "Blue Screen" (Crash Screen) has come from.
In a lot of instances, the screen only flashes up for a few seconds before re-booting. You can disable this process following the steps in Section 2 below, allowing further analysis of the error.
Blue Screen errors occur when:
Windows detects an error it cannot recover from without losing data.
Windows detects that critical OS data has become corrupted.
Windows detects that hardware has failed in a non-recoverable fashion.
solution
This information is displayed when you turn off Automatic Restart on System Failure.
Here are the steps to disable Automatic Restart on system failure in Windows 8 and 10 (applies to Windows 10, 8 , 7 , Vista and XP)
In Windows 10 in the Taskbar search Box, and on the Start screen in Windows 8 (Start menu in 7, Vista, XP) type System.
Click on the System link displayed.
On the list of links in the left pane, Click on Advanced System Settings
Click on Settings in the Startup and Recovery section
Untick the checkbox that says Automatically Restart
Click on OK
Click on Apply then OK
Next time your system crashes, instead of restarting, it will halt on a screen with an error code and some information associated with the error.
hope this will help you if issue resolve please accept answer and upvote.