Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»How To Fix Ndu.sys Blue Screen Error On Windows

How To Fix Ndu.sys Blue Screen Error On Windows

Anup ThapaBy Anup ThapaSeptember 7, 2022
ndu.sys BSOD Error Windows

Ndu.sys is the Windows Network Data Usage Monitoring Driver. If you check the What Failed section for various bugchecks like SYSTEM THREAD EXCEPTION NOT HANDLED and IRQL NOT LESS EQUAL, you’ll often find ndu.sys listed there.

However, contrary to what users often believe, this doesn’t mean that ndu.sys caused the BSOD. Instead, this driver failed because of something else, and that’s what you’ll need to figure out to fix the ndu.sys BSOD at its root.

Table of Contents

  • Ways to Fix Ndu.sys BSOD Error
    • Remove Antivirus
    • Update Network Driver
    • Replace ndu.sys
    • Analyze Dump File
    • Repair System Corruption
    • Use Diagnostic Tools
    • Clean Boot
    • Update Windows
    • Use System Restore

Ways to Fix Ndu.sys BSOD Error

As stated, there are various BSODs related to ndu.sys, with some common ones being:

0x0000000A: IRQL NOT LESS EQUAL (Ndu.sys)
0x0000001E: KMODE EXCEPTION NOT HANDLED (Ndu.sys)
0x0000003B: SYSTEM SERVICE EXCEPTION (Ndu.sys)
0x00000050: PAGE FAULT IN A NONPAGED AREA (Ndu.sys)
0×0000007A: KERNEL DATA INPAGE ERROR (Ndu.sys)
0x0000007E: SYSTEM THREAD EXCEPTION NOT HANDLED (Ndu.sys)

These BSODs can be caused by a number of reasons, but when associated with ndu.sys, certain fixes will be very effective. We’ve listed those first, and if those fixes don’t help, you can analyze the dump file to figure out the exact cause and apply any of the general solutions listed further below.

Remove Antivirus

The most common reason for ndu.sys-related BSODs has been incompatibility with antiviruses. Malwarebytes, in particular, is notorious for this. As such, temporarily removing the antivirus might be your best bet at fixing this BSOD. 

You can use Windows Defender for protection in the meantime. With that said, here’s how you can remove the antivirus:

  1. Press Win + R, type appwiz.cpl, and press Enter.
  2. Select the antivirus from the list and press Uninstall.
    uninstall antivirus
  3. Follow the on-screen instructions to remove the antivirus and restart afterward.

Update Network Driver

Outdated or corrupt network drivers are another common reason for ndu.sys-related BSODs. You should first try updating the network drivers. Here’s how you can do so:

  1. Press Win + R, type devmgmt.msc, and press Enter.
  2. Expand the Network Adapters section.
  3. Right-click the Network Adapter and select Update Driver.
    update-network-driver'
  4. First, select Search automatically for updated drivers.
  5. If you’re unable to find newer drivers that way, look for the drivers on the system manufacturer or network adapter manufacturer’s website.
  6. Download whichever one is newer.
  7. Launch the Device Manager and try to update the network driver once again.
  8. This time, select Browse my computer for drivers.
    search-automatically
  9. Click on Browse and locate the directory where the driver files were downloaded in Step 6.
    browse-driver-location
  10. Press Ok > Next > Close.
  11. Restart your computer afterward.

Replace ndu.sys

It’s also possible that the ndu.sys file itself is corrupt, and replacing it with a proper one could resolve the BSOD issues. If you recently upgraded Windows, you’ll have the Windows.old folder on your system. You can use the ndu.sys file from that directory to replace the current one. Here’s how you can do this:

  1. First, create a restore point as a safety measure.
  2. On an admin account, press Win + R, type cmd, and press CTRL + Shift + Enter.
  3. Execute the following commands to take ownership of the current file and rename it:
    takeown /f %WinDir%\System32\drivers\ndu.sys
    icacls %WinDir%\System32\drivers\ndu.sys /Grant Administrators:f
    ren "%WinDir%\System32\drivers\ndu.sys" "ndu.old"

    replace-ndu-sys
  4. Now, execute the following commands to replace the file:
    copy C:\windows.old\system32\drivers\ndu.sys  C:\windows\system32\drivers\
    copy-ndu-sys

If the Windows.old method isn’t applicable to you, you can instead get the ndu.sys file from an installation media and replace it in the same manner. Here are the steps for this:

  1. Insert the installation media and reboot your computer.
  2. Press the Boot Options key shown on the screen (usually F12) and select the media to boot from it.
  3. In the installation wizard, click on Repair your computer.
    install-screen-repair-your-computer
  4. Select Troubleshoot > Advanced Options > Command Prompt.
  5. Enter the following commands and note the system drive letter:
    Diskpart
    List vol

    diskpart-list-vol
  6. Enter exit.
  7. Type the following command:
    copy X:\windows\system32\drivers\ndu.sys  C:\windows\system32\drivers\
    copy-ndu-sys-from-installation-media
  8. Replace C: with the system drive letter from Step 5 if different, and press Enter to replace the ndu.sys file.
  9. On older systems, the previous command may not work. In such cases, try this one instead:
    copy X:\sources\windows\system32\drivers\ndu.sys  C:\windows\system32\drivers\
    replace-ndu-sys-installation-media
  10. Restart your device and remove the installation media to boot normally.

Analyze Dump File

