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
How to Fix the Settings App Not Opening in Windows 11
Settings app won't open, crashes instantly, or shows a blank window in Windows 11? Fix it with these steps — reset, re-register, and repair methods that work.
How to Fix Clipboard Not Working in Windows 11
Copy and paste broken, Clipboard History empty, or Win+V does nothing? Restart Clipboard, fix Remote Desktop conflicts, and reset clipboard services.
How to Fix Snipping Tool Not Working in Windows 11
Print Screen or Snipping Tool does nothing, screenshots are black, or Win+Shift+S fails? Reset the app, fix keyboard shortcuts, and repair capture permissions.
How to Fix MSVCP140.dll or VCRUNTIME140.dll Missing Errors
Program won't start because MSVCP140.dll or VCRUNTIME140.dll is missing? Fix it safely by reinstalling the Visual C++ Redistributable — no shady DLL sites.
How to Fix the Microsoft Store Not Working on Windows 11
Microsoft Store won't open, won't download apps, or throws error 0x80131500? Reset the cache, re-register the Store, and fix the services behind it.