/
/

How to Fix the ‘vcruntime140.dll Not Found’ Error in Windows 11

by Lauren Ballejos, IT Editorial Expert
An image of a system error window for the blog Understanding and Resolving the 'vcruntime140.dll not found' Error in Windows

Instant Summary

This NinjaOne blog post offers a comprehensive basic CMD commands list and deep dive into Windows commands with over 70 essential cmd commands for both beginners and advanced users. It explains practical command prompt commands for file management, directory navigation, network troubleshooting, disk operations, and automation with real examples to improve productivity. Whether you’re learning foundational cmd commands or mastering advanced Windows CLI tools, this guide helps you use the Command Prompt more effectively.

Key Points

  • The “vcruntime 140 DLL not found” or “vcruntime140.dll was not found” error occurs when Windows cannot locate required Microsoft Visual C++ runtime files.
  • The safest fix is reinstalling the official Microsoft Visual C++ 2015–2022 Redistributable package.
  • Run SFC (sfc /scannow) and DISM (DISM /Online /Cleanup-Image /RestoreHealth) to repair corrupted system files.
  • Common variations include “vcruntime140.dll missing,” “vcruntime140d.dll was not found,” and other vcruntime140.dll error messages.
  • IT administrators can prevent recurring issues through centralized patch management and Redistributable deployment.

You might have encountered various errors while using your Windows device. One error that can be frustrating is the “vcruntime 140 DLL not found” or “vcruntime140.dll was not found error, which usually appears when you try to open a program or game that relies on the vcruntime140.dll file.

DLL files and DLL errors in Windows

DLL stands for Dynamic Link Library, which contains code and data that multiple programs can use simultaneously. DLL files have a specific role in the Windows operating system, making programs more efficient and reducing redundancy by allowing programs to share resources. 

Some program executables need certain DLLs to run. If there’s an issue with the required DLL file, you’ll see an error message like the “vcruntime140.dll not found” error. 

Take a look at the video tutorial on Understanding and Resolving the ‘vcruntime140.dll not found’ Error in Windows.

🛑 Tackling DLL errors across multiple endpoints can be a daunting task.

Simplify your workload and ensure smooth operations with NinjaOne’s Endpoint Management solution

What is vcruntime140.dll?

The vcruntime140.dll file is part of the Microsoft Visual C++ Redistributable package, a compiler program that installs Microsoft C and C++ (MSVC) runtime libraries.

As of 2026, Microsoft distributes this file through the Microsoft Visual C++ 2015–2022 Redistributable packages, which many Windows applications and games rely on.

The Redistributable package contains essential functions that many Windows applications and games rely on to run correctly. Your system must have the package installed before you install apps that use these libraries. 

Why is vcruntime140.dll not working?

A “vcruntime140.dll not found” error means that Windows can’t access the DLL file for one of several possible reasons. Some common causes for this error include:

  • Missing or corrupted file: The vcruntime140.dll file may be missing or corrupted, preventing programs from accessing it.
  • Incorrect installation: If the Visual C++ Redistributable package is not installed correctly, it can lead to issues with the vcruntime140.dll file being unavailable or unusable
  • Out-of-date Windows or Redistributable package: If your Windows operating system or the Visual C++ Redistributable package isn’t up to date, it can cause compatibility issues with the vcruntime140.dll file.
  • Windows registry problems: Invalid or incorrect registry entries can cause errors.

How to Fix the “vcruntime140.dll not found” Error in Windows 11

Now that you know about the vcruntime140.dll file, you may wonder: How do I fix a missing DLL file?

Here’s a quick rundown:

Quick Fix Summary

  1. Reinstall Microsoft Visual C++ 2015–2022 Redistributable
  2. Run sfc /scannow
  3. Run DISM /Online /Cleanup-Image /RestoreHealth
  4. Install Windows updates
  5. Restart your system

For a more in-depth fix, take a look at these five methods to resolve the “vcruntime140 is missing” error and other DLL file issues on your Windows 11 system.

MethodWhat It FixesBest ForEnterprise Scalable?
Reinstall Microsoft Visual C++ 2015–2022 RedistributableMissing or corrupted runtime filesMost cases of vcruntime140.dll missing or vcruntime140.dll was not found✅ Yes (deploy via RMM, Intune, GPO)
Run SFC (sfc /scannow)Corrupted system filesGeneral Windows file corruption⚠️ Limited (scriptable but endpoint-based)
Run DISM (DISM /RestoreHealth)Windows image corruptionPersistent or recurring DLL errors⚠️ Scriptable via remote PowerShell
Install Windows UpdatesCompatibility or outdated system filesSystems behind on patches✅ Yes (via patch management tools)
Register DLL with regsvr32COM registration issuesRare edge cases (not typical for vcruntime140.dll)❌ No
Manual “vcruntime140.dll download” from third-party siteNothing reliablyRisky workaround attempts❌ No
Reinstall Affected ApplicationApp-specific corruptionSingle application failing⚠️ Limited
Centralized Redistributable Deployment (IT Admin)Multiple endpoint failuresEnterprise environments✅ Yes

Method 1: Using System File Checker (SFC) Scan

