How to Fix ‘VCRUNTIME140.dll Was Not Found’ in Windows 11

Launching desktop games, development environments (Python, PHP), creative suites (Adobe, Blender), or web servers (WampServer, XAMPP) in Windows 11 only for execution to halt with an alert stating “The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem” is an iconic runtime stumbling block.

The VCRUNTIME140.dll dynamic link library is an integral component of the Microsoft Visual C++ 2015–2022 Redistributable. Applications compiled using Microsoft Visual Studio rely on this shared library to execute standard C and C++ runtime routines. When this binary is missing, corrupted, or installed in the wrong architecture (x86 vs x64), dependent software cannot start.

Failure Point Technical Root Cause Direct Remediation
Missing C++ Redistributable Workstation lacks Microsoft Visual C++ 2015-2022 runtime packages Install both x86 and x64 packages from official Microsoft source
Architecture Mismatch 32-bit application launched on 64-bit Windows without x86 redistributable Install 32-bit (vcredist_x86.exe) package alongside 64-bit
Corrupted System DLL Existing DLL damaged by malware or unclean uninstallation Perform Repair installation via Windows Settings
Operating System File Corruption Windows Component Store manifest records broken Run DISM /Online /RestoreHealth and sfc /scannow

Method 1: Download and Install Microsoft Visual C++ Redistributable (Official)

The single most effective and secure resolution is installing the official unified runtime package directly from Microsoft. Never download individual DLL files from third-party “DLL download” websites, as they often contain malware or mismatched compilation versions.

  1. Open your web browser and navigate to the official Microsoft Visual C++ download page:
    https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist
  2. Scroll down to the Visual Studio 2015, 2017, 2019, and 2022 section.
  3. Download both of the following installers:
    • X64: vc_redist.x64.exe (for 64-bit applications).
    • X86: vc_redist.x86.exe (for 32-bit applications—essential even on 64-bit Windows).
  4. Run vc_redist.x64.exe, agree to the license terms, and click Install.
  5. Run vc_redist.x86.exe, agree to the terms, and click Install.
  6. Restart your computer and launch the problematic software.

Method 2: Repair Existing Visual C++ Installations

If the redistributables are already listed in Windows Settings but have developed damaged file headers, executing an integrated repair pass reconstructs the binary payload.

  1. Press Windows Key + I to open Settings.
  2. Navigate to Apps > Installed apps.
  3. In the search box, type Visual C++.
  4. Locate Microsoft Visual C++ 2015-2022 Redistributable.
  5. Click the three dots next to the entry and select Modify.
  6. In the setup dialog that appears, click the Repair button.
  7. Repeat this repair process for both the (x64) and (x86) versions.
  8. Reboot Windows 11.

Method 3: Run System File Checker (SFC) and DISM

If the error persists despite installing the redistributable packages, core operating system links between C:\Windows\System32 and C:\Windows\SysWOW64 may be damaged.

  1. Press Windows Key + S, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Execute the DISM servicing tool:
    DISM /Online /Cleanup-Image /RestoreHealth
  3. Wait for verification to complete at 100%.
  4. Next, execute System File Checker:
    sfc /scannow
  5. Once SFC finishes and confirms corrupted files have been repaired, restart your computer.

Method 4: Reinstall the Problematic Application

Many programs ship with proprietary copies of VCRUNTIME140.dll placed directly in their installation root folder. A corrupted local copy overrides the system-wide package in System32.

  1. Open Settings > Apps > Installed apps.
  2. Locate the failing software and click Uninstall.
  3. Restart your computer.
  4. Download the latest installer directly from the developer’s official website and reinstall the program.

Understanding Why Both x86 and x64 Are Required

Windows 11 runs exclusively on 64-bit hardware, but millions of legacy desktop tools, game launchers, and utilities remain 32-bit executables. 32-bit programs look strictly for 32-bit DLLs in C:\Windows\SysWOW64. If you only install the 64-bit redistributable, 32-bit applications will continue throwing the “VCRUNTIME140.dll was not found” error. Installing both packages guarantees comprehensive compatibility.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.