On this pageWhat the codes mean
IRQL_NOT_LESS_OR_EQUAL and KERNEL_SECURITY_CHECK_FAILURE look unrelated, but they usually have the same culprit: a kernel-mode driver that touched memory it should not have, or corrupted a structure the kernel depends on. Less often the cause is failing RAM or an unstable overclock. Windows records which driver was running when it stopped, so the fastest fix starts with reading that record instead of reinstalling things at random.
On Windows 11 version 24H2 and later, the crash screen is black rather than blue and reads as an unexpected restart. The stop codes and the method are the same.
What the codes mean
| Stop code | Name | What happened |
|---|---|---|
0xA |
IRQL_NOT_LESS_OR_EQUAL |
Windows or a driver accessed paged memory at an invalid address while running at a raised interrupt level |
0xD1 |
DRIVER_IRQL_NOT_LESS_OR_EQUAL |
the same mistake, attributed to a specific driver |
0x139 |
KERNEL_SECURITY_CHECK_FAILURE |
the kernel detected corruption of a critical data structure |
For 0xA, Microsoft's reference describes the cause as a bad pointer or a pageability problem in a driver. The first parameter is the address that could not be accessed; a value below 0x1000 points to a null pointer. For 0x139, the first parameter names the kind of corruption. 3, a corrupted linked-list entry, is the one you will see most, and Microsoft lists driver mistakes such as removing the same list entry twice or freeing memory still in use.
Step 1: collect the evidence
Write down the stop code and, if the screen shows one, the file named after "What failed", such as example.sys. Then make sure Windows keeps crash dumps:
Get-CimInstance Win32_OSRecoveryConfiguration | Select-Object DebugInfoType, MiniDumpDirectory
A DebugInfoType of 0 means no dump is written; 7 (automatic) or 3 (small memory dump) are what you want. Change it under System Properties, Advanced, Startup and Recovery. Dumps need a page file on the system drive. Small dumps land in C:\Windows\Minidump, larger ones in C:\Windows\MEMORY.DMP.
The System event log records every crash with its parameters, and Reliability Monitor puts the crashes on a timeline next to the updates and installs that preceded them:
Get-WinEvent -FilterHashtable @{LogName='System'; Id=1001} -MaxEvents 5 | Format-List TimeCreated, Message
perfmon /rel
If the first crash came the day after a driver, a VPN client or a security product was installed, you already have your prime suspect.
Step 2: read the dump with WinDbg
Install Microsoft's debugger, open a dump file from its File menu, and let it download symbols from Microsoft's public server:
winget install Microsoft.WinDbg
Then type this into the command bar:
!analyze -v
Read these fields in the output:
BUGCHECK_CODEandBUGCHECK_P1toP4: the stop code and its parameters.MODULE_NAMEandIMAGE_NAME: the driver Windows holds responsible.PROCESS_NAME: the program that was running, often a clue to which driver was involved.STACK_TEXT: the chain of calls; third-party modules in it are worth noting.
lmvm <module> (for example lmvm examplenet) prints the driver's file path, timestamp and version, which tells you whether an update exists.
Interpreting it takes judgment. A third-party driver in IMAGE_NAME (network, VPN, antivirus, storage filter, RGB or monitoring utilities, anti-cheat) is a strong lead. When the blame falls on ntoskrnl.exe or a core Microsoft driver, the real culprit is often another driver further down the stack, or memory corruption. Open several dumps: the same module every time means a driver; different modules and random addresses each time point toward RAM, overclocking or power.
Step 3: fix it in a safe order
- Undo the most recent change. In Device Manager, open the device, then Driver, then Roll Back Driver. Uninstall a recently added program, or remove the last Windows update from Update history.
- Update or remove the suspect driver, using the device maker's site or Windows Update rather than a third-party driver updater. To see and remove driver packages, use
pnputil /enum-driversandpnputil /delete-driver oem42.inf /uninstall, with theoemname taken from the list. - Remove overclocks. Reset firmware settings to defaults, including memory profiles (XMP or EXPO), CPU and GPU overclocks and undervolts, then test again.
- Test the memory. Run
mdsched.exeand choose to restart and check now. For a longer test, boot MemTest86 from a USB stick and let it run several passes. - Check system files and the disk with
sfc /scannow, thenDISM /Online /Cleanup-Image /RestoreHealth, andchkdsk C: /scan.
Driver Verifier, when the dump does not name the culprit
Driver Verifier makes Windows check drivers strictly at run time, so a misbehaving driver crashes immediately with its own name in the dump (often under stop code 0xC4) instead of corrupting memory quietly for hours. Verify only the drivers you suspect, and tell Windows to switch Verifier off if the system fails to start:
verifier /standard /driver examplenet.sys examplefilter.sys
verifier /bootmode resetonbootfail
verifier /querysettings
Reboot and use the machine normally. When it crashes, read the new dump. Afterwards, always run verifier /reset and reboot. Expect a slower, crash-prone system while Verifier runs, and do not use /all on a production server.
If Windows will not start
After two failed starts, Windows opens the Recovery Environment. Choose Troubleshoot, Advanced options, Startup Settings, Restart, then 4 for Safe Mode or 5 for Safe Mode with Networking. Safe Mode loads only essential drivers, which is usually enough to roll back or uninstall the bad one. If Verifier itself causes the boot loop, open Command Prompt from the same menu and run verifier /reset.
On a Windows VPS
A virtual server has no graphics card or RGB controller, so the suspect list is shorter: security and endpoint agents, VPN and network filter drivers, backup agents with filter drivers, and outdated paravirtual drivers, such as the VirtIO disk and network drivers on KVM. Physical memory faults belong to the host; if dumps point at random addresses, send the stop codes and parameters to your provider. On a CloudSat Windows VPS, the VNC console in Recovery tools shows the crash screen and lets you reach Safe Mode when Remote Desktop is gone (recovery tools).
FAQ
Can failing RAM cause these stop codes?
Yes. Memory errors corrupt pointers and kernel structures at random, which produces exactly these crashes. The tell is variety: different modules, different addresses and sometimes different stop codes from one crash to the next.
Should I use a driver updater program?
No. Such tools often install the wrong package for your hardware, and some bundle unwanted software. Take drivers from the hardware maker or from Windows Update.
Will reinstalling Windows fix it?
Only if the cause was a corrupted system. If a driver is to blame, the crashes come back the moment you install that driver again. Identify the driver first; a reinstall is the last step, not the first.
Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.




