Skip to content

How-ToOS

How to Fix Missing DLL Errors in Windows 11 (VCRUNTIME140, MSVCP140 and More)

Most "DLL was not found" errors in Windows 11 mean a program needs a Microsoft runtime that isn't installed. Install the latest Visual C++ v14 Redistributable (x64 and x86) for VCRUNTIME140 and MSVCP140 errors, older Visual C++ packages for 120, 110 or 100 files, and the DirectX End-User Runtime for d3dx9 or xinput1_3 errors. Then verify game files or run DISM and SFC. Avoid DLL download sites.

By , Systems & Technical Editor

7 min read

How to Fix Missing DLL Errors in Windows 11 (VCRUNTIME140, MSVCP140 and More)

It's based on Microsoft's Visual C++ Redistributable, DirectX End-User Runtime and System File Checker documentation, checked on 26 November 2026.

You double-click a game or app and instead of a splash screen you get a pop-up along the lines of "The code execution cannot proceed because VCRUNTIME140.dll was not found" or "MSVCP140.dll is missing from your computer". It looks alarming, but in most cases nothing is broken: the program simply needs a shared library that isn't installed yet, and Microsoft provides the official installer for it.

The one thing you shouldn't do is search for the DLL name and download a single file from a "free DLL" website. You can't easily tell where those files came from or whether they're the right version or architecture, and copying one file into a system folder rarely fixes the underlying problem anyway. Use the steps below instead.

What a missing DLL error actually means

A DLL (dynamic-link library) is a file of shared code that many programs can use. Rather than every game bundling its own copy, Windows apps often rely on runtime packages that are installed once and shared. If the runtime a program was built against isn't on your PC, or its files are damaged, you get a "not found" or "missing" error when the program starts.

The name of the DLL in the error message tells you which fix you need:

DLL named in the error

What it belongs to

Fix

VCRUNTIME140.dll, VCRUNTIME140_1.dll, MSVCP140.dll, MSVCP140_1.dll, MSVCP140_2.dll

Microsoft Visual C++ v14 Redistributable (Visual Studio 2015 to 2026 era)

Install the latest Visual C++ v14 Redistributable, both x64 and x86

MSVCR120.dll, MSVCP120.dll

Visual C++ 2013 (VC++ 12.0)

Install the Visual Studio 2013 redistributable from the same Microsoft page

MSVCR110.dll, MSVCR100.dll

Visual C++ 2012 or 2010

Install the matching older redistributable from the same Microsoft page

d3dx9_43.dll, d3dx11_43.dll, xinput1_3.dll, XAPOFX1_5.dll

Legacy DirectX SDK components used by older games

Install the DirectX End-User Runtime

A Windows system DLL, or errors in Windows itself

Damaged Windows system files

Run DISM and SFC

A DLL with the game's own name or engine in it

The game's own files

Verify or reinstall the game

The "140", "120" and "110" in those file names match the Visual C++ version numbers (14.0, 12.0 and 11.0) that Microsoft lists for each redistributable, which is a handy way to tell which package a program wants.

Step 1: Install the latest Visual C++ Redistributable

Most modern games and apps that throw a VCRUNTIME140 or MSVCP140 error need the Microsoft Visual C++ v14 Redistributable. Microsoft explains that a Visual C++ Redistributable installs the Microsoft C and C++ runtime libraries, and that many applications built with Microsoft's MSVC build tools need them. The installed redistributable must be at least as recent as the build tools the app was made with, so an old copy can also trigger errors.

  1. Go to Microsoft Learn's Latest supported Visual C++ Redistributable downloads page (linked in the sources below).

  2. Under the Visual C++ v14 section, download the X64 package (vc_redist.x64.exe).

  3. Also download the X86 package (vc_redist.x86.exe). Microsoft says the redistributable architecture must match the app's architecture, and plenty of games and launchers are still 32-bit, so a 64-bit PC often needs both.

  4. Run each installer. If it offers Repair, choose that; otherwise install it. Restart the PC.

  5. Launch the program again.

Microsoft says the latest v14 package is shared by apps built with Visual Studio 2017, 2019, 2022 and 2026, and that it currently supports Windows 10 and 11. It doesn't have separate language versions, and on an Arm-based Windows PC the X64 package also includes the Arm64 files.

If you install the latest v14 redistributable and the error persists, uninstall the Microsoft Visual C++ v14 entries from Settings > Apps > Installed apps, restart, and install the latest x64 and x86 packages again. Microsoft's page also links to a troubleshooting guide for installation problems.

Step 2: Install older Visual C++ versions if the DLL name asks for them

If the error names MSVCR120.dll, MSVCP120.dll, MSVCR110.dll or MSVCR100.dll, the program was built with an older Visual Studio and needs that specific older redistributable. The v14 package doesn't replace those. Microsoft's same download page has sections for Visual Studio 2013 (VC++ 12.0), 2012 (VC++ 11.0), 2010 (VC++ 10.0), 2008 and 2005.

Again, install both x64 and x86 if you're not sure which the program uses. Bear in mind that Microsoft has ended support for older versions; it notes, for example, that support for the Visual C++ 2015 Redistributable ended on 15 October 2025. Install them only when a program you trust actually asks for them.

Step 3: Install the DirectX End-User Runtime for older games

Errors naming files such as d3dx9_43.dll, d3dx10_43.dll, d3dx11_43.dll, xinput1_3.dll or XAudio files are common with games from the DirectX 9, 10 and early DirectX 11 era. Windows 11 already includes DirectX itself, but not these optional extras.

