msvcp140.dll is missing: what the file is and how to put it back properly

msvcp140.dll is Microsoft's C++ Standard Library runtime. Windows does not install it for you: it arrives with the Microsoft Visual C++ Redistributable, and a program that was built with Visual Studio cannot start without it. The fix is to install or repair that package from Microsoft, not to download the DLL on its own.

Prefer to fix it yourself? The manual steps follow.

Download msvcp140.dll the official way

14.51.36247.0

Install the current Microsoft Visual C++ Redistributable (version 14.51.36247.0). It places msvcp140.dll and the files it depends on in the right Windows folders, registered with the installer so that updates and repairs keep working.

On 64-bit Windows install both the x64 and the x86 package. 32-bit programs load the x86 copy even on a 64-bit PC, and a missing x86 runtime is the most common reason the error stays after installing only x64.

“DLL files only” is for a program that needs the files in its own folder, or a PC where the installer will not run: msvcp140.dll with vcruntime140.dll and the other libraries it loads (version 14.51.36247.0), unpacked unchanged from Microsoft's installer. A free uGetFix account is needed to download. Sign in, or create one in a minute, and you come straight back here.

We downloaded these installers from Microsoft on October 2, 2026 and unpacked them. Each download page shows the size and SHA-256 checksum of those files, so you can compare what you get. The installers come from Microsoft's own server (aka.ms).

The three official Visual C++ installers for msvcp140.dll: x64, x86 and ARM64, and which PCs need which
On 64-bit Windows install both x64 and x86: 32-bit programs load the x86 copy.

Step by step

  1. See what is installed. Open Settings, Apps, Installed apps and type “Visual C++” in the search box. Look for “Microsoft Visual C++ 2015-2022 Redistributable” or “Microsoft Visual C++ v14 Redistributable”, once for x64 and once for x86.
  2. Nothing there, or only one of the two: install. Run the x64 installer and the x86 installer from the links above, then start the program again. A restart is rarely needed, but if the installer asks for one, do it.
  3. Both are there: repair. In Installed apps open the menu next to the redistributable, choose Modify, then Repair. This rewrites msvcp140.dll and its companions without touching your programs.
  4. The error names one program only: look in its folder. Some programs and many games ship their own msvcp140.dll next to their .exe. If that copy is damaged or is the wrong architecture, Windows loads it first and fails. Reinstall the program, or in Steam use Properties, Installed files, Verify integrity of game files.
  5. Still failing: read the exact message. “Was not found” and “is either not designed to run on Windows” are different problems with different causes. The messages section below explains each.

What not to do

Do not download msvcp140.dll from a DLL collection site.

You cannot tell which version or architecture you get, the file is copied without the files it depends on, and nothing updates it afterwards. A copy that matches nothing Microsoft has published is also how tampered files get onto a PC. If a program needs the loose files, use “DLL files only” above, and the checker below for a file you already have.

Do not copy the file into System32 by hand.

A manually placed file is invisible to the installer: the next redistributable update or repair may refuse to replace it, and you keep an outdated runtime.

Do not run regsvr32 on it.

msvcp140.dll is not a COM library and has no registration entry point, so regsvr32 only produces another error. Guides that tell you to register it are copying a step that applies to other files.

Do not delete the other copies you find on the disk.

Windows components and installed programs carry private copies of this file (see the section on copies inside Windows). They are normal and removing them breaks those programs.

Check the copy on your PC

Choose the msvcp140.dll you have. Its checksums are calculated in your browser and compared with 145 builds we know: the current official redistributable files, the copies indexed from Windows images and the older versions found on PCs.

or drop the file here

The file stays on your computer. Nothing is uploaded: the checksum is computed locally.

2 genuine programs have been documented loading a planted copy of msvcp140.dll. Found a copy you did not expect, in a Downloads, Temp or AppData folder, or next to a program you do not recognise? That is a security question, not a missing-file one. How to tell if msvcp140.dll is malware, on 2-Spyware

The error messages and what each one means

The wording tells you which problem you have. These are the texts Windows shows, as written.

The four msvcp140.dll error messages Windows shows, what each one means and the fix for each
The wording tells you whether the file is missing, damaged or only the place where a program crashed.
The code execution cannot proceed because MSVCP140.dll was not found. Reinstalling the program may fix this problem.

The wording of Windows 10 and Windows 11. The program asked for the file and Windows found no copy for that program's architecture. Install the redistributable, both x64 and x86.

