All You Need to learn About MSVCP140.dll Error and How to Fix It

Sometimes when you try to launch a program or application, an error message appears on your screen. The msvcp140.dll is missing error is a frequent issue, and it can occur when the file is missing or when it is present but corrupt. But, there are ways that will help you to fix this issue.

All You Need to learn About MSVCP140.dll Error and How to Fix It
Photo by Windows on Unsplash

What is this error?

It is a Microsoft-created Windows DLL file. This file can be found in the C:WindowsSystem32 directory. It also goes by the name Microsoft C Runtime Library and is a component of the Microsoft Visual C++ Redistributable Packages for Visual Studio® 2015. It is necessary to run the applications made with Visual C++, despite not being an essential system file.

Ways To Fix This Error?

1. Reinstall The Application

When this error occurs, you will get a message with the advice to try reinstalling the program.

  • Click Start, choose Settings and then choose Apps from the menu tiles.
  • Now, click on the application causing the error and then uninstall. 
  • You need to restart the computer after the uninstalling process is finished.
  • Reinstall the application after that by getting it from a reliable store or source.

2. Install The File Again

  • The first step to take if the msvcp140.dll file is missing from your computer is to download and install it. You must, however, find the right file for your system. Therefore, always verify whether it is 64 or 32 bits, and don't forget to verify the language it is written in. Also, always download the latest version.
  • Now, the next step is to run the application.
  • In the search box, enter “msvcp140.dll” and search for the DLL file. After that, click on the file and then install. 
  • Check to see if the dll file missing issue has been resolved after installation.

3. Reinstall the Microsoft Visual C ++ Redistributable Package

The Visual C++ Redistributable for Visual Studio 2015 Package contains the dll file. When you install Windows, it also gets automatically installed, but if a file is damaged, you will see an error. But reinstalling the Microsoft Visual C ++ Redistributable Package would quickly fix this issue.

  • Go to the Microsoft Visual C++ 2015 Redistributable download page, select the appropriate language, and click the download button.
  • Select the correct file for your system and click the Next button.
  • Once the program has been downloaded, click on it and follow the prompts that show on the screen.
  • Restart your computer after the installation, then activate the software again.

4. Run The SFC Scan

Since a corrupt file causes the error, the SFC scan can help resolve the error. This tool scans your computer files for damage and repairs them when you run it.

  • Click on start, and in the search box, enter "cmd." 
  • You must perform the scan as an administrator, so click Run as Administrator on the right.
  • You will see a window; insert "SFC /scannow" and press "Enter."
  • Close the Command Prompt after the scan is finished, then restart your computer.

5. Run A Virus Scan

A virus may be causing this issue by blocking the dll file from being recognized. Therefore, running a virus check on your Windows PC is crucial. The scan will take some time to complete, but after it is done, you will know whether a virus is there or not. 

Also, you can use your antivirus software for this. If malware has been found, repair it by following the directions given by the antivirus software. Restart your computer after that, and then try launching your program once more to check if it runs.


This error might happen for various reasons, including the presence of a virus, a misplaced file, an issue with the application, etc. however, following the steps mentioned-above will help you resolve the issue.