Microsoft's DirectX End-User Runtime Web Installer (dxwebsetup.exe) installs runtime libraries from the legacy DirectX SDK that some games use: D3DX9, D3DX10, D3DX11, XAudio 2.7, XInput 1.3, XACT and Managed DirectX 1.1. Microsoft is clear that it doesn't change the version of DirectX on your PC or modify the DirectX runtime that comes with Windows; it adds side-by-side components used by some older games.

  1. Download dxwebsetup.exe from Microsoft's Download Center (linked below).

  2. Run it and follow the prompts.

  3. Restart and try the game again.

For more help with older titles, including compatibility mode and .NET Framework 3.5, see our guide to running old games on Windows 11.

Step 4: Repair the game's own files

If the missing DLL sits in the game's own folder, often with the game, engine or a middleware name in it, or a redistributable reinstall didn't help, the game's install may be incomplete. Many games also ship their own Visual C++ and DirectX installers in a "redist", "_CommonRedist" or "DirectX" subfolder, which a repair can re-run.

Use your launcher's verify or repair option, such as Steam's Verify integrity of game files. Most major PC launchers have an equivalent, and our step-by-step guide covers them: how to verify game files on PC.

Also check your antivirus quarantine. Security software sometimes removes a game file it considers suspicious, particularly with mods or cracked tools. Restore it only if you're sure the file came from a legitimate source.

Step 5: Repair Windows with DISM and SFC

If errors mention core Windows files, or several different programs suddenly complain about DLLs, Windows' own system files may be damaged. Microsoft recommends running DISM first, then System File Checker:

  1. Search for cmd, right-click Command Prompt and choose Run as administrator.

  2. Run DISM.exe /Online /Cleanup-image /Restorehealth and wait for it to finish. Microsoft says it can take several minutes and uses Windows Update as its repair source by default.

  3. Then run sfc /scannow. Don't close the window until verification reaches 100%. SFC scans protected system files and replaces corrupted ones with a cached copy.

  4. Restart the PC.

If DISM and SFC can't fix things, a repair install that keeps your files and apps is the next step: see how to repair install Windows 11 and keep your files.

When a DLL error could be something worse

A sudden flood of DLL errors across unrelated programs, especially after installing something from an unknown source, can be a sign of malware damaging or replacing files. Run a full scan, and consider a Microsoft Defender Offline scan, which runs before Windows loads. Our pick of free malware scanners covers second-opinion tools.

If the program starts but then crashes, the DLL error isn't the problem any more; work through our games crashing on PC guide instead.

Quick checklist

  • VCRUNTIME140 / MSVCP140: install the latest Visual C++ v14 Redistributable, x64 and x86, then restart.

  • MSVCR120 / MSVCR110 / MSVCR100: install the matching older redistributable from Microsoft's page.

  • d3dx9 / d3dx11 / xinput1_3 / XAudio: run Microsoft's DirectX End-User Runtime Web Installer.

  • Game-specific DLL: verify game files in your launcher and check antivirus quarantine.

  • Windows DLLs or many programs affected: run DISM, then sfc /scannow.

  • Never download single DLL files from third-party DLL sites.

Our verdict

Almost every "DLL was not found" error in Windows 11 is fixed by installing the right Microsoft runtime: the latest Visual C++ v14 Redistributable (both x64 and x86) for VCRUNTIME140 and MSVCP140 errors, an older Visual C++ package if the file name ends in 120, 110 or 100, and the DirectX End-User Runtime for d3dx9, xinput1_3 and XAudio errors in older games. If that doesn't work, verify the game's files, then run DISM and SFC. Avoid DLL download sites entirely; Microsoft's own installers are free and safer.

The bottom line

Almost every "DLL was not found" error in Windows 11 is fixed by installing the right Microsoft runtime: the latest Visual C++ v14 Redistributable (both x64 and x86) for VCRUNTIME140 and MSVCP140 errors, an older Visual C++ package if the file name ends in 120, 110 or 100, and the DirectX End-User Runtime for d3dx9, xinput1_3 and XAudio errors in older games. If that doesn't work, verify the game's files, then run DISM and SFC. Avoid DLL download sites entirely; Microsoft's own installers are free and safer.

Sources

  1. 01Microsoft Learn, Latest supported Visual C++ Redistributable downloads
  2. 02Microsoft Download Center, DirectX End-User Runtime Web Installer
  3. 03Microsoft Support, Use the System File Checker tool to repair missing or corrupted system files

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

DirectX 11 vs DirectX 12 vs Vulkan: Which Should You Pick in Games?

Versus

DirectX 11 vs DirectX 12 vs Vulkan: Which Should You Pick in Games?

DirectX 12 and Vulkan are lower-level graphics APIs designed to cut CPU overhead and scale across more CPU cores, and DirectX 12 unlocks features such as ray tracing and the DirectX 12 Ultimate set. DirectX 11 is older and more driver-managed but remains a useful fallback for older GPUs or when a DX12 mode misbehaves. Vulkan is cross-platform and key on Linux. Start with the game's default.

Callum Reid6 min

inferzero Pushes Intel Arc A770 Past 1,700 Tokens/s in Prompt Processing

News

inferzero Pushes Intel Arc A770 Past 1,700 Tokens/s in Prompt Processing

inferzero, an independent open-source LLM engine for Intel Arc graphics, now reports more than 1,700 tokens per second of prompt processing on an Arc A770 16GB with a 27B model, according to contributor results reported by Joho no Todai. We cover what it is and what the numbers mean.

Eleanor Shaw4 min

Best Ollama Front Ends in 2026: The Best Apps to Use With Ollama

Best Picks

Best Ollama Front Ends in 2026: The Best Apps to Use With Ollama

The best free front ends to use with Ollama in 2026: Ollama's own app for beginners, Open WebUI as the best overall, Page Assist for your browser, AnythingLLM for documents and VS Code with the Ollama extension for coding, based on official documentation.

Hannah Vance5 min