The program can't start because MSVCP140.dll is missing from your computer. Try reinstalling the program to fix this problem.

The same situation in the older wording of Windows 7 and 8. Same fix.

MSVCP140.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.

The file was found but could not be loaded: it is damaged, truncated, or of the wrong architecture. This is typical after a copy was placed by hand or by a broken installer. Repair the redistributable, and remove any stray copy in the program's own folder.

Faulting module name: MSVCP140.dll

A line from the Application log in Event Viewer after a crash. The file is present and the program crashed while running code inside it. That usually points at the program itself or at a runtime older than the one it was built for: update the program and install the current redistributable.

File facts for the current official version

Read from the files inside Microsoft's installers, version 14.51.36247.0. Microsoft® C Runtime Library, Microsoft Corporation.

BuildVersionSizeExported functionsSigned by
x6414.51.36247.0643,512 bytes1,515Microsoft Windows Software Compatibility Publisher
x8614.51.36247.0618,944 bytes1,515Microsoft Windows Software Compatibility Publisher
ARM6414.51.36247.01,588,064 bytes1,493Microsoft Corporation
SHA-256 · x64
7c26614e1d733892c2deac7e245ce115504b1d80592dd0a01b08e3e5a55f89ca
SHA-256 · x86
f0cda2a0cf1fe6fbbf579b9098462329d3aaa7513a207af2e0f33b01456e388a
SHA-256 · ARM64
167ceac85c2d726c4cd9e39b8881fafdc6de1520c0e67c4f6b271235f9d2a6c5
Where the genuine msvcp140.dll belongs
C:\Windows\System32C:\Windows\SysWOW64C:\Program Files

After installation the x64 file is in C:\Windows\System32 and the x86 file is in C:\Windows\SysWOW64 (on 64-bit Windows). The folder names are historical: System32 holds the 64-bit files.

Where Windows looks for msvcp140.dll: the program's own folder first, then System32 or SysWOW64
A copy in the program's folder wins, so a damaged private copy keeps the error after the redistributable is installed.

What msvcp140.dll itself depends on

A DLL is rarely self-sufficient. The import table of the official file lists the libraries Windows must load together with it. If one of them is absent, the program fails with an error that names that other file instead.

This is why copying a single DLL so often trades one error for the next: after msvcp140.dll you are asked for vcruntime140.dll, then for vcruntime140_1.dll. The redistributable installs the whole set at once.

VCRUNTIME140_1.dllVCRUNTIME140.dllapi-ms-win-crt-convert-l1-1-0.dllapi-ms-win-crt-environment-l1-1-0.dllapi-ms-win-crt-filesystem-l1-1-0.dllapi-ms-win-crt-heap-l1-1-0.dllapi-ms-win-crt-locale-l1-1-0.dllapi-ms-win-crt-math-l1-1-0.dllapi-ms-win-crt-runtime-l1-1-0.dllapi-ms-win-crt-stdio-l1-1-0.dllapi-ms-win-crt-string-l1-1-0.dllapi-ms-win-crt-time-l1-1-0.dllapi-ms-win-crt-utility-l1-1-0.dllKERNEL32.dll

The api-ms-win-crt files belong to the Universal C Runtime, which is part of Windows 10 and Windows 11 and is serviced by Windows Update. The highlighted files come from the same redistributable as msvcp140.dll.

What the redistributable installs

The runtime payload of the x64 installer, version 14.51.36247.0: 12 files that are installed and updated together.

FileMicrosoft's descriptionSize
concrt140.dllMicrosoft® Concurrency Runtime Library365 KB
msvcp140.dllMicrosoft® C Runtime Library628 KB
msvcp140_1.dllMicrosoft® C Runtime Library _135 KB
msvcp140_2.dllMicrosoft® C Runtime Library _2268 KB
msvcp140_atomic_wait.dllMicrosoft® C Runtime Library _atomic_wait56 KB
msvcp140_codecvt_ids.dllMicrosoft® C Runtime Library _codecvt_ids30 KB
vcamp140.dllMicrosoft® C++ AMP Runtime408 KB
vccorlib140.dllMicrosoft ® VC WinRT core library342 KB
vcomp140.dllMicrosoft® C/C++ OpenMP Runtime208 KB
vcruntime140.dllMicrosoft® C Runtime Library174 KB
vcruntime140_1.dllMicrosoft® C Runtime Library49 KB
vcruntime140_threads.dllMicrosoft® C Runtime Library38 KB

