0xC0000142 Windows Origin: Platform & cloud Last updated 13 Oct 2026

The application was unable to start correctly (0xc0000142)

A DLL the program loads failed to initialise — often after an update, with corrupt runtimes, or when a desktop heap/session limit is hit.

Seen on: Windows

Meaning

STATUS_DLL_INIT_FAILED. Office/Click-to-Run, games and command-line tools hit it when a system DLL or runtime is damaged, or when too many processes exhaust the desktop heap (many cmd/conhost windows from services).

Common causes

  • Corrupt system files or Visual C++ runtimes
  • Faulty Office/app update
  • Desktop heap exhausted (services spawning many processes)
  • Security software blocking DLL loads

⚡ Quick fix

  1. Repair the app (Office: Quick Repair) and reinstall VC++ redistributables
  2. sfc /scannow and DISM /RestoreHealth
  3. Reboot to clear desktop heap

Detailed fix by platform

Windows

  1. powershell
    sfc /scannow
    DISM /Online /Cleanup-Image /RestoreHealth
    winget install Microsoft.VCRedist.2015+.x64

How to diagnose

  1. Scope — One program or all?
  2. Recent — Updates installed?
  3. Events — Application log errors

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

0x8007007E — 0x8007007E: The specified module could not be found (Windows)0x8007007E0xC0000005 — The application was unable to start correctly (0xc0000005) / Exception code 0xc0000005 access violation (Windows)0xC00000050xC000007B — The application was unable to start correctly (0xc000007b) (Windows)0xC000007Bapi-ms-win-crt-runtime-l1-1-0.dll — The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer (Windows)api-ms-win-crt-runtim…Could not cast value of type — Swift: Could not cast value of type 'X' to 'Y' (iOS)Could not cast value …double free or corruption — C/C++: free(): double free detected / double free or corruption (out) — Aborted (core dumped) (C/C++)double free or corrup…dyld: Library not loaded — dyld: Library not loaded: @rpath/X.framework/X — Reason: image not found (crash on launch) (iOS)dyld: Library not loa…Illegal instruction — Illegal instruction (core dumped) (SIGILL) (Linux)Illegal instruction0xC0000142

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.