The System File Checker scan is a built-in Windows utility. The SFC scan helps you scan and restore corrupted system files in Windows 11. Follow these steps to perform an SFC scan and fix the “vcruntime140.dll not found” error:

  • Press the Windows key on your keyboard and type “Command Prompt.”
  • Right-click on Command Prompt and select “Run as administrator.”
  • In the Command Prompt window, type the following command: sfc /scannow
  • Press Enter and wait for the scan to finish.

Running the SFC scan automatically repairs any corrupted Windows system files, including the vcruntime140.dll file.

Method 2: Reinstalling Visual C++ Redistributable

Another way to resolve vcruntime140.dll issues is to reinstall the Microsoft Visual C++ Redistributable package. Here’s how you can do it:

  • Open your web browser and search for “Microsoft Visual C++ Redistributable download” on the official Microsoft website.
  • Choose and download the latest version of the Visual C++ Redistributable package that matches your system architecture (32-bit or 64-bit).
  • Once the download is complete, run the installer and follow the on-screen instructions to reinstall the package.
  • When the installation is finished, restart your computer and check if the “vcruntime140.dll not found” error is resolved.

Method 3: Manually Registering the vcruntime140.dll File

⚠️ Important: This method typically does not apply to vcruntime140.dll, but is sometimes recommended for other DLL-related issues.

If the vcruntime140.dll file is present on your system but not registered correctly, manually registering the file may fix the error. Follow these steps to register the file:

  • Press the Windows key and type “Command Prompt.”
  • Right-click on Command Prompt and select “Run as administrator.”
  • In the Command Prompt window, type the following command: regsvr32 vcruntime140.dll
  • Press Enter, wait for the process to finish, then verify that you see a confirmation message indicating that the file was registered successfully.
  • Restart your computer and check if the error is resolved.

Method 4: Running a DISM Scan

Deployment Image Servicing and Management (DISM) is another Windows utility that can help fix corrupted system files. To run a DISM scan and resolve the “vcruntime140.dll not found” error, follow these steps:

  • Select the Windows key and type “Command Prompt.”
  • Right-click on Command Prompt and select “Run as administrator.”
  • Type the following command: DISM /Online /Cleanup-Image /RestoreHealth
  • Press Enter and wait for the scan to complete. DISM will check for system corruption and automatically repair any issues it finds.
  • After the scan, restart your computer and check if the error is resolved.

Method 5: Updating Windows

An outdated Windows operating system can have several issues, including compatibility issues with DLL files. Resolve the “vcruntime140.dll not found” error and ensure your system is up to date by following these steps:

  • Press the Windows key and open the Settings app.
  • Go to “Update & Security” and select “Windows Update” from the left sidebar.
  • Click on the “Check for updates” button and wait for Windows to check for available updates.
  • If any updates are found, click on “Install” to download and install them.
  • Once you’ve installed the updates, restart your computer and check if the error is resolved.

💡Note: In Windows 11, the path is Settings → Windows Update.

Preventative measures to avoid ‘vcruntime140.dll not found’ error in the future

There are several measures you can take to prevent the “vcruntime140.dll not found” error and other system issues in the future:

  • Keep your system current by regularly checking for updates to your Windows operating system and the Microsoft Visual C++ Redistributable package. This ensures you have the latest vcruntime140.dll download installed for compatibility and to fix any known issues.
  • Use reputable software sources when installing new programs or games. Download apps from trusted sources to minimize the risk of corrupt or missing DLL files.
  • Perform regular system maintenance. Run system scans such as the SFC scan and DISM scan to identify and fix any system file issues before they cause errors.

Automated patch management tools like NinjaOne ensure Windows systems stay updated and protected from errors like missing DLL files.

Schedule your 14-day free trial of the #1 patch management.

How to fix a missing DLL error

If you’re developing applications that use Microsoft C or C++ tools, or running applications built on them, you need the Microsoft Visual C++ Redistributable package. The vcruntime140.dll file is part of the Redistributable package and can have issues if the file gets corrupted or deleted. 

Wondering how to fix a missing DLL error? System errors can be frustrating, but you can repair them by referring to the instructions above on how to fix the “vcruntime140 is missing” error on your Windows 11 system. Follow the steps carefully and perform the necessary scans and reinstalls to ensure a smooth resolution.

By taking preventative measures and keeping your system up to date, you can reduce the chances of encountering similar DLL errors in the future.

FAQs

The vcruntime140.dll file is part of the Microsoft Visual C++ Redistributable package. It contains runtime components required by many Windows applications and games developed with Microsoft C and C++ tools.

This error usually appears when the DLL file is missing, corrupted, or not properly registered due to:

  • Incomplete or incorrect Visual C++ Redistributable installation
  • Outdated or missing Windows updates
  • Corrupted system files
  • Rarely, registry issues or malware infections

Reinstall the Microsoft Visual C++ 2015–2022 Redistributable package and run SFC and DISM scans.

No. Downloading DLL files from third-party sites is unsafe and may introduce malware. Always repair or reinstall the official Visual C++ Redistributable package from Microsoft instead.

Yes. Different applications rely on different versions. Do not uninstall older versions unless confirmed unnecessary.

Yes. By ensuring Windows updates and Redistributable packages are installed on schedule, automated patch management tools reduce the risk of DLL errors across multiple endpoints.

You might also like

Ready to simplify the hardest parts of IT?