Home / Guides / Windows errors

Error 0xc0000142 - the application was unable to start correctly

0xc0000142 means a program began to start, and one of the DLLs it loads failed to initialize. The message names no culprit, which makes the error feel random - it hits games, Office apps, sometimes even cmd.exe. In practice the causes form a short list: a program that injects itself into others (overlays, old antivirus), a damaged Visual C++ runtime, broken system files, or the program's own files. The fixes below walk that list from most to least likely.

Fix it automatically

Outbyte Driver Updater identifies your installed hardware automatically and updates outdated or broken drivers from official sources, with a backup before every change. Useful when you would rather not run the steps below by hand - the scan and diagnosis are free.

Download Driver Updater Downloads Outbyte Driver Updater for Windows 11, 10, 8 and 7. Free 2-day trial, no credit card required.

Quick answer

Restart the PC, then reinstall the Visual C++ Redistributable (both vc_redist.x64.exe and x86 from Microsoft's official page) and run sfc /scannow from an admin terminal. If the error survives, do a clean boot - when the program starts fine there, one of your startup programs is breaking it, most often an overlay or an old antivirus.

Symptoms - how this problem looks

"The application was unable to start correctly (0xc0000142). Click OK to close."
A game crashes with this code right at launch, before any window appears
Word, Excel or Outlook shows it after an update
Several unrelated programs fail with the same code
It began after installing an overlay, antivirus, or a big Windows update
The same program starts fine in Safe Mode or after a clean boot

Why it happens

Another program injects into the launch

Overlays, macro tools, older antivirus and "assistants" load their DLL into every starting program. When that DLL misbehaves, the victim shows 0xc0000142.

A damaged Visual C++ runtime

The runtime DLLs thousands of programs share can fail to initialize when corrupted - reinstalling the redistributable replaces them cleanly.

Broken system files after an update

An interrupted Windows update or disk error leaves system DLLs half-written - initialization fails in whatever program touches them first.

The program's own files are damaged

When only one program fails and the shared causes are ruled out, its own DLLs are the broken part - reinstalling or verifying files fixes it.

The fixes, in order

1. Restart, then reinstall the Visual C++ runtime

  1. Restart the PC - a one-off initialization failure often clears.
  2. Search the web for "Visual C++ Redistributable latest supported downloads", open the result on learn.microsoft.com, download both vc_redist.x64.exe and vc_redist.x86.exe.
  3. Run both (choose Repair if offered), restart, and try the program.

2. Repair the system files

  1. Right-click Start, open Terminal (Admin), and run sfc /scannow.
  2. If problems persist, run DISM /Online /Cleanup-Image /RestoreHealth, then SFC again, then restart.
  3. Also install pending updates in Settings, then Windows Update - and for games, update the graphics driver.

3. Find the interfering program with a clean boot

  1. Press Win+R, type msconfig, press Enter. On the Services tab tick "Hide all Microsoft services", then press "Disable all".
  2. On the Startup tab open Task Manager and disable every startup item. Restart.
  3. If the program now starts, re-enable items in halves and restart between rounds - the culprit is in the last half you enabled. Usual suspects: overlays (recording, RGB, chat), old antivirus, macro and "assistant" tools.
  4. Uninstall or update the culprit, then re-enable everything else (msconfig, "Normal startup").

4. Reinstall the failing program

  1. Steam games: right-click the game, Properties, Installed Files, then "Verify integrity of game files".
  2. Office: Settings, then Apps, then Microsoft 365, then Modify, then Quick Repair (Online Repair if needed).
  3. Other programs: uninstall, download a fresh installer from the developer's official site, reinstall.

Do not do this: Skip the registry "LoadAppInit_DLLs" hacks that forums suggest for this error - editing that key by hand can stop Windows from booting, and modern Windows ignores most of it anyway. The clean boot in method 3 finds the same culprit safely.

Frequently asked questions

How is 0xc0000142 different from 0xc000007b?

Both stop a program at launch, but 0xc000007b is a 32/64-bit mismatch in a DLL, while 0xc0000142 means a DLL loaded fine and then failed to initialize - usually because another program interfered or the runtime it needs is damaged. The fixes overlap, which is why both guides walk the same core steps.

Why does it hit Office apps or cmd.exe right after Windows starts?

A third-party program that injects itself into every process - overlays, older antivirus, some "assistant" tools - initializes before the app and breaks it. That is why a clean boot is the key diagnostic: if the error disappears there, one of the startup programs is the culprit.

Does reinstalling the failing program help?

Only when the program's own files are the damaged part - worth trying after the runtimes and a clean boot, not before. If several unrelated programs show 0xc0000142, the shared cause (an injector or a damaged runtime) has to be fixed first, or the error returns.