If you have updated to Windows 11 and are getting random Blue screen of death (BSOD) error: ksecdd.sys. This article will guide you through several different troubleshooting steps you can use to help solve the problem and prevent your Windows 11 system from crashing because of ksecdd.sys errors.

Related: How to fix Winload.efi is missing or contains errors on Windows 11.

Blue screen of death errors on Windows are some of the most annoying and hard to figure out errors that can pop up and ruin your day. Nine times out of ten, everything is working fine then, BOOM! Your system has crashed to a BSOD and you’re left hoping that the program/app you were working in managed to save your data. Just like all the other Windows operating systems that came before it, Windows 11 also has a ton of BSOD errors that can and will pop up from time to time.

Ksecdd.sys is a classic example of a Blue screen of death error and one that can and will appear when you are least ready for it. As Ksecdd.sys is part of the Kernel Security Support Provider Interface from Microsoft, it is a system file that shouldn’t be removed or changed. If something happens to it Windows 11 will randomly crash. Most of the time driver issues are the cause of the problem, however, there are also plenty of other factors that will cause ksecdd.sys crashing. Including running Windows 11 on unsupported hardware. This is one of the reasons Microsoft strongly suggested not installing Windows 11 on unsupported hardware.

Note: If you are running an OverClock (OC) on your computer, disable it and check to see if the problem goes away. If it does, you’ll need to redo your overclock.

Fix Ksecdd.sys Blue screen of death crashing on Windows 11 using the SFC Scannow command.

A relatively quick and easy fix for this problem is to run the SFC tool.

  • First type CMD into the Start menu then right-click Command Prompt and choose Run as administrator.
  • When you have Command Prompt open type the following command into Command Prompt and press Enter.

sfc /scannow

It may take some time to complete so be patient. If any errors are found they should be repaired automatically. If it doesn’t complete properly Restart your computer in Safe Mode and repeat the process.

fix ksecdd sys error Windows 11

Fix Corrupted System Files using the DISM tool.

If the SFC tool returned an error message, open Command Prompt as Administrator, then enter the following commands in order.

DISM /Online /Cleanup-Image /CheckHealth

DISM /Online /Cleanup-Image /ScanHealth

DISM /Online /Cleanup-Image /RestoreHealth


After a system Restart, everything should be back in working order. If you’re still having issues with ksecdd.sys crashing on Windows 11 it’s time to reinstall Windows 11 and start from a clean slate.

Reset your Windows 11 installation using Recovery Tools.

If nothing listed above has resolved the problem, you will have to reset your computer to a fresh installation. This will solve the problem 100% though it is a lot of work.

  • To do this open Settings > System > Recovery > Reset this PC.
  • Now choose the Keep my files option and follow the steps shown by Windows 11. It will take a fair bit of time to complete so make sure you have a couple of hours to go through the entire process before you start.