Fix vccorlib140.dll Errors on Windows – Quick Guide
In this article
Yes – you can fix vccorlib140.dll errors by reinstalling the Visual C++ Redistributable and repairing missing or corrupted system files.
What You'll Need
- A Windows PC (Windows 10 or later recommended)
- Administrator privileges
- Internet connection for downloading official packages
- Microsoft Visual C++ Redistributable installer (available from Microsoft.com)
- Basic command‑prompt knowledge
Step-by-Step
- Restart your computer. A simple reboot clears locked files and often resolves transient DLL load failures. After the restart, try launching the application again; if the error persists, continue.
-
Run Windows Update. Open
Settings > Update & Security > Windows Updateand click Check for updates. Install any pending updates, especially optional driver or runtime updates, then reboot. Updated system components can replace an outdated or mismatched vccorlib140.dll. -
Run System File Checker (SFC). Open Command Prompt as administrator (right‑click Start, choose Windows Terminal (Admin) or Command Prompt (Admin)). Type
sfc /scannowand press Enter. The tool scans protected system files and automatically repairs corrupted copies, which may include the problematic DLL. Wait for the scan to finish (usually 5‑10 minutes) and note the result. -
Repair the Visual C++ Redistributable. Many apps depend on the Microsoft Visual C++ 2015‑2022 Redistributable, which contains vccorlib140.dll. Go to
Control Panel > Programs > Programs and Features, locate any entries named "Microsoft Visual C++ 2015‑2022 Redistributable (x86)" and "(x64)". Select each entry and click Change, then choose Repair. If the repair option is unavailable, uninstall the package, download the latest version from Microsoft, and install it again. -
Manually replace the DLL (if repair fails). Download the official vccorlib140.dll from the Microsoft Visual C++ Redistributable package instead of third‑party sites. Extract the DLL from the installer using a tool like 7‑Zip (open the .exe, navigate to the \x64\Microsoft.VC141.CRT folder for a 64‑bit system). Copy the file to
C:\Windows\System32(for 64‑bit) orC:\Windows\SysWOW64(for 32‑bit) and overwrite the existing file. You will need admin rights; confirm any UAC prompts. -
Clear temporary files. Corrupt cache files can cause the loader to reference an old DLL location. Open
Settings > System > Storage, click Temporary files, select all categories, and click Remove files. Alternatively, runcleanmgras admin and select the same options. - Check application compatibility. Right‑click the program that throws the error, choose Properties > Compatibility, and enable Run this program in compatibility mode for Windows 7 (or the version the app was built for). Some older software expects an older runtime layout; compatibility mode can redirect the DLL search path.
-
Reinstall the problematic application. Uninstall the app via
Settings > Apps > Apps & features, then restart the PC. Download the latest installer from the vendor’s official website and install it fresh. This ensures the app registers the correct DLL dependencies during its own setup. -
Use DISM to repair the component store. Open an elevated Command Prompt and run the following commands sequentially:
DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth
DISM (Deployment Image Servicing and Management) fixes deeper corruption that SFC cannot. After DISM completes, runsfc /scannowagain to confirm all files are healthy. -
Reset Windows (last resort). If none of the above steps restore the DLL, consider resetting the OS while keeping personal files. Go to
Settings > Update & Security > Recoveryand click Get started under Reset this PC. Choose Keep my files. This process reinstalls Windows components, including the Visual C++ libraries, without erasing documents, but it will remove installed apps.
Common Mistakes
- Downloading vccorlib140.dll from unofficial websites – these files may be infected or mismatched to your system architecture.
- Replacing the DLL in the wrong folder (e.g., copying a 64‑bit DLL to SysWOW64). Always match the DLL architecture to the folder.
- Skipping the system reboot after installing or repairing the Redistributable. Windows locks many runtime files until a restart.
- Running SFC or DISM without administrator rights – the tools will report limited access and cannot fix protected files.
- Uninstalling only the x86 version of the Redistributable when the application needs the x64 version (or vice‑versa). Install both unless you are certain about the required architecture.
Tips
- Keep a copy of the latest Visual C++ Redistributable installer on an external drive; you’ll need it for future repairs.
- Use
where vccorlib140.dllin an elevated Command Prompt to see every location Windows searches for the file. - If the error appears only after a Windows feature update, roll back the update via
Settings > Update & Security > Windows Update > View update history > Uninstall updates. - Enable "Show hidden files, folders, and drives" in File Explorer options to verify that no duplicate DLLs exist in the application’s own folder.
Troubleshooting
If the error persists after completing the step‑by‑step guide, follow this escalation path:
- Confirm the exact error message and note any error codes (e.g., 0xc000007b) – they can indicate a mismatch between 32‑bit and 64‑bit binaries.
- Run
Dependency Walker(free tool) on the executable to see which version of vccorlib140.dll it is trying to load and whether other dependent DLLs are missing. - Check the Event Viewer under Windows Logs > Application for entries that reference the failing app; details often point to the exact cause.
- Create a new local user account (Settings > Accounts > Family & other users > Add someone else to this PC) and test the app there. If it works, the issue is likely a corrupted user profile.
- Contact the software vendor’s support with the full error text and the steps you have already taken. They may provide a custom installer that bundles the correct runtime.
Frequently Asked Questions
Why does vccorlib140.dll disappear after a Windows update?
Some cumulative updates replace the Visual C++ runtime libraries. If the update fails partially, the DLL may be removed or left in a corrupted state, triggering the error.
Do I need to reinstall both the x86 and x64 Visual C++ packages?
Yes, unless you know the offending application is strictly 32‑bit or 64‑bit. Many modern programs load both runtimes for auxiliary components.
Can I fix the error without internet access?
You can use a previously downloaded Visual C++ installer or a local copy of the DLL, but you won’t be able to obtain the latest security‑patched version without connecting to Microsoft’s servers.
Is it safe to delete the vccorlib140.dll file manually?
Deleting the file without reinstalling the Redistributable will leave the system without a required runtime component, causing many programs to fail. Always replace it via the official installer.
Why does the error appear only with one specific game?
The game may ship its own outdated copy of the DLL in its installation folder, which takes precedence over the system version. Removing the game‑bundled copy or updating the game usually resolves the conflict.
Will resetting Windows delete my personal files?
Choosing the "Keep my files" option preserves documents, photos, and user‑created data, but it removes all installed applications and their settings.