How to Fix VCRUNTIME140.dll and MSVCP140.dll Was Not Found Errors
VCRUNTIME140.dll or MSVCP140.dll was not found? Both come from Microsoft's free Visual C++ Redistributable.
Reinstalling the program? Do it cleanly. WinZip System Utilities Suite's Uninstall Manager removes programs in one place, and its Uninstall Cleanup scan finds what they leave behind.
Quick Answer
VCRUNTIME140.dll and MSVCP140.dll come with Microsoft's free Visual C++ v14 Redistributable (older installs call it Visual C++ 2015-2022 Redistributable). "Was not found" means the program can't find that runtime. To fix it, install the latest version from Microsoft, both x64 and x86 on 64-bit Windows:
- Open Microsoft's Microsoft Visual C++ Redistributable latest supported downloads page and download vc_redist.x64.exe and vc_redist.x86.exe.
- Run each file, tick I agree to the license terms and conditions and select Install. If the window says Modify Setup, select Repair.
- Restart your PC and open the program again.
- Still missing? Repair or reinstall the program, then install Windows updates.
How you know it worked: the program opens without the message, and Installed apps lists Microsoft Visual C++ v14 Redistributable (x64) and (x86).
If a program or game won't open and Windows says "The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem.", the program can't find Microsoft's Visual C++ runtime. The same goes for MSVCP140.dll, VCRUNTIME140_1.dll and MFC140U.dll. The fix is a free download from Microsoft, not a single DLL file from a download site.
1. What Does "The Code Execution Cannot Proceed" Mean?
It means a file the program needs isn't there, so Windows stopped before the program opened. If the file name ends in 140.dll or 140_1.dll, it belongs to the Microsoft Visual C++ Redistributable, a free Microsoft package of shared files that programs built with Microsoft's C++ tools need. Microsoft says the package must be installed on the PC along with those programs, so start with the package, not the program.
Older programs ask for MSVCR100.dll or MSVCP100.dll instead. Those come from the 2010 package: see How to Fix the MSVCR100.dll Missing Error.
2. What Are VCRUNTIME140.dll and MSVCP140.dll?
Both are Microsoft files from the Visual C++ v14 runtime, used by programs built with Visual Studio 2015 and later. Microsoft updates this one package in place, so one up-to-date install serves all of them. Installed apps lists it as Microsoft Visual C++ v14 Redistributable (x64) or (x86) plus a version number; older installs may still say Microsoft Visual C++ 2015-2022 Redistributable.
What Is VCRUNTIME140.dll?
It's the Visual C++ runtime library. Microsoft says programs that use the normal C and C++ startup and shutdown services need it, and its build tools include it by default.
What Is MSVCP140.dll?
It's the C++ Standard Library. MSVCP140_1.dll, MSVCP140_2.dll, VCRUNTIME140_1.dll, MFC140.dll and MFC140U.dll come in the same package.
Where the files live: on a 64-bit Windows 11 PC we checked, the 64-bit copies were in C:\Windows\System32 and the 32-bit copies in C:\Windows\SysWOW64, even at different versions (14.51 and 14.50), because the x64 and x86 packages are separate installs. That's by design: Microsoft reserves System32 for 64-bit programs on 64-bit Windows.
3. Which Visual C++ Download Do I Need?
Check your Windows first: select Start > Settings > System > About. Under Device specifications, you'll see a line such as 64-bit operating system, x64-based processor.
| Your PC or the message | Install |
|---|---|
| 64-bit operating system, x64-based processor (most PCs) | vc_redist.x64.exe and vc_redist.x86.exe |
| 64-bit operating system, ARM-based processor | vc_redist.x64.exe (it includes the ARM64 files), plus vc_redist.x86.exe for 32-bit programs (section 10) |
| 32-bit operating system | vc_redist.x86.exe only (the x64 one won't install) |
| The message names VCRUNTIME140_1.dll | vc_redist.x64.exe (section 6) |
| MSVCR120.dll or MSVCP120.dll | The Visual Studio 2013 package, on the same Microsoft page |
| MSVCR110.dll or MSVCP110.dll | The Visual Studio 2012 package, on the same Microsoft page |
| MSVCR100.dll or MSVCP100.dll | The 2010 package: see our MSVCR100.dll guide |
| ucrtbase.dll or api-ms-win-crt-….dll | Windows updates and a file repair (section 9) |
Why both on 64-bit Windows? Microsoft says the package must match the program, not just Windows: vc_redist.x86.exe installs the 32-bit files that 32-bit programs use, even on a 64-bit PC. The message doesn't say which kind the program is, so install both.
4. Install the Latest Microsoft Visual C++ Redistributable
- On Microsoft's Microsoft Visual C++ Redistributable latest supported downloads page, under Latest supported redistributable version, download what the table says: vc_redist.x64.exe and vc_redist.x86.exe.
- Close the program that showed the error.
- In your Downloads folder, double-click vc_redist.x64.exe, tick I agree to the license terms and conditions and select Install (and Yes if Windows asks).
- When you see Setup Successful, select Close (or Restart, if offered). Then do the same with vc_redist.x86.exe.
- Restart your PC and open the program again.
If the window says Modify Setup, that version is already installed: select Repair. If it says Setup Failed, a newer version may already be installed, because Microsoft's packages don't install over a newer one. Repair that one instead (section 5), or see section 11.
Expected result: Settings > Apps > Installed apps lists Microsoft Visual C++ v14 Redistributable (x64) and (x86) (or the 2015-2022 names), and the program opens.
5. MSVCP140.dll Still Missing? Repair the Visual C++ Redistributable
If the package is installed but the error continues, its files may be damaged. Repair both packages:
- In search on the taskbar, type Control Panel and select it. Select Programs > Programs and Features.
- Right-click Microsoft Visual C++ v14 Redistributable (x64) (or Microsoft Visual C++ 2015-2022 Redistributable (x64)) and select Change.
- In the Modify Setup window, select Repair, then Yes if Windows asks for permission.
- Do the same for the (x86) entry, then restart your PC.
Expected result: both repairs end with Setup Successful, and the program opens.
6. Fix "VCRUNTIME140_1.dll Was Not Found"
Microsoft's C++ team added this file in Visual Studio 2019 for a newer way of handling program errors, built for 64-bit (x64) programs. So the fix is the x64 package. On the PC we checked, it was only in System32, with no 32-bit copy, so vc_redist.x86.exe alone won't help. Install or repair vc_redist.x64.exe (sections 4 and 5).
Expected result: VCRUNTIME140_1.dll is in C:\Windows\System32, and the program opens.
7. Fix "MFC140U.dll or MFC140.dll Was Not Found"
These are Microsoft Foundation Classes (MFC) files, a library some programs are built with; the "U" version adds Unicode support. They come in the same Visual C++ v14 package. Install or repair both the x64 and x86 packages (sections 4 and 5).
Expected result: the program opens without naming an MFC file.
8. Repair or Reinstall the Program
If the packages are in place and one program still shows the error, that program's own install is the likely problem. Microsoft also suggests checking its maker's instructions.
- Select Start > Settings > Apps > Installed apps. Select More (…) next to the program > Advanced options, then Repair if it's there (Windows 10: Settings > Apps > Apps & features, select the program > Advanced options).
- No Repair? In Control Panel > Programs > Programs and Features, right-click the program and select Repair, or Change and follow the steps.
- Still no luck? Uninstall it (More > Uninstall), restart, and install the latest version from the maker's website.
Expected result: the program installs cleanly and opens. If it won't install, see How to Fix Programs That Won't Install in Windows.
9. Install Windows Updates and Repair Windows Files
Microsoft notes that outdated Windows components can, rarely, cause Visual C++ install problems.
- Select Start > Settings > Windows Update > Check for updates (Windows 10: Settings > Update & Security > Windows Update). Install everything and restart.
- Select Start, type cmd, right-click Command Prompt > Run as administrator.
- Type DISM.exe /Online /Cleanup-image /Restorehealth and press Enter. It can take several minutes.
- Type sfc /scannow and press Enter. Don't close the window before 100%.
- Restart, then install the Visual C++ packages again (section 4).
Expected result: SFC finds no integrity violations, or repairs what it finds. More detail: How to Fix Corrupted System Files with SFC /scannow.
ucrtbase.dll or api-ms-win-crt-runtime-l1-1-0.dll Missing?
These belong to the Universal C Runtime, which the Visual C++ files depend on. Microsoft says it's part of Windows 10 and 11, updated along with Windows, and that Windows always uses its own copy. So the steps above are the fix, not a download. On the PC we checked, ucrtbase.dll was signed by Microsoft Windows and versioned like Windows (10.0), not like Visual C++ (14.x).
10. Programs Built for Windows on Arm (ARM64)
If About shows an ARM-based processor, install vc_redist.x64.exe: Microsoft says it contains both the ARM64 and x64 files, covering native ARM64 programs and the x64 programs Windows 11 runs through emulation. Add vc_redist.x86.exe for 32-bit programs. (Microsoft also lists a separate vc_redist.arm64.exe.) Windows 10 on Arm can't run x64 programs at all: ask the maker for an ARM64 or 32-bit version.
Expected result: the program opens, or its maker confirms which version your PC needs.
11. If the Visual C++ Installer Fails
Microsoft's troubleshooting guide lists these fixes:
- Close other programs and restart: files in use can block the install (error code 32).
- Run it as administrator: right-click the file > Run as administrator (helps with error code 5).
- Install pending Windows updates, restart, then try again.
- Security software: Microsoft says antivirus often blocks the install. Turn real-time protection off only for a package from Microsoft, and back on straight after.
- Other error codes (such as 1603 or 1714): see Microsoft's troubleshooting guide.
Expected result: the installer ends with Setup Successful.
12. Why You Shouldn't Download DLL Files From DLL Websites
Sites offering a single "msvcp140.dll download" rank high in search results, but they're the wrong fix:
- Wrong version or type. Microsoft says the runtime must be at least as new as the tools the program was built with, and must match the program (64-bit or 32-bit). One file also leaves out the rest of the package.
- No updates. Microsoft's package installs and registers all the libraries, and Microsoft can update them through Windows Update. A loose file gets neither.
- Malware risk. Microsoft explains that a malicious DLL placed where a program looks for it runs inside that program, with your permissions.
To check the installer you downloaded (vc_redist.x64.exe or vc_redist.x86.exe), right-click it > Properties > Digital Signatures: the signer should be Microsoft Corporation. If you already copied a DLL from one of these sites, right-click it in File Explorer and select Scan with Microsoft Defender (on Windows 11 you may need Show more options first), then install the package from Microsoft.
Still Seeing "Was Not Found"? What to Try Next
- Windows 7 or 8.1: Microsoft says the latest Visual C++ v14 Redistributable supports only Windows 10 and 11 (and Windows Server 2016 and later). Ask the program's maker which version to use.
- A file name that isn't from Visual C++: it's probably the program's own file. Reinstall it (section 8).
- Nothing helped: contact the program's maker. Microsoft recommends asking the app vendor for instructions when an app needs specific Visual C++ files.
Frequently Asked Questions
How do I fix "The code execution cannot proceed"?
Look at the file name in the message. If it ends in 140.dll or 140_1.dll (VCRUNTIME140.dll, MSVCP140.dll, MFC140U.dll), install the latest Microsoft Visual C++ Redistributable from Microsoft, both x64 and x86 on 64-bit Windows, and restart. For any other file, repair or reinstall the program that shows the message.
What causes DLL files to go missing?
Usually the runtime package was never installed, was removed, or only one of the two versions (x64 or x86) is there. The files can also be damaged, or the install can fail, for example when antivirus software blocks it or Windows needs updates.
Is it safe to download a DLL file from a DLL website?
No. A DLL is program code, and Microsoft explains that a malicious DLL runs inside the program that loads it, with your permissions. A single file can also be the wrong version. Microsoft says to install the Visual C++ Redistributable only from a Microsoft site and only when it's signed by Microsoft.
Do I need both the x86 and x64 Visual C++ Redistributables?
On 64-bit Windows, yes. Microsoft says the package must match the program: 64-bit programs use the x64 package and 32-bit programs use the x86 package, even on a 64-bit PC. Each one installs its own copy of the files, so having one doesn't cover the other. On 32-bit Windows, install only x86.
Can I uninstall Microsoft Visual C++ Redistributables?
You can, but it's best not to: programs that use them stop with this same error. They don't pile up the way it looks. Microsoft updates the v14 package (2015 and later) in place, so there's one per type (x64, x86). Older ones, 2013 and before, stay installed side by side for older programs that need them.
Can WinZip System Utilities Suite fix a missing DLL?
No. It doesn't restore or replace missing DLL files; the fix is Microsoft's free Visual C++ Redistributable, as shown above. It helps with general PC upkeep: its Uninstall Manager removes programs before you reinstall them, and its one-click scan includes Junk Files, Uninstall Cleanup and Driver Updater, which looks for outdated drivers. It isn't antivirus software.
How This Guide Was Checked
- Written by
- WinZip Team, December 2026.
- First published
- December 1, 2026
- Sources reviewed
- Microsoft Learn: Microsoft Visual C++ Redistributable latest supported downloads
- Microsoft Learn: Troubleshoot Visual C++ Redistributable installation problems
- Microsoft Learn: Redistribute Visual C++ files
- Microsoft Learn: Determine which DLLs to redistribute
- Microsoft Learn: Universal CRT deployment
- Microsoft Learn: Lifecycle FAQ - Microsoft C++ Build Tools, Redistributable, and runtime libraries
- Microsoft Learn: File System Redirector
- Microsoft Learn: Dynamic-Link Library Security
- Microsoft C++ Team Blog: Making C++ Exception Handling Smaller on x64 (VCRUNTIME140_1.dll)
- Microsoft Learn: How emulation works on Arm
- Microsoft Support: Find information about your Windows device
- Microsoft Support: Repair apps and programs in Windows
- Microsoft Support: Uninstall or remove apps and programs in Windows
- Microsoft Support: Install Windows Updates
- Microsoft Support: Use the System File Checker tool to repair missing or corrupted system files
- Microsoft Support: Stay protected with the Windows Security app
Speed Up Your PC With WinZip System Utilities Suite
- Clean junk files and free up disk space
- Update outdated drivers
- Speed up startup
- Optimize and defrag your drives