Sub topic 7
Stop Errors (BSOD) and Spontaneous Restarts
This chapter assumes you know the CompTIA troubleshooting methodology, can open Event Viewer, and can reach the Windows Recovery Environment (WinRE) and Safe Mode from earlier chapters. It also assumes you can run commands from an elevated prompt.
What a stop error is
A stop error is a fatal error. Windows halts because it can no longer safely continue. The screen it shows is the Blue Screen of Death (BSOD). Windows 10 and 11 show a blue or black screen with a sad face, a stop code such as IRQL_NOT_LESS_OR_EQUAL, and sometimes the name of a faulting file such as nvlddmkm.sys.
Windows stops for a reason. Kernel-mode code, which runs with full access to memory and hardware, has done something it should not have done. Common examples are a driver writing to invalid memory, a hardware fault returning corrupt data, or a critical system file that cannot be read. Continuing could damage data, so Windows halts, writes diagnostic data, and usually restarts.
A spontaneous restart looks different. The PC reboots with no blue screen, or the screen flashes too briefly to read. This often happens because Windows is set to restart automatically after a system failure. Power and heat faults can also cause it, and in those cases Windows never gets the chance to show a stop error.
Reading the evidence
Gather evidence before you change anything. These are the main sources.
- Stop code and file name. Photograph the screen or write the code down. The code points to a category of cause, and a named
.sysfile points to a driver. - Minidump files. After a crash, Windows writes a small memory dump to
C:\Windows\Minidump. A full or kernel dump goes toC:\Windows\MEMORY.DMP. Debugging tools can read these files. - Event Viewer. Look in the System log for a
BugCheckevent (event ID 1001) and forKernel-Powerevent ID 41. Event 41 means the system restarted without shutting down cleanly. That is the entry you expect after a power loss, a hard reset, or a crash that left no time to save a dump. - Reliability Monitor. This tool graphs stability over time and marks crashes and failed updates on a timeline. It helps you see what changed just before the first crash.
Ask what changed. A new driver, a Windows update, new hardware, or a newly installed program often explains a crash that began on a specific day.
Common stop codes and likely causes
You do not need to memorize every code for the exam. Learn the pattern that links each symptom to its usual cause.
| Symptom or stop code | Usual cause | First action |
|---|---|---|
| `INACCESSIBLE_BOOT_DEVICE` | Storage driver or controller mode changed, corrupt boot files, failing drive | Check BIOS/UEFI storage mode, then use WinRE startup repair or `bootrec` |
| `IRQL_NOT_LESS_OR_EQUAL` | Faulty or incompatible driver, sometimes bad RAM | Roll back or update the driver named on screen |
| `PAGE_FAULT_IN_NONPAGED_AREA` | Bad RAM, faulty driver, corrupt file system | Run Windows Memory Diagnostic, then check drivers |
| `SYSTEM_SERVICE_EXCEPTION` | Driver or system service fault, often after an update | Boot to Safe Mode and roll back the recent change |
| `CRITICAL_PROCESS_DIED` | A required system process failed, often from corruption | Run `sfc` and DISM, or use System Restore |
| `UNMOUNTABLE_BOOT_VOLUME` | File system damage on the system drive | Run `chkdsk C: /f /r` from WinRE |
| Random codes that change each time | Failing RAM, overheating, or a weak power supply | Test memory and check temperatures and power |
Random, changing codes are a useful clue. A software bug usually produces the same code repeatedly. Different codes on every crash suggest hardware that corrupts whatever it touches.
Choosing between driver, hardware, and update causes
Sort the problem into one of three groups, because each group has a different fix.
- Driver or software cause. The crash began after a driver or program install. The stop code names a
.sysfile. The PC works in Safe Mode, which loads only basic drivers. Fix it by rolling back or updating the driver, or by uninstalling the recent change. - Update cause. The crash began right after a Windows update. Uninstall the update from Settings or WinRE, or use System Restore. Then pause updates until a corrected version is available.
- Hardware cause. Crashes are random, change codes, or appear under load. Test RAM with Windows Memory Diagnostic. Check drive health with
chkdskand the drive's SMART status. Look for dust, heat, a failing fan, and a weak power supply.
Safe Mode is the key test. If the system is stable in Safe Mode but crashes in normal mode, a driver or startup program is the likely cause. If it still crashes in Safe Mode, suspect hardware or core system corruption.
Fixing the problem
Apply the least destructive fix first.
- Boot into Safe Mode or WinRE. If Windows cannot start, interrupt the boot process three times to reach WinRE, then open Startup Settings and choose Safe Mode.
- Roll back or update the driver. In Device Manager, open the device properties and use Roll Back Driver. If a new driver caused the fault, this is the fastest fix.
- Uninstall the recent update. Use Settings, Windows Update, Update history, Uninstall updates. From WinRE, use Troubleshoot, Advanced options, Uninstall Updates.
- Use System Restore. This returns system files and drivers to an earlier restore point. It does not remove your personal files.
- Repair system files. Run these commands from an elevated prompt:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow- Check the disk. If the stop code points to the file system or boot volume, run the following from WinRE or an elevated prompt, then restart when asked:
chkdsk C: /f /r- Test memory. Run Windows Memory Diagnostic. For a deeper test, boot from a tool such as MemTest86. Any reported error means the RAM stick should be replaced.
Reinstalling Windows is a last resort, not a first step.
Stopping the restart loop
By default, Windows restarts automatically after a stop error. The screen disappears before you can read it. To keep the stop screen visible:
- Open System Properties and choose Advanced system settings.
- Under Startup and Recovery, choose Settings.
- Under System failure, clear Automatically restart.
Here you can also set the dump type. A small memory dump is enough for most troubleshooting. If Windows cannot start at all, hold Shift while selecting Restart, or use Startup Settings in WinRE and choose "Disable automatic restart after failure."
Restarts without a blue screen
If the PC restarts with no stop error, check these causes.
- Overheating. A clogged heat sink or dead fan makes the CPU shut down to protect itself. Check temperatures in UEFI or with a monitoring tool.
- Failing power supply. The PC reboots under load, such as gaming, and Event Viewer shows
Kernel-Power41 with no bugcheck. - Loose components. Reseat RAM and cables.
- Automatic restart after update. Windows may restart on a schedule. Check active hours.
- Malware. Some malware crashes or reboots a system. Scan with an updated tool if the pattern fits.
Applying the methodology
Map the steps to the CompTIA method. Identify the problem by recording the code and asking what changed. Establish a theory, such as a bad driver or failing RAM. Test the theory with Safe Mode or a memory diagnostic. Create a plan, make a restore point or back up data, and implement the fix. Verify by running a stress test or normal workload. Document what you did.
Exercise
A technician installs a new graphics driver on a user's PC. The next morning the PC shows a stop error naming a .sys file from the graphics vendor and restarts before the screen can be read. Safe Mode runs without problems. What should the technician do first, and why?
Show answer
Boot into Safe Mode and use Roll Back Driver in Device Manager (or uninstall the driver). Stability in Safe Mode, which loads only basic drivers, together with the timing and the named graphics driver file, points to the new driver as the cause. Rolling back is the least destructive fix. Optionally disable "Automatically restart" so the stop code stays visible.
Exercise
A PC crashes several times a day, and each crash shows a different stop code. It also crashes in Safe Mode. Which cause is most likely, and which tool should be run?
Show answer
Failing hardware, most likely RAM, is the most likely cause. Changing codes and crashes in Safe Mode rule out a single driver. Run Windows Memory Diagnostic or MemTest86, and check temperatures and the power supply.