How To

How to Fix KERNEL_SECURITY_CHECK_FAILURE in Windows

By ··Updated August 27, 2026·4 min read
What this guide covers
  1. First: when does it happen?
  2. 1. Undo the most recent change
  3. 2. Remove any overclock
  4. 3. Test the memory
  5. 4. Repair system files and the disk
  6. 5. Find the driver responsible
  7. Read the dump
  8. Make sure dumps are being written
  9. 6. Driver Verifier — advanced
  10. 7. Update the drivers that matter
  11. In order, what to try
  12. Frequently asked questions
  13. What does KERNEL_SECURITY_CHECK_FAILURE mean?
  14. Is my hard drive failing?
  15. Will reinstalling Windows fix it?
  16. Can I lose files?
  17. It only happens in one game.

KERNEL_SECURITY_CHECK_FAILURE is a blue screen that means Windows caught a data structure in kernel memory that had been corrupted. It stopped rather than continuing with memory it could not trust.

Three things cause it, in this order: a bad driver, faulty memory, and damaged system files. The order matters — driver problems are far more common than the other two combined.

Windows blue screen showing KERNEL SECURITY CHECK FAILURE
The stop code names the check that failed, not the component that caused it.

Checked August 2026. Applies to Windows 11 and Windows 10 22H2.

First: when does it happen?

The pattern narrows the cause more than anything else you can do.

When it crashes Most likely cause
Right after installing a driver or device That driver
Only under load — games, rendering, compiling Memory, or an unstable overclock
Randomly, including at idle Memory, or storage
Right after a Windows update A driver incompatible with the new build
Only when a specific device is connected That device’s driver
During boot, every time Boot driver or file system corruption

1. Undo the most recent change

If the crashes started at a definite point, reverse that change before doing anything else:

  • A driver: Device Manager → the device → PropertiesDriverRoll Back Driver.
  • A Windows update: SettingsWindows UpdateUpdate historyUninstall updates.
  • New software: uninstall it, particularly anything with a driver — VPN clients, virtual drives, monitoring tools, anti-cheat.
  • Anything at all: use a restore point from before the trouble.

2. Remove any overclock

Including XMP and EXPO memory profiles, which are factory overclocks. Load Optimized Defaults in the firmware and run at stock while you diagnose. An unstable memory profile produces exactly this stop code.

3. Test the memory

Corrupted kernel structures are what failing RAM looks like from the inside.

The built-in tool is a starting point:

  1. Press Win + R, type mdsched.exe, press Enter.
  2. Choose Restart now and check for problems.

For anything conclusive, run MemTest86 from a USB stick for at least four full passes. With more than one stick, test them individually — that identifies which one is faulty rather than only that one is.

4. Repair system files and the disk

From an elevated Command Prompt:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
chkdsk C: /f /r

chkdsk with /f /r needs a restart and can take hours on a large mechanical drive. It is worth doing once when crashes are random.

5. Find the driver responsible

The blue screen names the check, not the culprit. The crash dump names the culprit.

Read the dump

  1. Download WhoCrashed or BlueScreenView — both are free and read C:WindowsMinidump.
  2. Open the most recent dump and look for the driver file named as the probable cause.

A .sys file name is usually enough to identify the hardware: nvlddmkm.sys is NVIDIA graphics, iaStorA.sys is Intel storage, rt640x64.sys is a Realtek network adapter.

Make sure dumps are being written

If C:WindowsMinidump is empty:

  1. Press Win + R, run sysdm.cpl.
  2. AdvancedStartup and RecoverySettings.
  3. Set Write debugging information to Small memory dump (256 KB).

6. Driver Verifier — advanced

Verifier stresses drivers deliberately to force the faulty one to reveal itself. It is effective and it is also the fastest way to make a machine unbootable, so read this whole section first.

Driver Verifier will cause repeated blue screens by design. Before enabling it: create a restore point, and make sure you know how to reach Safe Mode. If the machine will not boot afterwards, enter Safe Mode and run verifier /reset.

  1. Run verifier from an elevated prompt.
  2. Choose Create custom settings (for code developers).
  3. Select the standard tests, but not Low Resource Simulation.
  4. Choose Select driver names from a list and tick only non-Microsoft drivers.
  5. Restart and use the machine normally.

When it crashes, the dump names the offending driver directly. Then run verifier /reset and update or remove that driver.

7. Update the drivers that matter

Get them from the hardware manufacturer, not from Windows Update, and not from a “driver updater” utility:

  • Graphics: NVIDIA, AMD or Intel directly
  • Chipset: your motherboard or laptop manufacturer
  • Storage: the SSD maker’s utility, which also updates firmware
  • Network: the laptop or motherboard vendor

In order, what to try

  1. Undo whatever changed most recently.
  2. Remove every overclock, including XMP/EXPO.
  3. Run MemTest86 for four passes.
  4. Run DISM, SFC and chkdsk.
  5. Read the minidump to name the driver.
  6. Update or remove that driver.
  7. Use Driver Verifier only if the dump is inconclusive.

Frequently asked questions

What does KERNEL_SECURITY_CHECK_FAILURE mean?

Windows verified a kernel data structure and found it corrupted, so it stopped rather than continuing with untrusted memory. It is a safety mechanism, not the fault itself.

Is my hard drive failing?

Possibly, but memory and drivers are more likely. Run chkdsk and check the drive’s SMART data — see how to check SSD health.

Will reinstalling Windows fix it?

Only if the cause is software. It does nothing for failing memory or an unstable overclock. Rule out the hardware first, or you will lose a day and still be crashing.

Can I lose files?

A blue screen loses unsaved work in open applications. Saved files are not affected, unless the underlying cause is a failing drive — which is a reason to back up now rather than later.

It only happens in one game.

That usually points at the graphics driver or at memory under load, since games stress both harder than anything else. Clean-install the graphics driver at stock clocks, then test memory.

Found a step that no longer matches?

Tell us which version of Windows, the browser or the app you are running — that is what makes a correction usable. Your email address is not published.