Error 0xc0000142 when launching Sims 4
"The application was unable to start correctly (0xc0000142)" is a general Windows error, and it doesn't only happen in Sims 4. Usually the game process couldn't start properly: a library was missing or another program got in the way. Mods almost never affect this.
What to do
- Restart your computer and close extra background programs, especially overlays (screen recorders, game bars, graphics card utilities).
- Repair the game in the EA app (Library → The Sims 4 → ⋯ → Repair) and clear the EA app cache.
- Install Visual C++: the "Visual C++ 2015–2022 Redistributable" from the Microsoft website, x64 and x86 versions. Restart your computer.
- Update Windows and run
sfc /scannowin Command Prompt as administrator. - Check the log of your antivirus or Windows Defender and the OneDrive sync for the Documents folder.
- Rename
Documents\Electronic Arts\The Sims 4toThe Sims 4_oldas a test. If that didn't help, do a clean reinstall of the game (make a copy of your saves first).
How the app helps
The free "Game error codes" section in Sims 4 Mod Doctor explains Windows and game codes in plain words and suggests steps in order.