Copies of msvcp140.dll that ship inside Windows

Searching a disk for msvcp140.dll usually finds more than one file. That is expected. Windows components and Microsoft apps carry private copies in their own folders, so that they do not depend on what the user has installed.

Winbindex, an index of the binaries in Windows installation images and updates, lists 88 distinct builds of msvcp140.dll in 21 versions. In the indexed images none of them is in the System32 folder itself: the System32 copy is put there by the redistributable.

Windows component or appBuilds indexed
Windows\System32\Microsoft-Edge-WebView38
Program Files\Windows36532
Microsoft.VCLibs.140.00.UWPDesktop5
MSTeams2
Windows\System32\HealthAttestationClient2
Microsoft.MicrosoftOfficeHub1
Versions found in Windows images
VersionBuilds indexedWindows releases
14.50.35719.04Windows 11 23H2, Windows 11 24H2, Windows 11 26H1
14.44.35211.07Windows 11 23H2, Windows 11 24H2, Windows 11 26H1
14.44.35112.11Windows 11 24H2, Windows 11 25H2, Windows 11 26H1
14.42.34438.07Windows 11 23H2, Windows 11 24H2, Windows 11 25H2
14.40.33816.01Windows 11 25H2
14.40.33810.01Windows 11 24H2
14.40.33728.01Windows 11 25H2
14.38.33135.012Windows 11 22H2, Windows 11 24H2
14.34.31938.010Windows 11 22H2, Windows 11 23H2, Windows 11 24H2
14.32.31326.01Windows 11 24H2

Older versions of msvcp140.dll found on PCs

Programs and games often install their own copy of msvcp140.dll, and those copies stay behind long after Microsoft has released a newer runtime. A public DLL catalogue has collected 54 such copies, from version 14.0.22816.0 to 14.26.28804.1. The table lists each with its checksums, so you can tell which one you have.

None of them is the current version. The redistributable above installs 14.51.36247.0, newer than every copy in this list. If the check on this page finds your file in this list, it is most likely an old Microsoft build (confirm the Microsoft signature, since the list itself is not verified): install or repair the redistributable and the program that uses the old copy will get the current runtime from System32, unless it keeps its own copy in its folder.

