TechBuzzPro

Fix Missing msvcp140.dll File Windows

· 4 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

Fixing a missing msvcp140.dll error in Windows typically involves reinstalling the Microsoft Visual C++ Redistributable package, which includes the required file. This DLL is essential for running many applications, especially games and productivity software, and its absence usually results from a corrupted or uninstalled redistributable. The fix is safe, free, and uses only official Microsoft tools.

What You'll Need

  • Administrator access to your Windows PC
  • An active internet connection
  • Access to Microsoft's official download site
  • Ability to run .exe installers

Step-by-Step

  1. Close any programs currently running, especially those showing the msvcp140.dll error. Right-click the taskbar and select Task Manager, then end tasks for non-essential applications.
  2. Press the Windows key, type "Control Panel", and open it. Navigate to Programs > Programs and Features to view installed software.
  3. Look for entries named "Microsoft Visual C++ 2015-2019 Redistributable" or similar. Note whether you have both x86 (32-bit) and x64 (64-bit) versions. If either is missing, proceed. If both are present, uninstall them both by selecting each, clicking Uninstall, and confirming the action.
  4. Visit the official Microsoft Visual C++ Redistributable download page. This can be found by searching "Microsoft Visual C++ Redistributable" in any search engine and selecting the top result from Microsoft.
  5. Download the latest version of the redistributable package. Ensure you download both the x86 (32-bit) and x64 (64-bit) versions, regardless of your system type. Most applications will use one or the other, and having both prevents future errors.
  6. Locate the downloaded files (usually in the Downloads folder). Right-click each installer (.exe file) and select "Run as administrator". Follow the on-screen prompts to complete installation for both versions.
  7. Restart your computer after both installations finish. This ensures all system changes take effect and DLLs are properly registered.
  8. After rebooting, open the application that previously showed the msvcp140.dll error. It should now launch normally.

Common Mistakes

  • Only installing one version (32-bit or 64-bit): Many users install only the version matching their OS, but 32-bit apps on 64-bit Windows still need the x86 redistributable. Always install both.
  • Downloading DLL files from third-party sites: Websites offering direct DLL downloads often bundle malware. Never download msvcp140.dll alone—always use the official Microsoft redistributable.
  • Skipping the reboot: Some system changes require a restart to finalize. Skipping it may leave the DLL unregistered or inaccessible.
  • Not uninstalling old versions first: Corrupted or outdated redistributables can conflict with new ones. Always remove existing versions before reinstalling.

Tips

  • Keep the Microsoft Visual C++ Redistributable updated. Windows Update sometimes delivers it, but manual checks ensure you have the latest version.
  • If you frequently install software, consider creating a backup folder with both redistributable installers for quick access.
  • Some applications include their own redistributable installer. If an app fails to run, check its installation folder for a "VC_redist" file and run it.
  • Use System File Checker (SFC) if DLL issues persist. Open Command Prompt as administrator and type sfc /scannow. This scans and repairs core Windows files, though it won’t fix app-specific DLLs like msvcp140.dll directly.

Troubleshooting

If the error persists after reinstalling the redistributable:

  • Run the installer again as administrator: Right-click the .exe and choose Run as administrator. Some systems block silent installations without elevated rights.
  • Check for Windows updates: Go to Settings > Update & Security > Windows Update and install any pending updates. Some updates include critical runtime components.
  • Verify the application’s integrity: If the issue is with a game from Steam, right-click the game in your library, select Properties, go to Local Files, and click "Verify Integrity of Game Files". This replaces missing or corrupted files, including dependencies.
  • Check antivirus interference: Temporarily disable your antivirus and reinstall the redistributable. Some security software quarantines installers it deems suspicious. Re-enable it afterward.
  • Test on another user account: Create a new local user account in Windows and log in. Try running the application there. If it works, the issue may be user profile corruption.
  • Perform a clean boot: Use MSConfig to perform a clean boot (System Configuration > Services > Hide all Microsoft services > Disable all, then Startup tab > Open Task Manager > disable all). This rules out software conflicts.

Frequently Asked Questions

What is msvcp140.dll?

It’s a Dynamic Link Library file part of the Microsoft Visual C++ Redistributable package, required to run applications built with Visual Studio 2015 and later.

Is it safe to download msvcp140.dll from DLL sites?

No. Third-party DLL sites often distribute malware. Always install the full Microsoft Visual C++ Redistributable instead.

Do I need both 32-bit and 64-bit versions?

Yes. Even on 64-bit Windows, many apps use the 32-bit runtime. Installing both prevents compatibility issues.

Can I copy msvcp140.dll from another PC?

Not recommended. Even if from a similar system, the file might be the wrong version or lack proper registration. Use the official installer instead.

Why does this keep happening?

Some uninstallers remove shared redistributables incorrectly. Others may stem from aggressive cleanup tools or malware. Avoid third-party registry cleaners.

Does Windows 11 need this fix too?

Yes. Windows 11 still relies on Visual C++ Redistributables. The steps are identical to Windows 10 and earlier.