{"id":829,"date":"2026-10-13T18:00:00","date_gmt":"2026-10-13T18:00:00","guid":{"rendered":"https:\/\/vpslake.com\/blog\/?p=829"},"modified":"2026-10-13T18:00:00","modified_gmt":"2026-10-13T18:00:00","slug":"fix-msvcp140-dll-missing-error-windows-server","status":"publish","type":"post","link":"https:\/\/vpslake.com\/blog\/2026\/10\/13\/fix-msvcp140-dll-missing-error-windows-server\/","title":{"rendered":"Fix the MSVCP140.dll Missing Error on Windows Server"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">To fix the MSVCP140.dll missing error on Windows Server, install or repair Microsoft&#8217;s current Visual C++ v14 Redistributable instead of downloading a loose DLL file. The process usually takes about 10 minutes and restores applications built with Visual C++ 2015 or later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>Windows Server 2016, 2019, 2022, or 2025, with Desktop Experience or Server Core.<\/li>\n\n\n<li>A local administrator account over RDP, or administrator access through the VPS control panel&#8217;s <strong>VNC Console<\/strong> if RDP is unavailable.<\/li>\n\n\n<li>Internet access from the server, enough temporary disk space for the installers, and permission to restart the affected application or server.<\/li>\n\n\n<li>The application&#8217;s installer or vendor support package, in case the program itself needs repair after the runtime is restored.<\/li>\n\n\n<li>A <a href=\"https:\/\/vpslake.com\/buy-windows-rdp\">VPSLake Windows RDP server<\/a> if you need a Windows environment for this fix.<\/li>\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Check the server architecture and application type<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The runtime must match the program&#8217;s architecture; a 32-bit application needs the x86 package even when Windows Server is 64-bit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open <strong>Windows PowerShell \u2192 Run as administrator<\/strong>. Check the operating system architecture and the installed Visual C++ runtime entries:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>[Environment]::Is64BitOperatingSystem\nGet-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\VisualStudio\\14.0\\VC\\Runtimes\\x64','HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\VisualStudio\\14.0\\VC\\Runtimes\\x86' -ErrorAction SilentlyContinue | Select-Object PSPath,Version,Installed<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">On a 64-bit server, the first command returns <code>True<\/code>. The registry command may return no entry or an entry with <code>Installed<\/code> set to <code>1<\/code>; a missing x86 entry does not mean the x64 entry can serve a 32-bit application.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you do not know the program&#8217;s bitness, install both x64 and x86 packages in Step 3 on a 64-bit server. On a 32-bit server, install only x86. The program&#8217;s vendor documentation or executable properties can identify a less common architecture-specific requirement.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Download the official redistributable installers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use Microsoft&#8217;s permanent download links so the runtime is signed and serviced through the supported package rather than an untrusted DLL mirror.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Microsoft&#8217;s <a href=\"https:\/\/learn.microsoft.com\/en-us\/cpp\/windows\/latest-supported-vc-redist\" target=\"_blank\" rel=\"noopener\">latest supported Visual C++ Redistributable downloads<\/a> provide the current v14 packages. In elevated PowerShell, download both packages to a temporary folder on a 64-bit server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$DownloadDirectory = Join-Path $env:TEMP 'vc-redist'\nNew-Item -Path $DownloadDirectory -ItemType Directory -Force | Out-Null\nif ([Environment]::Is64BitOperatingSystem) { Invoke-WebRequest -Uri 'https:\/\/aka.ms\/vc14\/vc_redist.x64.exe' -OutFile (Join-Path $DownloadDirectory 'vc_redist.x64.exe') }\nInvoke-WebRequest -Uri 'https:\/\/aka.ms\/vc14\/vc_redist.x86.exe' -OutFile (Join-Path $DownloadDirectory 'vc_redist.x86.exe')\nGet-ChildItem -Path $DownloadDirectory -Filter 'vc_redist.*.exe' | Select-Object Name,Length<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">On a 64-bit server, expected output contains two executable files with non-zero sizes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Name              Length\n----              ------\nvc_redist.x64.exe  &lt;file size&gt;\nvc_redist.x86.exe  &lt;file size&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">On a 32-bit server, download only <code>vc_redist.x86.exe<\/code>; skip the x64 command. Do not use a standalone <code>MSVCP140.dll<\/code> download or copy a DLL from another computer; the installer places the matching runtime files and registration data together.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Install or repair the Visual C++ runtime<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The installer can update an older compatible runtime or add a missing architecture without changing the application&#8217;s files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run the packages silently but keep automatic restart disabled, so you can save work before rebooting. This block installs x86 on every server and adds x64 when the operating system is 64-bit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$DownloadDirectory = Join-Path $env:TEMP 'vc-redist'\n$Installers = @((Join-Path $DownloadDirectory 'vc_redist.x86.exe'))\nif ([Environment]::Is64BitOperatingSystem) { $Installers += (Join-Path $DownloadDirectory 'vc_redist.x64.exe') }\nforeach ($Installer in $Installers) {\n    $Result = Start-Process -FilePath $Installer -ArgumentList '\/install','\/passive','\/norestart' -Wait -PassThru\n    [pscustomobject]@{ Installer = (Split-Path $Installer -Leaf); ExitCode = $Result.ExitCode }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">An exit code of <code>0<\/code> means the package installed or was already current. <code>3010<\/code> means the operation succeeded but Windows should be restarted; <code>1638<\/code> generally means a newer compatible package is already installed. Microsoft&#8217;s <a href=\"https:\/\/learn.microsoft.com\/en-us\/cpp\/windows\/redistributing-visual-cpp-files\" target=\"_blank\" rel=\"noopener\">Visual C++ deployment documentation<\/a> describes <code>\/install<\/code>, <code>\/repair<\/code>, <code>\/passive<\/code>, and <code>\/norestart<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the installer reports that the package is already present but the application still fails, repair it graphically: open <strong>Control Panel \u2192 Programs \u2192 Programs and Features<\/strong>, select the matching <strong>Microsoft Visual C++<\/strong> Redistributable entry, choose <strong>Change<\/strong>, select <strong>Repair<\/strong>, and complete the wizard. Repair both x64 and x86 entries when both are installed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Restart the affected application after installation. If an installer returned <code>3010<\/code>, restart the server from <strong>Start \u2192 Power \u2192 Restart<\/strong> during a maintenance window, or use the VPS control panel&#8217;s normal power controls after confirming that no other workload is running.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Repair the application if the DLL error remains<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Some applications ship additional private dependencies or store a damaged copy of their files, so restoring the shared runtime may not be the last repair required.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open <strong>Control Panel \u2192 Programs \u2192 Programs and Features<\/strong>, select the affected program, and choose <strong>Change<\/strong>, <strong>Repair<\/strong>, or <strong>Modify<\/strong> if the publisher provides one. If no repair option exists, download the latest installer from the application&#8217;s official vendor, close the program, and reinstall it using the vendor&#8217;s documented path.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do not replace <code>MSVCP140.dll<\/code> inside <code>C:\\Windows\\System32<\/code> or the program folder by hand. A mismatched DLL can create a different startup failure and makes later servicing harder to diagnose.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Repair Windows component files when installation fails<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the redistributable cannot install or other Windows components also report missing files, repair the component store first and then run System File Checker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In elevated PowerShell or <strong>Command Prompt \u2192 Run as administrator<\/strong>, run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>DISM.exe \/Online \/Cleanup-Image \/RestoreHealth\nsfc.exe \/scannow<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">DISM may take several minutes and can use Windows Update to obtain repair files. A successful DISM run ends with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>The restore operation completed successfully.\nThe operation completed successfully.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">SFC may report <code>Windows Resource Protection did not find any integrity violations<\/code> or that it found and repaired corrupt files. Restart Windows if SFC repaired files, then rerun the redistributable installer and launch the application again. Microsoft explains this order in its <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-hardware\/manufacture\/desktop\/repair-a-windows-image\" target=\"_blank\" rel=\"noopener\">Windows image repair guidance<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verify the repaired runtime<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm that the package registration exists for the architecture the application uses, then start the application normally.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On a 64-bit server, run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\VisualStudio\\14.0\\VC\\Runtimes\\x64','HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\VisualStudio\\14.0\\VC\\Runtimes\\x86' -ErrorAction SilentlyContinue | Select-Object PSPath,Version,Installed<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Each installed architecture should show a version beginning with <code>14.<\/code> and <code>Installed<\/code> equal to <code>1<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PSPath                                      Version          Installed\n------                                      -------          ---------\n...\\VC\\Runtimes\\x64                        14.xx.xxxxx      1\n...\\VC\\Runtimes\\x86                        14.xx.xxxxx      1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now launch the affected program from its usual shortcut or service manager. It should open without the MSVCP140.dll message. If it is a service, check <strong>Server Manager \u2192 Tools \u2192 Services<\/strong>, start the service, and confirm that its status remains <strong>Running<\/strong> after one minute.<\/p>\n\n\n\n<aside class=\"vl-element vl-cta-banner\" aria-label=\"Need a Windows VPS?\">\n\t<div class=\"vl-cta-banner__content\">\n\t\t<p class=\"vl-cta-banner__eyebrow\">Windows server access<\/p>\n\t\t<h3 class=\"vl-cta-banner__title\">Need a Windows VPS?<\/h3>\n\t\t<p class=\"vl-cta-banner__text\">Get administrator access for Windows application fixes, runtime installs, and server management.<\/p>\n\t<\/div>\n\t<a class=\"vl-cta-banner__button\" href=\"\/buy-windows-rdp\" aria-label=\"View Windows RDP\">View Windows RDP<\/a>\n<\/aside>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u201cMSVCP140.dll was not found\u201d still appears<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The program may be 32-bit while only the x64 runtime was installed, or the application may load a private dependency from its own folder. Install or repair x86 as well as x64 on a 64-bit server, restart the program, and use the vendor&#8217;s installer if the error is limited to one application.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u201cA newer version is already installed\u201d or exit code 1638<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Windows has found a newer compatible v14 package, so installing an older copy is unnecessary and may be blocked. Open <strong>Control Panel \u2192 Programs \u2192 Programs and Features<\/strong>, repair the installed Microsoft Visual C++ entry, then restart the application instead of downgrading the runtime.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The error changes to \u201cVCRUNTIME140.dll\u201d or \u201cVCRUNTIME140_1.dll\u201d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">These files are part of the same Visual C++ runtime family. Repair the matching x86 or x64 Redistributable, depending on the application&#8217;s architecture, and reinstall the application only if its own files are damaged.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The redistributable installer fails with error 1603<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A pending reboot, damaged Windows Installer state, insufficient permissions, or security software can interrupt the setup. Restart Windows, run the Microsoft installer again from an elevated PowerShell window, and review the newest VC Redist log in <code>%TEMP%<\/code>; do not disable security controls or download a replacement DLL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need both x86 and x64 packages on a 64-bit Windows Server?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Usually, yes. Windows can run 32-bit applications on a 64-bit system, and those applications load the x86 runtime; 64-bit applications load the x64 runtime. Installing both avoids guessing when the application architecture is unclear.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is MSVCP140.dll the same as the Visual C++ Redistributable?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">MSVCP140.dll is one library supplied by the Visual C++ runtime package. The redistributable also installs related libraries and servicing information, so installing the complete Microsoft package is safer than copying that single file.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I download MSVCP140.dll from a DLL website?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. Third-party DLL sites may provide a modified, mismatched, or malware-infected file, and the file alone does not repair the runtime installation. Use Microsoft&#8217;s signed redistributable package or the application&#8217;s official installer.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does the error appear after a Windows Server update?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">An update can expose a previously incomplete runtime installation, replace damaged component files, or leave an application using a different architecture than expected. Check both runtime entries, repair the relevant package, and then repair the application if only that program still fails.<\/p>\n\n\n\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Do I need both x86 and x64 packages on a 64-bit Windows Server?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Usually, yes. Windows can run 32-bit applications on a 64-bit system, and those applications load the x86 runtime; 64-bit applications load the x64 runtime. Installing both avoids guessing when the application architecture is unclear.\"}}, {\"@type\": \"Question\", \"name\": \"Is MSVCP140.dll the same as the Visual C++ Redistributable?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"MSVCP140.dll is one library supplied by the Visual C++ runtime package. The redistributable also installs related libraries and servicing information, so installing the complete Microsoft package is safer than copying that single file.\"}}, {\"@type\": \"Question\", \"name\": \"Can I download MSVCP140.dll from a DLL website?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. Third-party DLL sites may provide a modified, mismatched, or malware-infected file, and the file alone does not repair the runtime installation. Use Microsoft's signed redistributable package or the application's official installer.\"}}, {\"@type\": \"Question\", \"name\": \"Why does the error appear after a Windows Server update?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"An update can expose a previously incomplete runtime installation, replace damaged component files, or leave an application using a different architecture than expected. Check both runtime entries, repair the relevant package, and then repair the application if only that program still fails.\"}}]}<\/script>\n\n","protected":false},"excerpt":{"rendered":"Fix the MSVCP140.dll missing error on Windows Server by installing the official Visual C++ runtime, repairing it, and checking the app safely.","protected":false},"author":1,"featured_media":830,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[5,11],"tags":[59,58,60,42],"class_list":["post-829","post","type-post","status-publish","format-standard","has-post-thumbnail","category-guides","category-windows-server","tag-msvcp140-dll","tag-troubleshooting","tag-visual-c","tag-windows-server","cs-entry"],"_links":{"self":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts\/829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/comments?post=829"}],"version-history":[{"count":1,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts\/829\/revisions"}],"predecessor-version":[{"id":3050,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts\/829\/revisions\/3050"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/media\/830"}],"wp:attachment":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/media?parent=829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/categories?post=829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/tags?post=829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}