The Problem
You launch a program — often a game, Office app, or something recently installed — and a small dialog appears: "The application was unable to start correctly (0xc0000142). Click OK to close the application." Clicking OK closes it, and the app never opens.
Error 0xc0000142 means a DLL the program needs failed to initialize during startup. Common causes: a corrupted or outdated Visual C++ runtime, a conflicting background program injecting itself into the app, outdated graphics drivers, or damaged system files. Since the error message never names the failing DLL, the fix is to work through the likely culprits in order.
Quick Checks Before You Start
- Restart your PC. A stuck background process from a previous session can block DLL initialization.
- Run the app as administrator: right-click its icon and choose Run as administrator. If that works, the issue is permissions-related.
- Check if it affects one app or many. One app points to that app's files; many apps point to system-wide runtime or driver problems.
Step 1: Reinstall the Visual C++ Redistributables
Most 0xc0000142 errors trace back to the Microsoft Visual C++ runtime that games and desktop apps depend on.
- Download the official installers from Microsoft: search "Visual C++ Redistributable latest supported downloads".
- Install both
vc_redist.x64.exeandvc_redist.x86.exe(choose Repair if prompted). - Restart your PC and launch the app.
The full walkthrough is in fix MSVCP140.dll or VCRUNTIME140.dll missing errors — same runtime, same repair procedure.
Step 2: Update Your Graphics Driver
Games in particular throw 0xc0000142 when the GPU driver is outdated or half-installed.
- Right-click the Start button > Device Manager.
- Expand Display adapters, right-click your GPU, and select Update driver > Search automatically.
- Better: download the latest driver directly from NVIDIA, AMD, or Intel and do a clean install.
Step 3: Perform a Clean Boot
Third-party software — overlays, RGB utilities, antivirus injectors — can interfere with app startup. A clean boot isolates the conflict.
- Press
Win + R, typemsconfig, and press Enter. - On the Services tab, check Hide all Microsoft services, then click Disable all.
- On the Startup tab, click Open Task Manager and disable every startup item.
- Restart and try launching the app.
- If it now works, re-enable services in small groups (restarting each time) until you find the conflicting program, then uninstall or update it.
Step 4: Repair System Files
Corrupted Windows libraries can cause initialization failures across many programs.
- Right-click Start > Terminal (Admin).
- Run
sfc /scannow, let it complete, then run:DISM /Online /Cleanup-Image /RestoreHealth - Restart and test again. Full details in repair Windows 11 system files with SFC and DISM.
Step 5: Reinstall the Affected App
If only one program is affected and the steps above didn't help:
- Open Settings > Apps > Installed apps, uninstall the program.
- Restart, then reinstall the latest version from the official source.
- For Steam games, use Verify integrity of game files first — it's faster than a full reinstall.
If 0xc0000142 appears for nearly every program including Windows built-ins, deeper system corruption is likely — consider reinstalling Windows without losing your data as the last resort.
Apps crash after launching instead of failing at startup? That's a different failure mode — see fix apps crashing or not opening.
Related guides
Fix Camera Not Working in Teams or Zoom on Windows 11
Camera works in the Windows Camera app but not in Teams or Zoom? Fix app permissions, the device already in use error, virtual camera conflicts, and driver problems.
How to Fix a Discord Mic Not Working in Windows 11
Nobody can hear you on Discord in Windows 11? Fix input device selection, exclusive mode, privacy permissions, and the push-to-talk and voice settings behind a dead mic.
Fix .NET Framework 3.5 Install Error in Windows 11
Windows 11 failing to install .NET Framework 3.5 with error 0x800F0950 or 0x800F081F? Install it from the ISO source, fix the Group Policy block, and repair Windows Update.
How to Fix Outlook Not Opening in Windows 11
Outlook stuck on the loading profile screen, crashing at startup, or refusing to open in Windows 11? Fix it with safe mode, add-in checks, profile repair, and Office repair.
How to Fix VCRUNTIME140.dll Missing in Windows 11
Getting "VCRUNTIME140.dll was not found" when opening an app or game? Install the right Visual C++ redistributable and repair the broken one with these steps.