Fix Microsoft Visual C++ DLL Files Missing
In this article
- What Are Visual C++ Redistributables?
- Why Do These Errors Happen?
- Step 1: Identify Which DLL Is Missing
- Step 2: Download and Install the Correct Redistributable
- Step 3: Use Windows System File Checker (SFC)
- Step 4: Check for Windows Updates
- Step 5: Reinstall the Problematic Application
- Frequently Asked Questions
If you see a "DLL file missing" error tied to Microsoft Visual C++, the fix is almost always to reinstall the correct Microsoft Visual C++ Redistributable package for your version of Windows and your program's architecture (32-bit or 64-bit). This article explains why these errors happen, how to identify the exact package you need, and step-by-step methods to resolve the issue permanently.
What Are Visual C++ Redistributables?
Microsoft Visual C++ Redistributable packages are runtime libraries that many Windows applications need to run. When a developer writes a program in C or C++ using Microsoft's Visual Studio, the program often relies on shared DLL files (like msvcp140.dll, vcruntime140.dll, or msvcr120.dll) that are not part of Windows itself. Instead, these DLLs are installed separately via the redistributable packages.
Each version of Visual Studio (2010, 2013, 2015-2022, etc.) has its own set of runtime files. A program built with Visual Studio 2015 expects the 2015-2022 redistributable, while an older program might need the 2008 or 2010 version. If the required package is missing, corrupted, or the wrong architecture (e.g., 32-bit vs. 64-bit), Windows will display an error like "The program can't start because msvcp140.dll is missing from your computer."
Why Do These Errors Happen?
There are several common causes for missing Visual C++ DLL errors:
- Clean Windows installation: A fresh install of Windows does not include all redistributables by default.
- Uninstalling a program: Some uninstallers remove shared runtime files that other programs still need.
- Corrupted or incomplete installation: A failed Windows update or a partial install of a redistributable can leave broken DLLs.
- Malware or system file corruption: Viruses or disk errors can delete or damage DLL files.
- Wrong architecture: A 64-bit program needs the 64-bit redistributable; a 32-bit program needs the 32-bit one. Installing only the 64-bit version won't fix a 32-bit app's error.
Step 1: Identify Which DLL Is Missing
The error message will name a specific DLL file, such as msvcp140.dll, vcruntime140.dll, msvcr120.dll, or msvcp100.dll. Write down the exact filename. This tells you which Visual C++ version you need:
- msvcp140.dll / vcruntime140.dll → Visual C++ 2015-2022 Redistributable
- msvcp120.dll / msvcr120.dll → Visual C++ 2013 Redistributable
- msvcp110.dll / msvcr110.dll → Visual C++ 2012 Redistributable
- msvcp100.dll / msvcr100.dll → Visual C++ 2010 Redistributable
- msvcp90.dll / msvcr90.dll → Visual C++ 2008 Redistributable
If the error doesn't specify a version, check the program's installation folder or its documentation. Many games and applications list required runtimes in their readme files.
Step 2: Download and Install the Correct Redistributable
Microsoft provides official download pages for all Visual C++ Redistributables. Do not download DLL files from third-party sites—these are often outdated or infected. Instead, follow these steps:
- Go to Microsoft's official download center (search for "Microsoft Visual C++ Redistributable latest supported downloads").
- Identify the version you need based on the DLL filename from Step 1.
- Download both the x86 (32-bit) and x64 (64-bit) versions if you are unsure which one your program uses. Many programs are 32-bit even on 64-bit Windows, so installing both covers all bases.
- Run each installer as administrator (right-click → Run as administrator).
- Restart your computer after installation.
For Visual C++ 2015-2022, Microsoft uses a single unified package that covers all versions from 2015 through 2022. Installing this one package replaces older 2015, 2017, and 2019 versions.
Step 3: Use Windows System File Checker (SFC)
If reinstalling the redistributable doesn't fix the issue, run the System File Checker to repair corrupted system files:
- Open Command Prompt as administrator (search for "cmd", right-click, and select "Run as administrator").
- Type
sfc /scannowand press Enter. - Wait for the scan to complete (this can take 15-30 minutes).
- If it finds and fixes errors, restart your computer.
You can also run the Deployment Imaging Service and Management Tool (DISM) first if SFC fails: DISM /Online /Cleanup-Image /RestoreHealth.
Step 4: Check for Windows Updates
Outdated Windows systems may lack required updates for Visual C++ runtimes. Go to Settings → Update & Security → Windows Update and install all pending updates. This is especially important on Windows 10 and 11, as some updates include fixes for runtime components.
Step 5: Reinstall the Problematic Application
If the error persists, the application itself may be corrupted. Uninstall the program completely, then reinstall it. When you reinstall, the installer should automatically install any required Visual C++ redistributables. Always download the installer from the official source—never from random websites.
Frequently Asked Questions
Is it safe to download DLL files from DLL sites?
No. Third-party DLL download sites are risky because they often host outdated, modified, or malware-infected files. Always use Microsoft's official redistributable packages instead. If you're missing a DLL, it's always part of a redistributable, so you never need to download the DLL alone.
Why do I have multiple Visual C++ Redistributables installed?
Different programs were compiled with different versions of Visual Studio, and each version requires its own runtime. It's normal and expected to have several versions installed side by side—for example, 2010, 2013, and 2015-2022. Do not uninstall older ones unless you are certain no installed program needs them.
Should I install both x86 and x64 versions?
Yes, install both. Many 64-bit programs still use 32-bit components, and some 32-bit programs run on 64-bit Windows. Installing both ensures compatibility with all applications. Microsoft's latest 2015-2022 package includes both architectures in one installer, but for older versions you need to download each separately.
Can I fix the error by copying the DLL from another computer?
Copying DLL files manually is not recommended. The DLL must be registered in the Windows registry, and the correct version must match the program's requirements. It's much safer to install the full redistributable package, which handles registration and dependencies automatically.
Why does the error still appear after installing the redistributable?
First, restart your computer—some DLLs are only loaded after a reboot. If the error persists, check if you installed the correct architecture (x86 vs. x64). Also, verify that the program itself is not corrupted; try reinstalling it. If it's a game, update your graphics drivers and DirectX, as some games require those as well.
What if the error is from a 32-bit program on 64-bit Windows?
Install the 32-bit (x86) version of the required redistributable. The error message will often specify the DLL path, which might be in SysWOW64 (for 32-bit DLLs) or System32 (for 64-bit DLLs). If the DLL is in SysWOW64, you need the x86 package.