Usually, errors related to missing a DLL file are software errors. VCRUNTIME140.dll error is one of these errors that occurs due to improper installation of specific software or after updating Windows.
You will often encounter this error when a DLL file or Dynamic Link Library for a specific application is missing or corrupted. That way you can no longer use the software.
In the following, we are going to tell you how to fix the VCRUNTIME140.dll error in Windows 10.
What is error VCRUNTIME140.dll?
It is always best to find out what the problem is before you go for solutions. VCRUNTIME140.dll is an application plugin for the Microsoft C Runtime Library, which can be found in the System32 folder.
In addition, this is a file used by C ++ Redistributable for Visual Studio 2015/2017/2019 and also part of the C ++ file package. Some software adds the VCRUNTIME140.dll file along with the package installer. Therefore, incorrect installation or Windows update can delete or corrupt this file.
There are various reasons why this error is observed. If your computer is infected with malware, then you will probably see this error as well. Many times, DLL files like this are deleted by antivirus and so you will see this error.
Now that we have the information about the VCRUNTIME140.dll error in Windows 10, it’s time to work on fixing it.
1. Re-register the VCRUNTIME140.dll file
One way to fix the VCRUNTIME140.dll error in Windows 10 is to re-register the missing file using the Regsvr32 command in your computer’s Command Prompt (Admin). In this regard, you must take the following steps:
- Go to the Start menu and then search for “Command Prompt”.
- Right-click on the Command Prompt app and then select “Run as Administrator” in the menu that appears.
- By typing the following command and then pressing the “Enter” key, you must remove the file from the registry mode:
4. Then register the DLL file again by typing the following command and pressing the “Enter” key:
5. After executing both commands, you must close the Command Prompt and then run the problematic program.
2. Reinstall Visual C ++ Redistributable
As mentioned earlier, the source of the VCRUNTIME140.dll error in Visual C ++ Redistributable is Visual Studio 2015/2017/2019. So another solution could be to reinstall Visual C ++ Redistributable for Visual Studio 2015/2017/2019.
- Go to the official Microsoft website and then download Visual C ++ Redistributable.
- The following 2 files are displayed: “vc_redist.x64.exe” and “vc_redist.x86.exe”. The former is suitable for 64-bit systems and the latter is also suitable for 32-bit systems. Select one of the files depending on the operating system of your computer.
- Select the file you want and then press the “Next” button in the lower right corner.
- Once the download is complete, open the file, agree to the Microsoft Software License Terms, and then click the “Install” button.
3. Run System File Checker
In Windows 10, there is a tool called System File Checker. This tool is also called SFC Scan and is one of the best solutions to troubleshoot corrupted files and other system files.
- Run the Command Prompt with admin access.
- Type the following command and then press the “Enter” key.
3. Then System File Checker starts checking for errors. If there is a problem in this process, then it will be fixed automatically.
4. Manually replace the VCRUNTIME140.dll file
If certain programs are to blame for the problem with your VCRUNTIME140.dll file, then you can download and manually replace this file in the application path.
- Visit the DLL-Files website and download the VCRUNTIME140.dll file. Here, too, one must be aware of the type of operating system.
- Then a zip file will be downloaded. Extract its content using WinRAR or 7zip.
- Now it is enough to paste the downloaded file “VCRUNTIME140.dll” in the path of the problematic program.
- If you are prompted, you will need to replace the new file with the old one.
5. Update your Windows 10
Another way to fix the VCRUNTIME140.dll error is to update Windows 10 to the latest version. Microsoft is always trying to fix the problems by providing an update for Windows 10. So it is possible that the new Windows update can solve your problem. You can check for updates by going to “Settings -> Update & Security -> Windows Update”.
6. Reinstall the problematic program
If none of the above solutions work for you, then as a last resort, you should reinstall the problematic app.