vcruntime140.dll Missing? How to Fix It on Windows
In this article
The fastest fix for a missing vcruntime140.dll error is to install the official Microsoft Visual C++ Redistributable package that contains the file, then restart your PC. vcruntime140.dll is a runtime library used by many programs built with Visual Studio, so it is not part of Windows itself and must be installed by the app or by you. Do not download the DLL from a random DLL site; use Microsoft's official download.
What You'll Need
- A Windows PC with internet access.
- Administrator rights to install software.
- The name of the app that shows the error, so you can match the right redistributable version (x86 or x64).
- Optional: a restore point if you plan to uninstall recent updates or run system repairs.
Step-by-Step
- Identify the app's architecture. Most modern apps are 64-bit, but some older or lightweight apps are 32-bit. If you are unsure, install both the x86 and x64 redistributables; they can coexist safely. You can check an EXE by opening Task Manager, going to the Details tab, right-clicking the app while it runs, and choosing Properties; the file location often hints at Program Files (64-bit) versus Program Files (x86) (32-bit).
- Download the official Visual C++ Redistributable. Go to Microsoft's official download page for Visual C++ Redistributable packages. Search for "Microsoft Visual C++ Redistributable latest supported downloads" and open the Microsoft Learn page. Download the x86 and x64 installers for the latest supported version. The file name usually starts with VC_redist. Avoid third-party DLL sites.
- Install the package. Run the downloaded VC_redist.x64.exe and VC_redist.x86.exe one at a time. Accept the license, click Install, and allow the installer to finish. If an installer says a newer version is already installed, that is fine; close it and move on.
- Restart your PC. A restart ensures the new runtime files are registered and any pending file replacements complete. After restarting, launch the app that showed the error.
- If the error persists, repair the redistributable. Open Settings > Apps > Installed apps (or Apps & features on older Windows). Find Microsoft Visual C++ Redistributable entries, select the relevant one, and choose Modify > Repair. Repeat for both x86 and x64 entries if present. Restart again.
- Run the System File Checker. Open Start, type cmd, right-click Command Prompt, and choose Run as administrator. Type
sfc /scannowand press Enter. This scans Windows system files for corruption. It will not restore vcruntime140.dll if the file was never part of Windows, but it can fix related system issues. Restart when it finishes. - Reinstall the affected app. If only one app fails, uninstall it and reinstall the latest version from the official source. Many installers bundle the correct Visual C++ runtime, which can resolve version mismatches.
Menu labels can differ slightly by Windows version, device, or region. The steps above apply to Windows 10 and Windows 11; on older versions, Apps & features is under Control Panel > Programs.
Common Mistakes
- Downloading the DLL from a DLL aggregator site. These files are often outdated, modified, or bundled with unwanted software. Always use Microsoft's redistributable installer.
- Installing only the x64 version. A 32-bit app still needs the x86 runtime. Install both to cover all apps.
- Placing the DLL in the app folder manually. This can create version conflicts and does not register the runtime properly. Use the installer.
- Skipping the restart. Some installers require a reboot to complete file registration. Without it, the error can persist.
- Ignoring the exact error text. If the message names a different DLL (for example, msvcp140.dll), the same redistributable usually covers it, but confirm the file name before acting.
Tips
- Keep Windows Update enabled; Microsoft sometimes delivers runtime updates through it, though the redistributable is still the primary source.
- If you use multiple apps that rely on Visual C++, install the latest redistributable once and let it service all of them.
- Before uninstalling anything, create a restore point so you can roll back if an app stops working.
- Check the app's official download page first; many vendors provide a combined installer that includes the required runtime.
- Use the 64-bit installer on 64-bit Windows unless you specifically need 32-bit support; installing both is harmless.
Troubleshooting
If the error continues after installing the redistributable, work through these checks in order.
- Confirm the installation succeeded. Open Settings > Apps > Installed apps and look for Microsoft Visual C++ Redistributable entries. If none appear, the installer may have been blocked. Run it again as administrator.
- Check for pending Windows updates. Go to Settings > Windows Update and install any updates, then restart. Some system components rely on updated servicing stacks.
- Run the DISM tool. In an elevated Command Prompt, type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. This repairs the Windows component store, which can affect runtime installation. Restart afterward. - Try a clean boot. Open Start, type msconfig, and open System Configuration. On the Services tab, check Hide all Microsoft services, then click Disable all. On the Startup tab, open Task Manager and disable startup items. Restart and test the app. If it works, re-enable items one by one to find the conflict. Re-enable everything when done.
- Check the app's bitness again. If you installed only x64 and the app is 32-bit, install x86. You can verify by opening the app's folder; 32-bit apps typically install under Program Files (x86).
- Reinstall the app after the runtime. Uninstall the affected app, reinstall the redistributable, then reinstall the app. This order ensures the runtime is present before the app checks for it.
If none of these steps work, the issue may be specific to the app's installer or a corrupted user profile. Create a new local administrator account and test the app there; if it works, migrate your files to the new profile. As a last resort, back up your data and use Windows Reset, which reinstalls Windows but keeps your files; you will need to reinstall apps afterward.
Frequently Asked Questions
Is vcruntime140.dll a Windows system file?
No. It is part of the Microsoft Visual C++ Redistributable, which is installed separately by apps or by you. Windows does not include it by default.
Can I just copy vcruntime140.dll into the app folder?
It is not recommended. Manual copies can cause version conflicts and are not registered properly. Use the official redistributable installer instead.
Do I need both the x86 and x64 versions?
Only if you run both 32-bit and 64-bit apps that depend on the runtime. Installing both is safe and covers all cases.
Will installing the redistributable affect other programs?
No. It installs shared runtime libraries used by many apps. It does not change your personal files or settings.
Why does the error come back after a Windows update?
Windows updates can sometimes reset or remove runtime components. Reinstalling the latest redistributable usually restores it. Keep a copy of the installer for quick reinstallation.
Is it safe to download vcruntime140.dll from a DLL website?
No. Those files are unverified and can be malicious or incompatible. Always use Microsoft's official download.