Skip to main content
Back to all fixes
medium10 min

Reinstall Visual C++ Redistributables (All Versions)

The #1 fix for 0xc000007b. Corrupted or missing VC++ runtime DLLs (msvcp140.dll, vcruntime140.dll, etc.) cause this error in 60%+ of cases.

One-Click Script

Save as check-vc-redist.bat, right-click → Run as Administrator.

@echo off
echo === VC++ Redistributable Check ===
echo.
if exist "C:\Windows\System32\msvcp140.dll" (
  echo [OK] msvcp140.dll (x64) found
) else (
  echo [MISSING] msvcp140.dll (x64) NOT found
)
if exist "C:\Windows\SysWOW64\msvcp140.dll" (
  echo [OK] msvcp140.dll (x86) found
) else (
  echo [MISSING] msvcp140.dll (x86) NOT found
)
if exist "C:\Windows\System32\vcruntime140.dll" (
  echo [OK] vcruntime140.dll (x64) found
) else (
  echo [MISSING] vcruntime140.dll (x64) NOT found
)
if exist "C:\Windows\SysWOW64\vcruntime140.dll" (
  echo [OK] vcruntime140.dll (x86) found
) else (
  echo [MISSING] vcruntime140.dll (x86) NOT found
)
echo.
echo If any are MISSING, reinstall Visual C++ Redistributables.
pause

Step-by-Step

  1. 1

    Open Control Panel → Programs and Features. Look for entries starting with "Microsoft Visual C++ 20xx Redistributable".

  2. 2

    Uninstall ALL of them — both x86 and x64 versions, every year (2005, 2008, 2010, 2012, 2013, 2015-2022). Do not worry, they are safe to remove.

  3. 3

    Restart your computer after uninstalling.

  4. 4

    Download and install the VC++ Redistributable packages (direct links in the Download section on this page), or manually download from Microsoft.

  5. 5

    Install x86 FIRST, then x64. Restart again.

  6. 6

    Test your application.

How to Verify It Worked

  • Check C:\Windows\System32\ for msvcp140.dll, vcruntime140.dll, vcruntime140_1.dll.
  • Check C:\Windows\SysWOW64\ for the 32-bit versions of the same files.
  • Run "dxdiag" in Win+R — no errors should appear.

Still Not Working?

Try Fix #4 (DirectX Repair) or Fix #6 (SFC + DISM) to repair system-level corruption.