How to fix “VCRUNTIME140.dll was not found” in Windows 11

VCRUNTIME140.dll is part of the Microsoft Visual C++ Redistributable. Fix the error by installing or repairing that package.

You click a game or program and Windows shows this error instead: "The code execution cannot proceed because VCRUNTIME140.dll was not found.".

The runtime is missing, corrupted, or never installed alongside the app. The fix is free and takes about two minutes.

ADVERTISEMENT

WARNING: Do not download standalone .dll files from third-party "DLL downloader" websites. These files are unvetted, often outdated, and frequently contain malware. Always use official Microsoft channels to restore system files.

Solution 1: Install the official Microsoft Visual C++ Redistributable

Install or reinstall the Visual C++ Redistributable from Microsoft. This replaces the missing file.

  1. Go to the official Microsoft Visual C++ Redistributable download page.
  2. Scroll down to the Latest supported redistributable version section.
  3. Download the version that matches the app: for most modern games and programs, use vc_redist.x64.exe. For older 32-bit programs, use vc_redist.x86.exe.

    Tip: Windows 11 runs both 64-bit and 32-bit apps, so install both packages to cover everything.

  4. Open the downloaded installer, check the I agree to the license terms box, and click Install.
  5. Restart your PC once the installation finishes.
Selecting the architecture downloads on the official Microsoft Visual C++ Redistributable page
ADVERTISEMENT

Solution 2: Repair an existing Visual C++ installation

If the runtime is installed but the file is corrupted, you can repair it through Windows Settings.

  1. Right-click the Start button (Windows logo) on the taskbar.
  2. Click Settings.
  3. Click Apps.
  4. Click Installed apps.
  5. Type Visual C++ into the search bar.
  6. Locate the latest version (usually labeled 2015-2022), click the three dots (...) next to it, and select Modify.
  7. Click Repair in the window that opens.
  8. Wait for the repair to finish, then restart your PC.
Clicking the Repair button in the Microsoft Visual C++ installer modification menu
ADVERTISEMENT