How to Fix “MSVCP140.dll Missing” Error in Windows — Step-by-Step

Resolve MSVCP140.dll Not Found: Download, Repair, and Prevent Reoccurrence

What the error means

MSVCP140.dll is a Microsoft Visual C++ Redistributable runtime library (part of Visual Studio 2015–2019/2022 runtimes). When an application requires that DLL and Windows can’t find it, apps fail to launch and show “MSVCP140.dll not found” or “MSVCP140.dll is missing.”

Quick safety note

Do not download individual DLL files from random third-party sites — those files can be outdated, incompatible, or carry malware. Use Microsoft installers or Windows built-in repair methods.

Step-by-step fix (recommended order)

  1. Restart your PC.
  2. Reinstall Microsoft Visual C++ Redistributable (recommended):
    • Download the latest supported Visual C++ Redistributable for Visual Studio 2015–2022 from Microsoft’s website.
    • Run the installer(s): install both the x86 and x64 versions (even on 64-bit systems) if you run 32-bit apps.
    • Reboot and try the app again.
  3. Repair the installed redistributable:
    • Open Settings → Apps (or Control Panel → Programs and Features).
    • Find “Microsoft Visual C++ 2015–2022 Redistributable” (or similar), choose Modify → Repair.
    • Restart if prompted.
  4. Run System File Checker and DISM: (fixes corrupted system files)
    • Open Command Prompt as administrator and run:

      Code

      sfc /scannow
    • If problems persist, run:

      Code

      DISM /Online /Cleanup-Image /RestoreHealth
    • Reboot after completion.
  5. Reinstall the affected application:
    • Uninstall, then reinstall the app that’s failing — the app’s installer may include or trigger required runtimes.
  6. Check for Windows Updates:
    • Install all pending updates; some runtime components are distributed via Windows Update.
  7. Antivirus and Quarantine:
    • If the DLL was removed by antivirus, check quarantine/logs and restore if safe, then re-run the redistributable installer to ensure integrity.
  8. Avoid direct DLL downloads:
    • Only use Microsoft-provided redistributables or the software vendor’s guidance.

Prevent reoccurrence

  • Keep Windows updated.
  • Install official Visual C++ redistributables when an app requests them.
  • Use reputable antivirus and monitor its quarantine.
  • Create periodic system restore points or full backups before major installs/updates.

When to seek more help

  • If reinstalling redistributables and SFC/DISM don’t help, there may be deeper corruption or incompatible software. Provide the exact error message, Windows version, and the app exhibiting the error when asking for further assistance.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *