How to Fix Ntdll.dll Errors

A troubleshooting guide for Ntdll.dll errors

The causes of ntdll.dll error messages can vary greatly. However, most of them result from a corrupt or damaged version of the ntdll DLL file itself, corrupt hardware drivers, or issues between Windows and other programs.

These errors can sometimes mean that a piece of hardware in your computer is malfunctioning, but this is rare.

Ntdll.dll error messages can apply to nearly any Windows-based software program, driver, or plugin on any of Microsoft's operating systems from Windows NT up through Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP.

Ntdll.dll Errors

There are many different ways these errors might be displayed on your computer. They can be caused by a number of different things which result in many different error messages, but these are some of the most common:

  • STOP: 0xC0000221 unknown hard error C:\Winnt\System32\Ntdll.dll
  • STOP: C0000221 unknown hard error \SystemRoot\System32\ntdll.dll
  • AppName: [PROGRAM NAME] ModName: ntdll.dll
  • [PROGRAM NAME] caused a fault in module NTDLL.DLL at [ANY ADDRESS]
  • Crash caused in ntdll.dll!
  • NTDLL.DLL Error!
  • Unhandled exception at [ANY ADDRESS] (NTDLL.DLL)
Windows Desktop showing ntdll.dll error on it

The message might appear before or after a program is used, while a program is running, when Windows is started or shut down, or even during a Windows installation.

How to Fix Ntdll.dll Errors

  1. Restart your computer. The ntdll.dll error you're receiving could be due to a one-time, temporary issue and a simple reboot may resolve the problem completely.

  2. Reinstall the program if the error only displays when you use a specific program.

    If the software program has any updates or service packs available, install them, too. The software's programmers may have identified an issue with the program that caused the DLL error and then issued a patch for it.

    Third-party software programs that have been installed on your computer are almost always the cause of ntdll.dll errors. The remainder of these troubleshooting steps resolves the issue only rarely.

  3. Check the Windows service pack level you're running and then check this page to see if there's a more recent service pack available for installation. Some issues that caused ntdll.dll errors have been corrected in these service packs from Microsoft.

    The easiest way to update your Windows computer with the newest service pack and other patches is to use Windows Update. Follow our guide on How to Check for and Install Windows Updates if you need help.

  4. Selectively disable Microsoft Edge extensions. If your error is displaying when you start, run, or close Edge, an extension may be causing the problem. Disabling each extension, one by one, will determine which one is the culprit (if any).

    As a workaround, assuming the ntdll.dll error really is Edge-related, install and use a competing browser like Firefox.

  5. Rename the NLSPATH system variable (from NLSPATH to NLSPATHOLD). If your Windows system doesn't have this environment variable, skip this step.

    This is a troubleshooting step for this issue only. Be sure to set this path back to its original name if it doesn't resolve the issue.

  6. Disable Data Execution Prevention for Explorer.exe. As in the previous step, this is for troubleshooting the ntdll.dll issue only. If this doesn't resolve the problem, return the Data Execution Prevention settings to their previous settings.

  7. Disable UAC. This is a workaround for some causes of ntdll.dll issues but could serve as a permanent solution if not using User Account Control is something you're comfortable with on your computer.

  8. Update drivers for any hardware in your computer where updated drivers are available. Outdated drivers sometimes cause these errors.

  9. Test your memory for damage. If you're receiving one of the above DLL messages, one possible cause could be a bad memory module in your system. Testing your memory will either identify a problem or clear your RAM of any responsibility.

    Replace your memory if it fails any of your tests.

  10. Ntdll.dll errors could occur if you have an Iomega Zip drive on the same IDE cable as the hard drive inside your computer. If so, move the Zip drive to a dedicated IDE controller.

  11. Replace the IDE cable connecting the hard drive to the motherboard. If this cable is damaged or malfunctioning, one symptom could be the DLL error you're seeing.

  12. Repair your installation of Windows. If individual software reinstallations fail to resolve the problem, a repair installation of Windows will replace the ntdll.dll file.

  13. Perform a clean installation of Windows. A clean installation will completely remove Windows from your PC and install it again from scratch. We don't recommend this option unless you've exhausted all previous troubleshooting ideas and you're comfortable that the error isn't caused by a single program (Step 2).

    If a single program or plugin is causing the ntdll.dll error, reinstalling Windows and then reinstalling all of the same software may lead you right back to the same error.

  14. If everything else has failed, including the clean installation from the last step, you could be dealing with a hardware issue with your hard drive. However, this is extremely rare. If so, replace the hard drive and then perform a new installation of Windows.

Need More Help?

If you don't want to fix this ntdll.dll problem yourself, see How Do I Get My Computer Fixed? for a full list of your support options, plus help with everything along the way like figuring out repair costs, getting your files off, choosing a repair service, and a whole lot more.

FAQ
  • How do I fix "System Thread Exception Not Handled" in Windows 10?

    Boot up Windows in Safe Mode > press Win + R on your keyboard > enter eventvwr in the run bar > open Windows Logs > System. Look for system_thread_exception_not_handled and select it to locate the driver causing the error. Update or reinstall the affected driver.

  • How do I fix a "Windows cannot access the specified device, path, or file" error?

    Make sure the the file or folder you're trying to install, start, or update has the necessary permissions. Right-click the file or folder > select Properties > Security > select your name under Group or user names > Edit. Find the boxes for the permissions you need and check them, then select OK.

Was this page helpful?