TechBuzzPro

msvcp140 vcruntime140.dll Missing on Windows 11? Fix It

· 7 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Those two DLL errors almost always mean the Microsoft Visual C++ Redistributable that your app depends on is missing, damaged, or was never installed for the right architecture. The fastest fix is to download and install the latest supported Visual C++ Redistributable package from Microsoft, then restart your PC. You do not need to hunt down individual DLL files, and you should not download them from random DLL sites.

What You'll Need

  • A Windows 11 PC with an internet connection.
  • Administrator rights on the account you are signed in with (installing a redistributable prompts for elevation).
  • To know whether your app is 64-bit or 32-bit. Most modern apps are 64-bit, but some older games and utilities are 32-bit and need the x86 package even on a 64-bit PC.
  • The official Microsoft download page for the latest supported Visual C++ Redistributable. Do not use third-party DLL download sites.

Step-by-Step

  1. Close the app that threw the error. If it is a game launcher, close the launcher too. If the error appears at Windows startup, note the app name in the dialog box so you know what you are fixing.
  2. Open the official Microsoft Visual C++ Redistributable download page. Search for "latest supported Visual C++ Redistributable downloads" on Microsoft's site. The page lists two links: one for x64 and one for x86. Menu labels and page layout can differ slightly by region and version, but the two architecture links are always there.
  3. Download both the x64 and x86 installers. The x64 package covers 64-bit apps and games. The x86 package covers 32-bit apps, and some 64-bit apps still load 32-bit helper components. Installing both is the standard fix and does no harm.
  4. Run the x64 installer first. Right-click the downloaded file and choose Run as administrator. Accept the license terms and click Install. If Windows asks for permission, click Yes.
  5. Run the x86 installer next. Same process: right-click, Run as administrator, accept, install.
  6. Restart your PC. A restart lets Windows finish registering the DLLs. Skipping this step is the most common reason people think the fix did not work.
  7. Launch the app that failed. If it opens normally, you are done. If the same error appears, continue to the next step.
  8. Check whether the redistributable is actually installed. Open Settings > Apps > Installed apps and search for "Visual C++". You should see entries for both x64 and x86 versions. If one is missing, run that installer again.
  9. Repair the installation. In Installed apps, click the three-dot menu next to each Visual C++ entry and choose Modify, then Repair. Repeat for both entries. Restart again and retest the app.
  10. Run the System File Checker. Open Start, type cmd, right-click Command Prompt and choose Run as administrator. Type sfc /scannow and press Enter. This checks Windows system files for corruption. It does not replace the Visual C++ redistributable, but it catches related damage. Restart when it finishes.
  11. Reinstall the app that failed. If the DLL error persists only for one specific program, uninstall that program and install the latest version from its official source. Some installers bundle an older or broken redistributable that conflicts with the current one.

Common Mistakes

  • Downloading a single DLL file from a DLL site. This is the biggest mistake. Copying msvcp140.dll or vcruntime140.dll into System32 or the app folder can break other programs, and those files are often outdated or modified. Always install the official redistributable package instead.
  • Installing only the x64 package. If the failing app is 32-bit, the x64 package does nothing for it. Install both architectures.
  • Skipping the restart. The DLLs are registered during installation, and a restart completes the process. Test the app only after rebooting.
  • Ignoring the exact DLL name in the error. msvcp140.dll and vcruntime140.dll are both part of the same Visual C++ 2015-2022 redistributable family. If the error names a different DLL, such as msvcp120.dll or vcruntime110.dll, you need the older Visual C++ package for that version, not the latest one.
  • Running the installer without administrator rights. The install may appear to finish but fail to register the files. Always use Run as administrator.
  • Assuming the error is a virus. It is almost always a missing runtime, not malware. Do not run random "DLL fixer" tools from ads.

Tips

  • Keep the latest Visual C++ Redistributable installed even after the error is fixed. Many apps and games depend on it, and future installs will not prompt you.
  • If you are setting up a new Windows 11 PC, install both the x64 and x86 redistributables before installing games or older software. It prevents this error from appearing later.
  • When a game launcher shows the error, the launcher itself may need the redistributable, not the game. Fix the launcher first, then retest the game.
  • Check Windows Update for pending updates. Some Visual C++ components arrive through update channels, and a pending reboot can leave the system in a half-installed state.
  • If you use a system cleanup tool, make sure it does not remove Visual C++ redistributables. Removing them is a common cause of this error returning.

Troubleshooting

If the error still appears after installing both packages and restarting, work through these checks in order.

  • Confirm the app architecture. Right-click the app's shortcut, choose Properties, and look at the target path. If it points to Program Files (x86), the app is 32-bit and needs the x86 package. If it points to Program Files, it is 64-bit.
  • Look for multiple Visual C++ versions. In Installed apps, you may see several entries for 2015-2022, 2013, 2012, and older. A broken older entry can cause conflicts. Repair each entry, then restart.
  • Check the error text carefully. If it says the DLL is "missing" versus "not designed to run on Windows" or "access is denied", the cause differs. A permissions error may mean the app folder is locked down or antivirus is blocking it. A "not designed" error usually means you installed the wrong architecture.
  • Temporarily disable third-party antivirus. Some security tools quarantine newly installed DLLs. If the error disappears with the antivirus paused, add an exclusion for the app folder and the Visual C++ install location, then re-enable protection.
  • Run the app as administrator once. Right-click the app and choose Run as administrator. If it works, the app may need elevated permissions or its install folder has restrictive permissions. Do not leave it running as administrator permanently unless the vendor requires it.
  • Reinstall the failing app from its official source. If only one program triggers the error, its bundled runtime may be broken. Uninstall it, download the latest installer from the vendor, and install again.
  • Check Windows system health. In an elevated Command Prompt, run DISM /Online /Cleanup-Image /RestoreHealth after sfc /scannow. This repairs the Windows component store, which can affect how redistributables register. Restart when finished.
  • Create a new user account test. If the app works under a different Windows account, the problem is profile-specific, often a corrupted user environment or a bad PATH entry. Fixing the profile is beyond a DLL reinstall; migrating to a new account is the practical route.

Frequently Asked Questions

Is it safe to download msvcp140.dll from a DLL website?

No. Those files are unofficial and often outdated or modified. Install the Microsoft Visual C++ Redistributable instead, which places the correct DLLs in the right locations and registers them.

Do I need both the x64 and x86 Visual C++ packages?

Yes, in most cases. The x64 package covers 64-bit apps, and the x86 package covers 32-bit apps. Installing both prevents the error from returning when you run a different program.

Will installing the redistributable affect other programs?

No. It installs shared runtime libraries that many apps use. It does not change your personal files or settings, and it is the standard Microsoft-supported fix.

Why does the error come back after it was fixed?

Usually because a cleanup tool, a system restore, or an app installer removed or downgraded the redistributable. Reinstall the latest package and check that your cleanup tool is not removing Visual C++ entries.

Does this fix work for older DLL errors like msvcp120.dll?

Not directly. msvcp120.dll belongs to the Visual C++ 2013 redistributable, and vcruntime110.dll belongs to 2012. Install the matching older package for those errors, and keep the latest package for msvcp140.dll and vcruntime140.dll.

Can I just copy the DLL into the app folder?

It sometimes makes the error disappear, but it is not a proper fix. The DLL may be the wrong version, and other dependent files may still be missing. Use the official redistributable installer.