TechBuzzPro

Fix msvcp140.dll or vcruntime140.dll Missing Error

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This error means a program you're launching needs the Microsoft Visual C++ Redistributable, but the required runtime files (msvcp140.dll or vcruntime140.dll) are missing, corrupted, or the wrong version. The fix is almost always to install or repair the correct Visual C++ Redistributable package, and this guide walks you through that and related troubleshooting steps.

What You'll Need

  • Administrator access to your Windows PC (to install software and run system tools).
  • An internet connection to download the official Microsoft files.
  • About 10–15 minutes of time.

Step-by-Step

  1. Identify which version of the DLL you need. The error message usually says either msvcp140.dll or vcruntime140.dll. Both come from the same package: the Microsoft Visual C++ 2015–2022 Redistributable. If the error mentions msvcp140_1.dll or vcruntime140_1.dll, you still need the same package.
  2. Download the official Redistributable. Go to Microsoft's official download page for "Visual C++ Redistributable for Visual Studio 2015-2022." Download both the x64 and x86 versions. Even if your Windows is 64-bit, some older programs use the 32-bit (x86) runtime files, so install both to be safe.
  3. Run the installer as administrator. Right-click the downloaded vc_redist.x64.exe file and select "Run as administrator." Accept the license terms and click "Install." Wait for it to finish, then repeat with vc_redist.x86.exe.
  4. Restart your computer. This ensures all system changes take effect and any services that depend on the DLLs load correctly.
  5. Try launching the program again. If it works, you're done. If not, move on to the next steps.
  6. Repair the installation. Open the Control Panel, go to "Programs and Features," find "Microsoft Visual C++ 2015-2022 Redistributable (x64)" in the list, select it, and click "Change." In the dialog that appears, choose "Repair." Do the same for the x86 version if it's listed.
  7. Run Windows System File Checker. Open Command Prompt as administrator (type "cmd" in Start, right-click, and choose "Run as administrator"). Type sfc /scannow and press Enter. This checks for corrupted system files and repairs them. It can take 10–20 minutes.
  8. Check for Windows Updates. Go to Settings > Update & Security > Windows Update and click "Check for updates." Install any pending updates, then restart.
  9. Reinstall the failing program. If the error persists, uninstall the program that shows the error, then reinstall it. This ensures it registers its required DLLs correctly.

Common Mistakes

  • Downloading from unofficial sites. Many third-party sites offer "DLL download" files. These are often outdated, infected with malware, or the wrong version. Always use Microsoft's official installer.
  • Only installing the 64-bit version. Many 32-bit applications require the x86 runtime files. Install both versions to cover all cases.
  • Copying a DLL from another computer. Manually copying the file into the System32 or SysWOW64 folder rarely works because the DLL depends on other components and registry entries that are also missing.
  • Skipping the restart. Some programs check for the DLL at startup, and a restart ensures the system paths are fully refreshed.
  • Assuming the error is from Windows itself. The error usually comes from a specific application (a game, an editor, a design tool). Fixing the runtime files fixes the app, not Windows.

Tips

  • Install all Visual C++ Redistributables. Microsoft has released several versions over the years (2005, 2008, 2010, 2012, 2013, 2015-2022). Older programs may need older packages. Installing all of them is safe and often prevents future errors.
  • Use the official Microsoft link. Search for "Visual C++ Redistributable latest supported downloads" on Microsoft's site. Bookmark it for future use.
  • Check the program's system requirements. Some programs list exactly which runtime version they need. Match that version.
  • Keep Windows updated. Many DLL issues are resolved by cumulative updates that include newer runtime components.

Troubleshooting

If you've installed the Redistributable and the error still appears, try these in order:

  • Check the exact DLL name in the error. If it says msvcp140.dll but you only installed the 2013 version, that's the problem. The 2015-2022 package covers msvcp140.dll and vcruntime140.dll. Older packages won't help.
  • Look in the program's installation folder. Some programs ship their own copy of the DLL in their folder. If you see the DLL there, the error might be about a different missing dependency. Read the full error message for other missing files.
  • Run the program as administrator. Right-click the program's shortcut and select "Run as administrator." Some programs need elevated permissions to load runtime files.
  • Use the DISM tool. If SFC didn't fix things, open Command Prompt as administrator and run DISM /Online /Cleanup-Image /RestoreHealth. This repairs the Windows system image. Restart afterward.
  • Check for a pending reboot. Sometimes the Redistributable installer says it succeeded but needs a reboot to finish. Restart and try again.
  • Uninstall and reinstall the Redistributable completely. In Programs and Features, uninstall both x64 and x86 versions of the 2015-2022 package, restart, then reinstall both fresh.

Frequently Asked Questions

Is it safe to download the DLL from a DLL site?

No. Those sites are not official, and the files can be outdated or contain malware. Always use Microsoft's official Redistributable installer.

Why do I need both x64 and x86 versions?

Some programs are 32-bit even on 64-bit Windows. Those programs load the x86 version of the runtime files. Installing both ensures every program finds what it needs.

Can I just copy the DLL from another computer?

It's not recommended. The DLL depends on other files and registry entries that the Redistributable installs. Copying just the DLL often leads to a different error.

Will this fix the error for all programs?

If the error is caused by missing or corrupted Visual C++ runtime files, yes. If the program has a different issue (like a missing game file), you'll need to address that separately.

How do I know which Redistributable version I have installed?

Open Control Panel > Programs and Features and look for entries starting with "Microsoft Visual C++." The year in the name tells you the version.

Do I need to uninstall the old version before installing the new one?

No. The 2015-2022 package is designed to install alongside older versions. You can have multiple versions installed without conflict.