Fix “ntdll.dll” crash issue

By Justin Zeng  Program Issues  Application Errorscrash   0 Comment

Recently, many Windows users have reported their programs sometimes crash with the ntdll.dll error. Some of them bump into this error when opening or closing a program, while others encounter this issue just when the program is running. It is really annoying!

What is ntdll.dll?

The file ntdll.dll is a DLL (Dynamic Link Library) file stored in the system folder of Windows operating system. It is usually created automatically during the installation of the Windows operating system. The file ntdll.dll has a description of “NT Layer DLL”. The file ntdll.dll contains NT kernel functions, so it is essential for the normal function of the Windows operating system.

Since the file ntdll.dll can be accessed by more than one program at a time, and the ntdll.dll crash issue occurs on any Windows operating system including Windows 7, Windows 8 and Windows 10, it is difficult to narrow down the causes of the crash.

However, the good new is you can easily fix it with the methods below. You don’t have to try them all; just work your way down the list until you find the one that works for you:

Fixes to try

Here’s a list of fixes that have resolved this problem for other users. You don’t have to try them all. Just work your way through the list until you find the one that does the trick for you.

  1. Restart your PC
  2. Update your Windows system
  3. Run the Program Compatibility Troubleshooter
  4. Disable the problematic add-ons of your Internet Explorer
  5. Reinstall the problematic program
  6. Run the DISM tool
  7. Run the System File Checker
  8. Replace the file ntdll.dll from trustworthy source
  9. Pro tip: Update your drivers

Fix 1: Restart your PC

Your program may crash with the ntdll.dll error if you failed to shut down your PC properly. Try to restart your PC to see whether your Windows operating system can fix this issue automatically. If this issue persists, try the next fix.

Fix 2: Update your Windows system

If this error still appears, check if there are any new Windows-related patches or service packs available. The DLL error might be caused by an outdated Windows operating system. Try updating your Windows system and this issue may get resolved. Here is how to do it:

  1. On your keyboard, press the Windows logo key and type update. In the list of results, click Check for updates to open Windows Update window.
  2. Click the Check for updates button to update your Windows system.
  3. Restart your PC when the Windows update process is completed. 

If this fix works, your program wouldn’t crash with the ntdll.dll error again.

Fix 3: Run the Program Compatibility Troubleshooter

This issue may also be triggered by a poor written program. If your program crashes with the ntdll.dll error when opening or closing a program, or just when a program is running, it’s time to run the Program Compatibility Troubleshooter.

The Program Compatibility Troubleshooter can check whether that program is compatible with your current Windows operating system or not. Just follow the steps to run the Program Compatibility Troubleshooter:

  1. Right-click the shortcut of the problematic program on your desktop and select Properties.

  2. Click the Compatibility tab and click Run compatibility troubleshooter.
  3. Click Try recommended settings to test-run program using recommended compatibility settings. Follow the on screen instructions to see whether this troubleshooting option works or not.
  4. If it still doesn’t work, then run compatibility troubleshooter again and select the second option to choose compatibility settings based on problems you notice.
  5. If the problem persists, adjust the following settings manually and select OK when you’re done.
    • Compatibility mode: If your program is not designed for your current Windows system, the program may crash with the ntdll.dll error. Click the drop-down list to select a previous version of Windows system to test run the program.
    • Run this program as an administrator: If the program is not given administrator privileges, it may not run properly and may even crash with the ntdll.dll error. Try this setting to give the program the administrator privileges.

If this fix works, your program won’t crash with the ntdll.dll error.

Fix 4: Disable the problematic add-ons of your Internet Explorer

If your Internet Explorer often crashes with the ntdll.dll error, this issue is probably caused by the IE add-ons. Try selectively disabling the add-ons of your Internet Explorer one by one until you find the add-on that causes this issue. Here is how to do it:

  1. Open your Internet Explorer, then click the gear button  to select Manage add-ons.
  2. Select the first add-on in the list and then click Disable.
  3. Close your Internet Explorer and reopen it to see whether this issue persists. If so, repeat step 2 to disable the rest of your add-ons one by one until you find the add-on that causes this issue.
  4. Disable or delete the problematic add-on.

Reopen your Internet Explorer to see if this problem reappears. If not, this issue is fixed. If this issue persists, try the next solution.

Fix 5: Reinstall the problematic program

If this issue occurs when you open or close a certain program, or when that program is running, try to reinstall that problematic program and maybe the ntdll.dll error will be resolved.

  1. On your keyboard, press the Windows logo key and R at the same time to open the Run dialog. Type control and press Enter to open the Control Panel.
  2. View the Control Panel by Category and select Uninstall a program.
  3. Right-click your problematic program and select Uninstall.
  4. Restart your PC and then download the installation package of the problematic program from its official website.
  5. Double-click the installation package to install the program.

Now run the program to see whether your program will crash with the ntdll.dll error or not. If this issue reappears, you can consult the software provider for solution.

Fix 6: Run the DISM tool

