Photograph the blue screen, especially any "What failed" file name. If Windows crashes during startup, use Safe Mode or the recovery environment for the steps below. If Windows cannot start, see the startup guide.
Work through these checks
0 of 7 complete01Find the driver named in the crash
When the bad memory access comes from a driver, Windows usually names it.
- Look for "What failed: name.sys" on the blue screen and search the file name to find its device or program.
- Open Event Viewer (Win + R, eventvwr.msc) > Windows Logs > System and check critical errors from the same time.
- Install the newest version of that driver from the device maker.
The named driver is updated and the crash stops.
If it does not helpIf no file is named, or it is a Windows file such as ntoskrnl.exe, continue with step 2.
02Undo recent driver, service or antivirus changes
Microsoft names faulty drivers, system services and antivirus software as the main software causes.
- Roll back a recently updated driver: Device Manager > device Properties > Driver > Roll Back Driver.
- Uninstall third-party antivirus, VPN or system tuning software in Settings > Apps > Installed apps and test again.
- If the crash started after a Windows update, uninstall it in Settings > Windows Update > Update history > Uninstall updates.
Microsoft Defender turns on automatically when you remove another antivirus; keep it on.
The crash stops after the change is undone.
If it does not helpIf a program was responsible, contact its maker or install a newer version later.
03Test the memory
Defective RAM is the most common hardware cause of invalid memory references.
- Turn off XMP, EXPO and any memory overclock in the BIOS for testing.
- Run Windows Memory Diagnostic (Win + R, mdsched.exe) > Restart now and check for problems.
- After the restart, find the result in Event Viewer > Windows Logs > System, source MemoryDiagnostics-Results.
The memory test passes.
If it does not helpIf it reports errors, follow the memory test errors guide on this site. If crashes happen only in games, the graphics card's memory can also be at fault; test with the card's stock clocks.
04Check the drive for file system errors
Microsoft lists a corrupted NTFS volume as a cause of this stop code.
- Open Terminal (Admin) and run chkdsk C: /f /r.
- Answer Y to schedule the check, restart, and let it finish without interrupting it.
- Check the drive's health in its maker's tool.
Chkdsk /r on a large hard drive can take hours. Back up important files first if the drive may be failing.
Chkdsk finishes and fixes any errors; the drive reports good health.
If it does not helpIf the drive reports bad sectors or poor health, back up and replace it.
05Repair Windows system files
After file system errors or crashes, Windows files can be damaged.
- Open Terminal (Admin).
- Run DISM /Online /Cleanup-Image /RestoreHealth.
- Run sfc /scannow, then restart.
SFC reports no integrity violations, or that it repaired them.
If it does not helpIf problems remain, run both commands again after a restart.
06Check recently added hardware
Microsoft recommends removing new hardware and running the maker's diagnostics when hardware may be at fault.
- Remove hardware added shortly before the crashes started, such as RAM, a graphics card, an expansion card or USB devices, and test again.
- Run the hardware diagnostics from your PC or laptop maker.
- On a desktop, reseat the RAM modules and the graphics card.
Switch off and unplug the PC before opening it.
You find whether a specific device causes the crash.
If it does not helpReplace hardware that fails the maker's diagnostics.
07Find the driver with Driver Verifier
If no driver is named, Driver Verifier makes the faulty one show up in the next crash.
- Create a restore point (search "Create a restore point").
- Open Command Prompt (Admin), type verifier, choose Create standard settings > Select driver names from a list, and tick only non-Microsoft drivers.
- Restart and use the PC until it crashes, then note the driver named.
- Turn Driver Verifier off with verifier /reset and restart.
Driver Verifier deliberately crashes the PC when it finds a problem. Turn it off when you are done.
A specific driver is named for you to update or remove.
If it does not helpIf Windows does not start with Driver Verifier on, start in Safe Mode and run verifier /reset.
Possible causes
- A faulty driver or system service
- Antivirus software
- Faulty RAM or graphics card memory, or an unstable memory overclock
- File system errors on the system drive
- Recently added or failing hardware
Useful Windows tools
These commands open Windows tools. Review changes before applying them.
eventvwr.mscmdsched.exeWas this helpful?
Your progress is saved on this device.