VersionBuildSizeMD5SHA-1
14.26.28804.164-bit573 KB7b92a6cb5d2cad407c457ab12d2b211de04020b3448fc6084fa31b7f791f22ff15e31328
14.26.28720.364-bit573 KB01b946a2edc5cc166de018dbb754b69cdbe09b7b9ab2d1a61ef63395111d2eb9b04f0a46
14.26.28720.332-bit440 KBeceff9c92e14b580ea84365f3d60f7de00699126456379fa48cb122e21b7f4731a72c57c
14.26.28619.032-bit440 KBf50d2e2eb3a3fe18c96068af38887ceffdedfee09362d46d271e3334879b19001d916985
14.25.28508.364-bit573 KBa11a1d761d757d367146f0f772632d8c9fd3eee4c4111dc386510a930192d56a2e938dfe
14.25.28508.332-bit440 KB697220335e5c4b4126af45f6f82078968106f2dd4665aec0d1c652e29378ef46ea4e5801
14.24.28127.464-bit604 KBa1d30ef2114e18e26e2bb96555be81bfa5e3e5a5910dd0781caf0a9f58dd7b519de8c927
14.24.28127.432-bit440 KB5fd0772c30a923159055e87395f96d864a20f687c84eb327e3cb7a4a60fe597666607cf3
14.23.27820.064-bit604 KB5489742d41ffc2630476ec0489e4a0bf92cddcbd3376c8797845adbbe5d52cf70497126e
14.22.27821.064-bit604 KB18920afd13872383f9aa1893fce4a57574728ded8f77a8db172ddde019575c9c05dd675e
14.22.27821.032-bit440 KBea91b66bcc2f5233f36d5df5ed8496266af867761e3596962101f3733033d03255b6dab8
14.22.27724.032-bit440 KB4437730dfff0fd038f884c47da47bb49a98e5fab58df7e1f38562f03e0a28d36b288ab2d
14.22.27706.132-bit440 KB388513337fe09d2973f7ef65f01e5ef43567422bbcb7a83f11a3fd9ecf1bc1cb4a1cbfb2
14.20.27508.164-bit604 KB5b87055d003de54c70f79825752d2325b81066eb260df44e173c8c89e6c660ff9b4b5407
14.16.27033.064-bit614 KBc1b066f9e3e2f3a6785161a8c7e0346a8b3b943e79c40bc81fdac1e038a276d034bbe812
14.16.27033.032-bit440 KB5ff1fca37c466d6723ec67be93b5144234cc4e158092083b13d67d6d2bc9e57b798a303b
14.16.27012.664-bit614 KBba72c2f6f465926980adc2fb7f8b349063de0e3c14d0f45c1edab1c3ecd4adfb78ee8cdd
14.16.27012.632-bit440 KB1fb93933fd087215a3c7b0800e6bb703a78232c352ed06cedd7ca5cd5cb60e61ef8d86fb
14.15.26706.064-bit604 KB39ae0aa5b0888909b169c7ddf63e4ccecb124f2b21611b2d01273914d51a8a748bbdd3a5
14.15.26706.064-bit614 KBeb1b46c4b900e4c83066760a737986cd90444980a36e79c043e6f037841822a9ef89af9d
14.15.26706.032-bit440 KB9dda681b0406c3575e666f52cbde4f801951c5b2c689534cdc2fbfbc14abbf9600a66086
14.15.26706.032-bit430 KBa03cea8ab566ca38f8cc8d1e160536caf206d8e7cb3f88cd3f29f04b11981e6406d8f1de
14.14.26429.464-bit655 KB89bb632dcbe07cd7aff17440fff46526ee173fe3eca2a0164f63ab1f7bfb5746d56869c0
14.14.26405.064-bit655 KBbcf85f55392240e2110b0608d0cef70ad8067ad8a9046eb34579b09d94cbfc4af13c1dfb
14.14.26405.032-bit451 KBf027303816d6d2afeab12183c67b1348735e1625b17e4122608eb3aff3702b97e08f1e51
14.13.26020.064-bit655 KB28d16214f6726f019273231497c749a94185474a7ac9c06a02436be46047be12bcc9894d
14.13.26020.032-bit451 KBb33902774ce0eded02b0cf1b5462273605c4ffb6b9b9ba8a56b7a3187b7d100ab20fe8d5
14.12.25810.064-bit676 KB2fe42eb09647f5ac31dd7e125105ef73fd886fbe78eaafeb474167d32656605d78b3af2a
14.12.25810.032-bit451 KB4835a9b8749970d0ad04f22a546042aff89d579c0b0c4afe2ca8283d222f44051d2e7c94
14.11.25506.064-bit625 KB324497c7a02864c089dc6bb9483cbf9751dc32822af4a8844a37bdedeb9147eabda6a7c8
14.11.25325.032-bit430 KB109f0f02fd37c84bfc7508d4227d7ed5ef7420141bb15ac334d3964082361a460bfdb975
14.10.25008.064-bit614 KBd1bd63f4bb6d9565af5f82137acdb434aeefda48d04ae9402ef2424ba8181c38de14d60a
14.10.25008.032-bit430 KB0a252601b942f683c2c60beacb4f1a72a9d80cad7885e64c5724b70472ff4f1d2b1466c0
14.10.25008.032-bit430 KB71a0aa2d05e9174cefd568347bd9c70fcb9247a0fa59e47f72df7d1752424b33a903bbb2
14.0.24215.164-bit625 KB7050d4d0f219fb57db78f35dbfd7c362fcb3a1bf63621611428b6df8532ce03614655531
14.0.24215.164-bit614 KBb9abe16b723ddd90fc612d0ddb0f7ab4b323de242f21f39cf1cca4198ba1abb52e6aa0fb
14.0.24215.132-bit440 KB328d83d22f0c1e4122b7dc12378c5e5a21bf93c161b8fb705c2369499c22f065b190df46
14.0.24215.132-bit430 KBcfbdf284c12056347e6773cb3949fbbaad3fa5fbbc4296d4a901ea94460762faf3d6a2b8
14.0.24212.064-bit614 KB733479ce9eddd094de51ebc5b5795f36082afb6efb4e807f94d36812b82d0d2528ca2fd2
14.0.24210.064-bit614 KB9ff712c25312821b8aec84c4f8782a341a7a250d92a59c3af72a9573cffec2fcfa525f33
14.0.24210.032-bit430 KBd25c3ff7a4cbbffc7c9fff4f659051ce02fe8d84d7f74c2721ff47d72a6916028c8f2e8a
14.0.23918.064-bit625 KBc754fa2eb5badc2c841133b30dd004e3d5ecc6acdac2412db16cef50e80661e4760c1415
14.0.23918.064-bit635 KBf9d84d4559e5f7aa908cdf2fa5c054495917c05287fbe7942536bb38eb7ccebb0cacbf40
14.0.23918.032-bit430 KBa84a8a708751e2cb1f2bb117e9b7f390a9378bae50093465e2ea1567958a1bb656d42149
14.0.23506.064-bit625 KB1c33cb1547a1c5ba7455bb0bf0215a7c7952bec4fa818a443c7199e3bf46c680cc0b0c38
14.0.23506.032-bit430 KB54628f77144e17530a8b8882d1789c906b63d1cb13524b664330574fd7911f1f25dfad16
14.0.23026.064-bit625 KB45ccb4783cd53f8c2b208dd08f9ea06f379f3eee652da2adc4c39f8269e74e525c232879
14.0.23026.064-bit614 KB8d55109b9757f997fce995b2020eb8ffa92330cb5bbec0310f3cfad3ccfde6b7b01cd377
14.0.23026.064-bit625 KBab15feb56d735f4589217d02464b1a061362b65006aad34031e51ab005ea54b7337c734a
14.0.23026.064-bit635 KBe93af998fa3b81e32817788077ad0a6647499ce62da8ae7355c884ce66bb957999b12819
14.0.23026.032-bit430 KB1d8c79f293ca86e8857149fb4efe44527474e7a5cb9c79c4b99fdf9fb50ef3011bef7e8f
14.0.23026.032-bit420 KBeaa9e3d174c82bde78994074384f6d8a417cccae696b2f53788f681abfc7a9ab716c76c6
14.0.22816.064-bit625 KB8e5926c798e62e3862e86d12bc2c09c14ef4655d38dd9354a70453f7dc363a6e69bb2ab4
14.0.22816.032-bit430 KB18ed48cb7eb16a041f35ca80de8ae804e4ae2d9acafe672e913ef7d8f69deed52939d923

