Application Error. The application failed to initialize properly (0xC0000142)

9,399

You transcribed that error wrong-- I'll fix it for you (it's 0xC0000142, not 0x0000142). That's a STATUS_DLL_INIT_FAILED error. You've got something running on that box that's spawning too many processes. Look at your "Scheduled Tasks", programs running in the "Startup" program group, service programs, and programs running from the HKLM\Software\Microsoft\Windows\CurrentVersion\Run and HKCU equivalent lists.

If you can get Process Explorer running on the box you can examine the process tree and see what the parent process of these CMD.EXE's is. (There are other methods to do that, but Process Explorer is very friendly and graphical, which it sounds like you might like.)

Share:
9,399
mbp
Author by

mbp

Updated on September 17, 2022

Comments

  • mbp
    mbp over 1 year

    We are constantly seeing this error message on our Windows Server 2003:

    cmd.exe - Application Error

    The application failed to initialize properly (0xC0000142). Click on OK to terminate the application.

    It appears when logged in as console. It appears every 5 minutes, and the error message sometimes stack up to 100 times. At the same time, we have experienced several commands which are failing to execute (they do nothing, they don't even start their logic, cmd.exe just fails immediately).

    Also, in the process list of the server, cmd.exe is opened many hundred times.

    What could be the cause of this error?

    • Admin
      Admin about 10 years
      And what if there is such application which does this on purpose? Why the server cannot handle it? Can I enlarge some value in registry for example to get rid of this error? (which is actually not stated as error in Windows logs)