Photograph the blue screen, especially the "What failed" line. If the PC keeps crashing, start it in Safe Mode for the following steps. If Windows cannot start, see the startup guide.
Work through these checks
0 of 7 complete01Find the file named on the blue screen
This stop code is almost always caused by a specific driver, and Windows often shows its file name.
- Look for "What failed: name.sys" on the blue screen photo and search that file name to find the device or program it belongs to.
- Open Event Viewer (Win + R, eventvwr.msc) > Windows Logs > System and look at the critical errors and warnings just before the restart.
- Open Device Manager (Win + R, devmgmt.msc) and look for devices marked with a yellow exclamation point.
You know which driver or device is the most likely cause.
If it does not helpExamples: nvlddmkm.sys or amdkmdag.sys are graphics drivers, Netwtw*.sys is Intel Wi-Fi. If the named file is a Windows file such as ntoskrnl.exe or win32kfull.sys, the real cause is usually another driver; continue with step 2.
02Undo the most recent driver or software change
Microsoft's first recommendation is to remove or update drivers and system services that were added recently.
- Think about what changed before the crashes started: a new driver, Windows update, antivirus, VPN, webcam or capture software, fan and RGB control, or a hardware monitoring tool.
- Uninstall that program in Settings > Apps > Installed apps, or roll back the driver in Device Manager > device Properties > Driver > Roll Back Driver.
- If you added hardware recently, disconnect it and test again.
Keep Microsoft Defender turned on when you remove another antivirus program.
The crashes stop after the change is undone.
If it does not helpIf you need the program, install its newest version later and check whether the crash returns.
03Reinstall the graphics driver cleanly
Graphics drivers are the most common source of this crash, especially when it happens in games or when playing video.
- Download the current driver for your graphics card from NVIDIA, AMD or Intel, or the laptop maker's driver for laptops with switchable graphics.
- Run the installer and choose its clean installation or factory reset option, if it offers one.
- If the crash began after a driver update, install the previous version instead.
The PC runs games and video without the blue screen.
If it does not helpIf the named file was not a graphics driver, go straight to step 4.
04Update the remaining drivers
Old chipset, audio, network and storage drivers can also trigger the exception.
- Run Windows Update, including Advanced options > Optional updates > Driver updates.
- Install the latest chipset, audio, network and Wi-Fi drivers from your PC, laptop or motherboard maker's support page for your exact model.
- Update the BIOS/UEFI if the maker lists a newer version for stability fixes.
Do not use driver updater programs; they often install wrong or unsigned drivers. Do not switch off the PC during a BIOS update.
Drivers and firmware are current.
If it does not helpUse the PC normally for a day and watch for new crashes.
05Repair Windows system files
Damaged system files can make a correct driver crash when it calls into Windows.
- Right-click Start and open Terminal (Admin).
- Run DISM /Online /Cleanup-Image /RestoreHealth and wait for it to finish.
- Run sfc /scannow, then restart.
SFC reports no integrity violations, or that it repaired them.
If it does not helpIf SFC cannot repair some files, run both commands once more after a restart.
06Test the memory
Faulty or overclocked RAM corrupts data that drivers then read as invalid addresses.
- If XMP, EXPO or another memory or CPU overclock is enabled in the BIOS, turn it off for testing.
- Run Windows Memory Diagnostic (Win + R, mdsched.exe) and choose 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 and the crashes stop or remain.
If it does not helpIf the test reports errors, follow the memory test errors guide on this site.
07Find the driver with Driver Verifier
When no file is named, Driver Verifier puts extra checks on drivers so the faulty one is named in the next crash.
- Create a restore point first (search "Create a restore point").
- Open Command Prompt (Admin), type verifier, choose Create standard settings, then Select driver names from a list, and tick only non-Microsoft drivers.
- Restart and use the PC until it crashes; the new blue screen and dump name the driver.
- Turn Driver Verifier off afterwards with verifier /reset and restart.
Driver Verifier deliberately crashes the PC when a driver misbehaves. Use it only after the earlier steps and turn it off when done.
The crash names a specific third-party driver to update or remove.
If it does not helpIf Windows no longer starts with Driver Verifier on, start in Safe Mode and run verifier /reset.
Possible causes
- A faulty or outdated driver, most often graphics, audio, webcam or network
- Security, VPN, monitoring or RGB software that installs its own kernel drivers
- A driver or service added or updated shortly before the crashes began
- Damaged Windows system files
- Unstable or faulty RAM
Useful Windows tools
These commands open Windows tools. Review changes before applying them.
eventvwr.mscdevmgmt.mscmdsched.exeWas this helpful?
Your progress is saved on this device.