Copies uploaded by users to a public DLL catalogue, read on 14 October 2026. We list their checksums so you can identify a file; we do not offer them for download and we did not verify each one against Microsoft's signature.

Questions people ask

Is msvcp140.dll a virus?

The genuine file is a signed Microsoft library and is harmless. Malware does sometimes use the same name, so the name alone proves nothing. Check your copy with the tool on this page: a file that matches a build Microsoft published is the real one. Where a copy sits and how attackers have used the name is covered on the security page linked above.

Do I need the 2015, 2017, 2019 and 2022 redistributables separately?

No. All of them are the same version 14 runtime, and the newest installer replaces the older ones. The earlier runtimes are different files with different names: Visual C++ 2013 uses msvcp120.dll and Visual C++ 2010 uses msvcp100.dll, and those need their own redistributables.

I installed the x64 package and the error is still there. Why?

The program is most likely 32-bit and looks for the x86 runtime. Install the x86 package as well. Task Manager shows “(32 bit)” after the name of 32-bit programs on older Windows versions, and on Windows 11 the Details tab can show an Architecture column (right-click a column header, Select columns).

Can I delete msvcp140.dll to free space?

No. The file is small, and every program built with Visual Studio 2015 or later that uses the shared runtime stops starting without it.

Will System File Checker (sfc /scannow) restore it?

System File Checker repairs Windows' own protected files. msvcp140.dll in System32 belongs to the redistributable, so repairing or reinstalling the redistributable is the direct fix. Run sfc when the errors name Windows files instead.

Related guides

Fix

How to fix VCRUNTIME140_1.dll missing or not found error in Windows?

Fix

Fix: this application failed to start because no Qt platform plugin could be initialized

Fix

How to fix error code 0xe06d7363 on Windows?

Fix

How to fix Entry Point Not Found error in Windows?

Sources

File data read on October 2, 2026.

About the authoruGetFix Editorial TeamEditorial team

The editors who write and check uGetFix guides and reference pages. File facts are read from Microsoft's own installers and documentation, and every page shows the date its data was read.

Questions and experiences

Ask about this page: members and our editors answer. Reading is open; writing needs a free account.

0 comments

…

4,322 members already hereThey read, write, comment and vote. 0 verified · 31 joined this year