Windows · Windows 10/11 / Visual C++ Redistributable

Missing VCRUNTIME140.dll or MSVCP140.dll

Error messageThe code execution cannot proceed because VCRUNTIME140.dll was not found.

Why it happens

The application or game depends on the Microsoft Visual C++ 2015-2022 Redistributable runtime libraries, which are missing, outdated, or corrupted on a fresh Windows install.

How to fix it

  1. Install both the 64-bit and 32-bit Visual C++ Redistributables via winget: winget install –id Microsoft.VCRedist.2015+.x64 –exact and winget install –id Microsoft.VCRedist.2015+.x86 –exact
  2. If already installed, open Settings > Apps > Installed apps, find Microsoft Visual C++ 2015-2022 Redistributable, click Modify, and choose Repair
  3. Restart Windows after installing or repairing both x64 and x86 packages
  4. Reinstall the affected game or AI application if it ships a damaged local DLL copy
winget install --id Microsoft.VCRedist.2015+.x64 --exact

Seeing a different message? Paste it into the Error Code Fixer

Related errors

Fixes are reviewed by ComputerTech against current documentation, and software changes fast. If a step differs on your version, tell us. Back up important data before changing drivers, BIOS or system files.