Sub topic 7
Stop errors (BSOD) and spontaneous restarts
This chapter assumes you know how to open Event Viewer and the Windows Recovery Environment (WinRE), and that you can tell a driver from an application. It covers what a stop error is, how to read one, and how to choose a fix that does the least damage.
What a stop error is
A stop error is a failure in kernel-mode code that Windows cannot safely recover from. Windows halts and shows the Blue Screen of Death (BSOD). The screen shows a stop code such as IRQL_NOT_LESS_OR_EQUAL or CRITICAL_PROCESS_DIED. Windows then writes a memory dump and, by default, restarts. That default is why a stop error can look like a spontaneous restart. The PC reboots and you never see the blue screen.
A related symptom is a black screen or a sudden power-off with no dump at all. That pattern points more often to overheating, a failing power supply, or a hardware fault than to a driver.
Gather evidence first
Follow the troubleshooting methodology. Ask what changed, such as a new driver, a Windows update, or new hardware. Then collect evidence before you change anything.
- Record the stop code and any driver file named on the screen, such as a
.sysfile. - Open Event Viewer and check the System log for Critical and Error entries near the crash time. A
BugCheckentry (event ID 1001) records the stop code. - Check whether dump files exist in
C:\Windows\Minidump.
If Windows will not restart so you can look, use Safe Mode or WinRE.
Matching cause to fix
| Clue | Likely cause | Least destructive fix |
|---|---|---|
| Started right after a driver install | Faulty or incompatible driver | Roll back the driver, or boot to Safe Mode and remove it |
| Started after a Windows update | Bad update | Uninstall the update or use System Restore |
| Random stop codes, different each time | Failing RAM | Run Windows Memory Diagnostic, then reseat or replace the RAM |
| Crash under load, fans loud | Overheating | Clean vents and fans, check thermal paste |
| Crash with disk-related codes | Corrupt files or failing drive | Run `sfc` and `chkdsk`, then check drive health |
| Crash on boot every time | Bad driver or damaged system files | Boot WinRE, use Startup Repair or System Restore |
Reading the pattern
The same stop code each time suggests a repeatable software cause. Varying codes suggest hardware, because failing memory corrupts different things each time.
Stopping the automatic restart
If the PC restarts too fast to read the code, turn off automatic restart. Open System Properties, choose Advanced, then Startup and Recovery, and clear Automatically restart. If Windows will not boot, choose Disable automatic restart after failure from the Startup Settings menu in WinRE.
Repairing system files
If the evidence points to damaged system files, run these from an elevated prompt:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannowDISM repairs the component store first, so the second sfc run has a healthy source to restore files from.
Exercise
A technician installs a new graphics driver. The next day the PC shows a blue screen with a stop code naming a .sys file and reboots. The PC still reaches Safe Mode. What should the technician do first?
Show answer
Boot to Safe Mode and roll back or uninstall the graphics driver. The crash started right after a change, and the named file points to a driver. Rolling back is the least destructive fix. Reinstalling Windows or replacing RAM is not justified yet.
Exercise
A PC restarts at random. The stop code differs each time, and Windows Memory Diagnostic reports errors. What is the most likely cause?
Show answer
Failing RAM. Varying stop codes with memory test errors point to faulty memory, so replace or reseat the RAM modules.