This annoying issue is probably caused by the corrupted Windows system files. In this case, running the Deployment Image Servicing and Management (DISM) tool may resolve this issue. Just follow the step-by-step instructions to run the DISM tool:

  1. On your keyboard, press the Windows Logo Key and R at the same time to open the Run dialog. Type cmd and then press CtrlShiftand Enter on your keyboard at the same time to run the Command Prompt as administrator. You will be prompted for permission. Click Yes to run the Command Prompt.
  2. On your keyboard, type the command lines below one by one and press Enter:
    1. Dism /Online /Cleanup-Image /ScanHealth
      When you run the command mentioned above, the DISM tool will scan all the system files and compare them with official system files. The function of this command line is to see if the system file on your PC is consistent with its official source or not. This command line doesn’t fix the corruption.

      It may take several minutes for this command operation to be completed.
    2. Dism /Online /Cleanup-Image /CheckHealth
      When you run the command line Dism /Online /Cleanup-Image /CheckHealth, the DISM tool will check whether your Windows 10 image exists corruptions or not. This command line also doesn’t repair the corrupted files.
      It may take several minutes for this command operation to be completed
    3. Dism /Online /Cleanup-Image /RestoreHealth
      The command line Dism /Online /Cleanup-Image /RestoreHealth tells the DISM tool to try to repair the corrupted files detected. It will replace the corrupted files with the files from official source online.
      It may take several minutes for this command operation to be completed.
  3. Close the Command Prompt when the restore operation completed.

See if this issue persists. If so, try running the System File Checker.

Fix 7: Run the System File Checker

The System File Checker can scan for corruptions in Windows system files and restore corrupted files. When this annoying issue appears, it may be caused by some corruption error. In this case, running System File Checker may help you resolve this issue. Here is how to do it:

  1. On your keyboard, press the Windows Logo Key and R at the same time to open the Run dialog. Type cmd and then press CtrlShiftand Enter on your keyboard at the same time to run the Command Prompt as administrator. You will be prompted for permission. Click Yes to run the Command Prompt.
  2. On your keyboard, type the command lines below and press Enter:
    sfc /scannow

    It may take several minutes for this command operation to be completed.
  3. Close the Command Prompt when this command operation completed.

See if this issue reappears. If this fix works, then you won’t see this error. If not, you may need to replace the file ntdll.dll from trustworthy source.

Fix 8: Replace the file ntdll.dll from trustworthy source

Another fix to deal with the ntdll.dll crash issue is to replace the file ntdll.dll from the original or legitimate source. You can copy the file ntdll.dll from another trustworthy computer running the same version and edition of Windows operating system.

DON’T download ntdll.dll from one of those DLL download sites, because those sites are usually not safe and your PC may be infected with viruses.
  1. On your keyboard, press the Windows Logo key and R at the same time to open the Run dialog. Type cmd and press Enter to open the Command Prompt.

  2. Type the command line systeminfo and press Enter to view your system type.

    Note: “X64-based PC” indicates that your Windows OS is 64-bit; “X86-based PC” means that your Windows OS is 32-bit.

    The location of the file ntdll.dll varies in different system type. If your Windows OS is 64-bit, the file ntdll.dll is located in C:\Windows\SysWOW64; If your Windows OS is 32-bit, the file ntdll.dll is located in C:\Windows\System32.

  3. Based on your system type, copy the file ntdll.dll from another trustworthy computer running the same version and edition of Windows operating system and paste it to your own Windows operating system.
    If your Windows OS is 32-bit, paste the new file ntdll.dll to C:\Windows\System32; if your Windows OS is 64-bit, then paste the new file ntdll.dll to C:\Windows\SysWOW64.
  4. On your keyboard, press the Windows Logo Key and R at the same time to open the Run dialog. Type cmd and then press Ctrl, Shift and Enter on your keyboard at the same time to run the Command Prompt as administrator. You will be prompted for permission. Click Yes to run the Command Prompt.
  5. Type the Command line regsvr32 ntdll.dll and press Enter.

  6. Restart your PC.

See if this issue persists. Normally, this issue will be fixed after you replace the file ntdll.dll from trustworthy source.

Pro tip: Update your drivers

If there are outdated or missing drivers on your PC, it is a good idea to update your drivers to the latest version, since by doing that, you can avoid many computer issues. There are two ways to do it: manually and automatically.

The manual process is time-consuming and risky, so we won’t cover it here. If you’re not comfortable working on computers, it is recommended that you download Driver Easy to update your keyboard driver.

Driver Easy will automatically recognize your system and find the correct drivers for it. You don’t need to know exactly what system your computer is running, you don’t need to risk downloading and installing the wrong driver, and you don’t need to worry about making a mistake when installing.

You can download and install your drivers by using either Free or Pro version of Driver Easy. But with the Pro version it takes only 2 clicks (and you get full support and a 30-day money back guarantee):

  1. Download and install Driver Easy.
  2. Run Driver Easy and click the Scan Now button. Driver Easy will then scan your computer and detect any problem driver.

  3. Click the Update button next to your outdated or missing drivers to automatically download the correct driver for this device, then you can manually install it. You can also click Update All button at the bottom right to automatically update all outdated or missing drivers on your computer (this requires the Pro version — you will be prompted to upgrade when you click on Update All).
    You can do it for free if you like, but it’s partly manual.
If you have any issue with Driver Easy, please contact Driver Easy’s support team at support@drivereasy.com for advice. You should attach the URL of this article so they can help you better.

Hopefully one of the fixes above resolved this issue! If you have any questions and suggestions, please leave us a comment below.

Be the first to like this article