MSVCP120.dll Missing on Windows 11: Fix It Safely
In this article
The fastest fix is to install the official Microsoft Visual C++ Redistributable package for Visual Studio 2013 (the x86 and x64 versions), because msvcp120.dll ships with that runtime and is almost never meant to be copied by hand. If you only need the file for one app, the redistributable still installs it in the correct system folder and registers it properly, which a manual copy does not. After installing, restart the PC and relaunch the program that complained. If the error returns, the next step is a repair of the same package or a check of Windows system files, covered below.
Before you start, note that menu labels in Windows 11 can differ slightly by build, edition and region, so if a label you see is worded a little differently, look for the closest match. The steps here are written for a standard Windows 11 desktop or laptop.
What You'll Need
- Administrator rights on the PC (installing a redistributable prompts for elevation).
- A working internet connection to download the installer from Microsoft's own site.
- To know whether the failing program is 32-bit or 64-bit, so you install the matching package. When in doubt, install both.
- The name of the app that shows the error, so you can test it afterwards.
Step-by-Step
- Close the app showing the error. The dialog usually names the program. Close it fully before changing anything, because files in use can block an installer.
- Confirm the exact file name in the message. It should read msvcp120.dll. If it says msvcp140.dll, msvcp110.dll or a similar number, you need a different redistributable version, and installing the 2013 package will not fix it.
- Go to Microsoft's official download page for the Visual C++ Redistributable packages. Search for "Visual C++ Redistributable 2013" and open the Microsoft Learn or Microsoft Download Center result. Only use Microsoft's own domain; third-party "DLL fixer" sites are a common source of adware.
- Download both the x86 and x64 installers for the 2013 package. The x86 build installs the 32-bit runtime, the x64 build installs the 64-bit runtime. Many people assume a 64-bit PC only needs the x64 file, but 32-bit apps running on a 64-bit system still need the x86 runtime, and that is a frequent cause of this exact error.
- Run the x86 installer first, then the x64 installer. Accept the elevation prompt, accept the licence terms, and click Install. Each takes under a minute on a normal machine. If Windows asks to restart, do it before continuing.
- Restart the PC. A restart lets Windows finish registering the runtime files. Skipping this step is why some people still see the error right after installing.
- Launch the app that failed. If it opens normally, you are done. If the same dialog appears, continue to the next step.
- Repair the installed package. Open Settings > Apps > Installed apps, find the Microsoft Visual C++ 2013 Redistributable entries, open the three-dot menu and choose Modify, then Repair. Do this for both the x86 and x64 entries if both are listed. Repair replaces damaged runtime files without removing the package.
- 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 and repairs what it can. It can take several minutes; let it finish and read the summary line at the end. - Reinstall the app itself if the error is tied to one program. Uninstall it through Settings > Apps > Installed apps, then download a fresh installer from the vendor's official site and install again. Some installers bundle the runtime and skip it if a newer version is already present, which can leave a broken copy behind.
Common Mistakes
- Downloading the DLL from a random DLL site. Those files are unverified, may be the wrong build, and are a known way to pick up malware. Microsoft does not distribute individual runtime DLLs for manual download; the redistributable is the supported route.
- Dropping the file into the app's own folder. Even when it appears to work, the file is not registered and other apps that need it still fail. It also creates a version mismatch that can crash the program later.
- Installing only the x64 package. As noted above, 32-bit apps on 64-bit Windows still need the x86 runtime. Install both unless you have a specific reason not to.
- Confusing version numbers. 120 means the 2013 runtime. Installing the 2015-2022 package will not place msvcp120.dll on the system.
- Ignoring the restart. Registration completes on reboot, so testing immediately after install can give a false failure.
Tips
- Keep the redistributable installers in a folder so a future reinstall or a new PC does not send you searching again.
- If several old games or utilities fail with different msvcp numbers, install each matching redistributable (2010, 2012, 2013, 2015-2022). They coexist without conflict.
- Check Windows Update for pending updates before deep troubleshooting; some runtime components are delivered through it.
- If the app is portable and lives on a USB drive, run it from a local folder instead. Runtime lookups can fail from removable media on some systems.
Troubleshooting
The installer refuses to run or says a newer version is present. That usually means the package is already installed but damaged. Use Modify > Repair from Installed apps rather than reinstalling over it.
The error names a different DLL alongside msvcp120.dll. Note every file listed. Missing msvcr120.dll points to the same 2013 package, so the same install covers it. A missing msvcp140.dll needs the 2015-2022 package instead.
The app still fails after a repair and an SFC scan. Run the Deployment Image Servicing and Management tool: open Command Prompt as administrator and run DISM /Online /Cleanup-Image /RestoreHealth, then repeat sfc /scannow. This repairs the component store that SFC reads from.
Only one specific app fails while others work. The problem is likely inside that app's installation. Uninstall it, delete any leftover folder in Program Files only if the uninstaller leaves one behind, and reinstall from the vendor's official download.
You suspect malware renamed or replaced system files. Run a full scan with Microsoft Defender from Windows Security > Virus & threat protection > Scan options, choose Full scan. Do this before installing anything else if the error appeared suddenly after a download.
Frequently Asked Questions
Is msvcp120.dll a virus?
No. It is a legitimate Microsoft C++ runtime library. A file with that name in a strange folder, or flagged by your antivirus, is a different matter and should be scanned.
Can I just download msvcp120.dll and put it in System32?
It is not recommended. Microsoft does not offer the file that way, copies from third-party sites are untrustworthy, and manual placement skips registration. Use the redistributable installer.
Which redistributable version do I need for msvcp120.dll?
The Visual C++ Redistributable for Visual Studio 2013, both x86 and x64 builds.
Will installing this break newer apps?
No. Different Visual C++ runtime versions install side by side and do not replace one another.
Do I need to reinstall Windows to fix this?
Almost never. A repair install of the redistributable plus SFC and DISM resolves the large majority of cases.
Why does the error come back after a Windows update?
Updates can reset or replace runtime components. Reinstalling the 2013 package and restarting normally restores it.