0xC0000142 DLL initialization failed
Initialization of a required library failed at program startup.
First, check that this guide matches your problem
When it happens
As soon as I launch Office or a game, it quits.
Common causes
- Corrupted app components
- Incomplete update
- Startup add-on conflict
Step-by-step fixes
3 steps, 40 min–1 hr 40 min in total. The easiest checks come first, so stop as soon as the problem is fixed.
If an Office update is interrupted, component versions can get mixed and apps can stop at the DLL initialization stage. Microsoft recommends repairing Office in this case.
- Close all Office apps, then in Settings → Apps → Installed apps click ... next to Microsoft 365 or Office → Modify (Apps & features → Modify on Windows 10).
- Run Quick Repair first, then try opening an Office app.
- If it is still the same, run Online Repair. It needs the internet, takes longer, and downloads and reinstalls Office.
What to check
If it starts normally several times after the repair, you are done. If it is not Office or the error persists after repair, check pending updates and startup programs in the next step.
Did this step fix it?
If an update is waiting for a restart, some DLLs remain pending replacement. Programs that start with Windows can also hook into the app and block initialization.
- If Settings → Windows Update shows that a restart is required, save your work and restart.
- WinR → msconfig → Services tab, check ‘Hide all Microsoft services’ and press ‘Disable all’, then change the item in Task Manager → Startup Apps (Startup tab in Windows 10) to Disable and restart.
- Run the app in this state, and when you finish checking, re-enable the services and startup apps on the same screens.
What to check
If it works only in a clean boot, enable services half at a time to find the conflicting program. If it also fails in a clean boot, check the app's dependencies and system files next.
Did this step fix it?
Initialization also fails if the Visual C++ runtime the app uses or the app's own DLLs are damaged. If several apps fail at once, Windows files should be checked too.
- For games, run the launcher's file check; for other apps, use Modify/Repair or reinstall from Installed apps.
- Use Modify → Repair on each Microsoft Visual C++ 2015-2022 Redistributable (x86 and x64) in the Installed apps list.
- If several apps fail with the same code, run
DISM /Online /Cleanup-Image /RestoreHealthand thensfc /scannowin Terminal (Admin).
DISM /Online /Cleanup-Image /RestoreHealthsfc /scannowWhat to check
If it works after the repair, you are done. If one app keeps failing, contact its publisher with the Event Viewer Application log entry from the error time.
Did this step fix it?
Frequently asked questions
Related PC FIX problems
Official references
Content reviewed: 2026-10-07