How to resolve error 0xc0000142 in Windows and Citrix environments

Table of Contents

Case #

You try to launch an application in Microsoft Windows and receive the following error 0xc0000142:

"appname.exe - Application Error. The application was unable to start correctly (0xc0000142). Click OK to close the application."

This can occur with any Windows installed app, including the Citrix Workspace App (CWA) client. If this CWA client hits this error, you would receive the following error message:

Solution #

This error point to either corruption of the application in question or some sort of corruption of an operating system component. Follow the steps below to resolve this error:

  1. Perform a clean boot in Windows to exclude the possibility of a third application or driver tampering with the operations of the app throwing the error. Details on how to perform a clean boot can be found at: https://support.microsoft.com/en-us/help/929135/how-to-perform-a-clean-boot-in-windows.
  2. Run appwiz.cpl to get to the list of installed programs and features of Windows and try to repair or re-install, i.e. uninstall, reboot and re-install, the affected application.
  3. Check your Windows profile for possible corruption and clean up by creating a new clean profile. If issue persists, you might also want to clean up the default user profile as well by copying a known healthy default profile from another machine with same operating system version.
  4. Run the following commands to check for possible file system or other operating system corruption.
chkdsk
sfc /scannow
DISM /Online /Cleanup-Image /ScanHealth

Source #

https://answers.microsoft.com/en-us/windows/forum/windows_10-performance-winpc/error-0xc0000142/3da27a75-178c-4de5-b43c-c538e6005540

Powered by BetterDocs