The previous fixes will resolve the BSOD for most users, but if they persist, you should analyze the dump files generated by the bugcheck to get a better idea of what exactly is causing it. Afterward, you can apply the appropriate solution from the ones listed further below. Here’s how you can analyze the dump files:

  1. Install the WinDbg Preview App from the Microsoft Store.
  2. Launch the app and press CTRL + D.
  3. Navigate to %windir% or %windir%/minidump/ and open the dump file.
    open dump file
  4. Select View > Command and enter !analyze -v at the kd prompt.
    windbg analyze
  5. After completing the analysis, check the MODULE_NAME and Probably caused by sections for hints on what caused the crash.
  6. If there are multiple dump files, analyze the rest in the same manner to get more information.

If necessary, you could also use additional methods to gather information, like checking the Event Viewer logs and using Driver Verifier.

Repair System Corruption

We replaced the ndu.sys file earlier, but there could also be other corrupt system files that are causing this driver to fail. As such, we recommend using the native DISM and SFC utilities to repair system corruption. Here’s how you can do this:

  1. Press Win + R, type cmd, and press CTRL + Shift + Enter.
  2. Execute the following commands:
    dism /online /cleanup-image /restorehealth
    sfc /scannow

    dism sfc

Use Diagnostic Tools

Memory and disk problems are a common reason for BSODs. As such, using in-built tools to diagnose any potential issues with them is a good idea. First, we recommend using CHKDSK with the steps shown below:

  1. Press Win + R, type cmd, and press CTRL + Shift + Enter.
  2. Type chkdsk c: /f /r, replace c: with your system drive letter if different, and press Enter.
    chkdsk-f-r
  3. Accept the prompt to run the disk scan upon restarting, and restart your PC afterward.
  4. If no disk issues are found, use the mdsched run command and use the Windows Memory Diagnostic tool to check the memory instead.
    mdsched

Clean Boot

We’ve already talked about removing antiviruses, but other third-party programs could also be interfering with the ndu.sys driver or other system components and causing this BSOD. As such, performing a clean boot could be helpful. Here’s how you can do this:

  1. Press Win + R, type msconfig, and press Enter.
  2. In the Services tab, enable the Hide all Microsoft services option.
    hide-all-microsoft-services-to-clean-boot
  3. Click on Disable all and press OK.
  4. In the Startup tab, click on Open Task Manager.
  5. Disable all the applications and restart your computer.
    task-manager-disable-startup
  6. If you don’t get the BSOD like this, one of the programs or services may be the culprit. Enable them one by one to figure out which one.
  7. If you do get the BSOD, the problem is likely something else. Follow the same steps to revert the clean boot configurations.

Update Windows

Windows Updates often include patches to minor issues with system components, including drivers like ndu.sys. As such, we recommend updating your system with the steps listed below:

  1. Press Win + R, type control update, and press Enter.
  2. Click on Check for Updates, then download and install any pending ones.
    check-for-updates-download-and-install
  3. Restart your PC afterward.

Use System Restore

If you have a system restore point from a time before the BSOD started, it’s very likely that restoring your system to that point could get rid of the BSODs as well. Here’s how you can use system restore in such cases:

  1. Press Win + R, type rstrui, and press Enter.
  2. Press Next and select the restore point to use.
    System-restore-selected
  3. Accept the confirmation prompts and press Finish.
  4. After 30 – 60 minutes, the system restore should finish, and you’ll receive a completion message.
fix
Anup Thapa
  • LinkedIn

Anup Thapa is a tech writer at TechNewsToday. He mostly writes informative articles, tutorials, and troubleshooting guides related to Windows systems, networking, and computer hardware. Anup has been writing professionally for almost 5 years, and tinkering with PCs for much longer. His love for all things tech started when he got his first PC over 15 years ago. It was a Pentium IV system running Windows XP on a single 256 MB stick. He spent his formative years glued to this PC, troubleshooting any hardware or software problems he encountered by himself. Professionally, Anup has had brief forays into a variety of fields like coding, hardware installation, writing, etc. In doing so, he's worked with people of different backgrounds and skill levels, from average joes to industry leaders and experts. This has given him not just a versatile skillset, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can contact him at anup@technewstoday.com

Related Posts

antimalware service executable high memory

Fix: Antimalware Service Executable High Memory

May 18, 2023
windows event logs

How to Check Event Logs on Windows

May 17, 2023
the rpc server is unavailable

Fix: The RPC Server is Unavailable

May 15, 2023
DirectStorage Windows 11

How to Enable DirectStorage on Windows 11

May 15, 2023
audio keeps cutting out

5 Ways to Fix Audio Keeps Cutting Out on Windows 11

May 12, 2023
MBR Error 1 2 3

What is MBR Error 1, 2, 3? 7 Ways to Fix It

May 11, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Best-1200W-PSU

8 Best 1200W PSUs for Extreme PC Builds in 2023

May 16, 2023
Best-1000W-PSU

10 Best 1000W PSUs in 2023

May 16, 2023
best-700w-psu

10 Best 700W PSUs for Gaming in 2023

May 14, 2023
You may also like
antimalware service executable high memory

Fix: Antimalware Service Executable High Memory

May 18, 2023
printer-printing-pink

Why is My Printer Printing Pink? 6 Ways to Fix It

May 18, 2023
how to clean usb c port

How to Clean USB-C Port Safely

May 17, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.