How to Fix wdfilter.sys Blue Screen of Death in Windows?

When wdfilter.sys crashes, the ‘Blue Screen of Death’ occurs, and Windows displays an error code ‘REGISTRY FILTER DRIVER EXCEPTION’. Wdfilter.sys is a system file linked to Windows Defender. Its role is to oversee how different applications engage with the Windows registry, ensuring safety of Windows registry integrity.

When this file becomes corrupt, Windows displays this error. Issues may also occur with an outdated version of either Windows or Windows Defender.

In this article, we will explore various methods to solve this problem.

1. Run SFC and DISM

The problem could occur from corrupted system files. Running the SFC (System File Checker) and DISM (Deployment Image Servicing and Management) utilities can scan and fix corrupted files, and restore the system’s integrity.

  1. Open the Search menu, type cmd, and run the Command Prompt as an Administrator.
  2. Enter the following commands:
    sfc /scannow
    Dism /Online /Cleanup-Image /RestoreHealth

  3. Restart your computer

2. Update Windows Defender and Windows

Having outdated versions of either Windows or Windows Defender may lead to issues due to corrupted or outdated files. You can search for Windows updates, and if any are available, the system will update and install Windows Defender automatically, ensuring that the aforementioned issue wasn’t the cause of concern.

  1. Press Windows + I to open Settings.
  2. Click on Update and Security.
  3. Select Windows Update from the left side pane, and then click on Check for updates.

3. Reset Windows Defender

Incorrect settings in Windows Defender may interfere and result in a Blue Screen of Death. Resetting Windows Defender to its default settings can contribute to the resolution of this issue.

  1. Search for Windows Security in the Search bar and select App settings.
  2. Scroll down to the Reset section and select Reset.

4. Update BIOS

An outdated BIOS version may cause problems, triggering a Blue Screen of Death. To ensure optimal interaction and prevent outdated drivers from causing problems, it is recommended to update the BIOS to its most recent version.

In order to secure the firmware and update the BIOS to the most recent version, you can visit your manufacturer’s website. Click here to see how to update the BIOS for different manufacturers, such as: Dell, Lenovo, HP, and MSI.

5. Reinstall Windows

If the above solutions doesn’t work for you, reinstalling Windows might be your final option. This process removes all the potentially damaged files or software causing issues and offers a brand-new version of Windows, which may help solve the problem.

For guidance on how to reinstall Windows, please refer to our article, How to Reinstall Windows.


Hamza Mohammad Anwar

Hamza Mohammad Anwar is an intermediate JavaScript web developer with a focus on developing high-performance applications using MERN technologies. His skill set includes expertise in ReactJS, MongoDB, Express NodeJS, and other related technologies. Hamza is also a Google IT Certified professional, which highlights his competence in IT support. As an avid problem-solver, he recreates errors on his computer to troubleshoot and find solutions to various technical issues.