Fix: The application was unable to start correctly (0xc0000142)

The error code “0xc0000142” is a common startup issue in Windows, causing applications to not launch. It usually means there is a problem with loading necessary DLLs. This error often points to corrupted or missing system files, especially in the Microsoft Visual C++ Redistributable packages.

Fix- The application was unable to start correctly (0xc0000142)
Fix- The application was unable to start correctly (0xc0000142)

The main cause is typically corrupted system files or missing DLLs, but it can also happen due to conflicts with third-party software or outdated drivers. Sometimes, certain Windows updates or system changes can make the system unstable, causing this error.

In this article, we will discuss different ways to solve this error.

1. Reboot your computer

Restarting your computer can be effective as it clears temporary errors, resets processes, and reloads important system parts. This can fix issues with memory, application conflicts, or incomplete updates that stop programs from launching properly.

2. Run the application as an administrator.

Sometimes applications don’t start because they lack permission to access important system files. Running the application as an administrator gives it the permissions needed to access protected resources and libraries. This helps prevent errors related to loading necessary components.

  1. Right-click on the application or game.
  2. Click Properties and go to the Compatibility tab.

    Navigate to Application Properties
    Navigate to Application Properties
  3. Tick ‘Run This Program as an Administrator’.
  4. Check ‘Run This Program in Compatibility Mode For’, select Windows 7 or Windows 8.
  5. Click ‘Apply’, then ‘OK’.

    Change Compatibility Settings
    Change Compatibility Settings
  6. Launch the application to see if it resolves the issue.

3. Change the current system locale.

Switching the system locale can fix compatibility problems. If the locale doesn’t match the program’s needs, it can cause errors like 0xc0000142. Adjusting the system locale ensures the program has the right language and format settings.

  1. Open the Start Menu and type ‘Control Panel’, then open it.
  2. Select Region from the options.

    Navigating to Control Panel Region Settings
    Navigating to Control Panel Region Settings
  3. Go to Administrative and click ‘Change System Locale’.
  4. Select your region, click OK, then Apply and OK again to save the changes.

    Changing Region
    Changing Region
  5. Launch the application to see if the issue is resolved.

4. Modify the Registry File

Editing the registry can fix errors that prevent an application from starting by correcting system library or application path entries. Always back up the registry before making changes to avoid issues.

  1. Open the Start Menu and type ‘cmd’.
  2. Press Ctrl + Shift + Enter to run Command Prompt as an administrator.

    Run Command Prompt With Administrator Permissions
    Run Command Prompt With Administrator Permissions
  3. Enter the following command and press Enter:
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" /v "LoadAppInit_DLLs" /t REG_DWORD /d 0 /f

    Changing Registry through Command Prompt
    Changing Registry through Command Prompt
  4. Check if the application issue is resolved.

5. Use commands to re-register all DLL files.

By resetting the registration of all DLL files, you’re addressing a key issue that often leads to application startup errors like 0xc0000142. When Windows fails to load necessary DLL files, applications can’t launch properly. Re-registering these files ensures the system recognizes and associates each file with its function, resolving issues from corrupt, missing, or outdated libraries.

  1. To re-register, press Windows + R to open the Run Program.
  2. Type ‘cmd’ and then press the ‘Enter’ key.
    Open Command Prompt From Run Program
    Open Command Prompt From Run Program
  3. Copy and paste the following command and hit Enter:
    for %i in (%windir%\system32\*.ocx) do regsvr32.exe /s %i
    Executing Registry Commands
    Executing Registry Commands
  4. Once done, check if the issue is resolved.

6. Perform a Clean Boot

To troubleshoot conflicts, perform a clean boot to isolate background processes or software that might interfere with application startup. Disabling non-essential services and programs allows necessary system components to run, helping identify if the error is from conflicting software.

  1. Open the Start Menu and type ‘MSConfig’ to access System Configuration.
  2. Select Selective Startup and click on the Services tab.

    Click Selective Startup
    Click Selective Startup
  3. Check Hide All Microsoft Services and then click Disable All.

    Perform a Clean Boot to Disable the Services
    Perform a Clean Boot to Disable the Services
  4. Restart your computer and launch the application to see if the error is resolved.

7. Run the repair commands.

Running SFC and DISM commands fixes system issues that cause errors like “0xc0000142.” SFC repairs damaged or missing system files, while DISM fixes deeper system image corruption. These commands ensure core system files are healthy to resolve application launch failures.

  1. Type ‘cmd’ in the Start Menu search bar.
  2. Right-click on Command Prompt and select Run As Administrator.

    Launching Command Prompt in Administrator Mode
    Launching Command Prompt in Administrator Mode
  3. Enter the following commands, pressing Enter after each:
    DISM /Online /Cleanup-Image /RestoreHealth
    sfc /scannow

    Running Repair Commands
    Running Repair Commands
  4. Attempt to launch the application to check if the error is resolved.

8. Reinstall the Microsoft .NET Framework

Refreshing the Microsoft .NET Framework can fix issues that stop applications from launching. Many applications need this framework to work correctly, so if it’s corrupted or outdated, it can cause problems. Reinstalling it replaces damaged files and ensures the application has what it needs to run, addressing errors like “0xc0000142.”

  1. Press Win + R to open the Run window and type ‘control’, then press Enter to open the Control Panel.
  2. Go to ‘Programs & Features’.

    Navigating to Programs and Features of Control Panel
    Navigating to Programs and Features of the Control Panel
  3. In the left sidebar, click on ‘Turn Windows features on or off’, locate .NET Framework, uncheck it, and click OK to uninstall.
  4. Check it again to reinstall, or download the latest version from the Microsoft website.

9. Reinstall Microsoft Visual C++ Redistributable Packages

Reinstalling the Microsoft Visual C++ Redistributable Packages restores missing or damaged files needed by applications. These packages contain important components for running programs, and if they’re broken, apps might not start. Reinstalling ensures these essential components are in place, allowing applications to function properly.

  1. Open the Start Menu and type Control Panel.
  2. Go to ‘Uninstall a Program’ in Programs & Features.

    Click Uninstall a Program
    Click Uninstall a Program
  3. Select Microsoft Visual C++ and click Uninstall.

    Uninstalling Program
    Uninstalling Program
  4. Download and install the latest version of Microsoft Visual C++.

10. Update Windows

Outdated Windows versions can miss updates that fix stability and compatibility issues. Updating Windows applies the latest patches, fixing problems like corrupt files and software conflicts. Regular updates also improve system performance and reliability, reducing issues with running applications.

  1. Press ‘Win + I’ to open Settings.
  2. Select Update & Security.

    Navigating to Windows Update & Security
    Navigating to Windows Update & Security
  3. Click ‘Check for Updates’, install any available updates, and then restart your computer.

    Downloading Pending Updates
    Downloading Pending Updates

12. Reinstall the Application or Game

If the previous solutions don’t work, reinstalling the application or game might be best. This replaces any missing or corrupted files and resets the software to its default settings, removing conflicts and giving the application a fresh start.

ABOUT THE AUTHOR

Kamil Anwar


Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.

Comments

21
    SH
    Shabbir Dec 6, 2016

    I tried everything, still face the same problem. Cant open Syndicate.exe

      AR
      Adrian Radu May 28, 2017

      Then buy the game don’t use cracked copies

      Reply
    JK
    Josef Köppel Jul 11, 2017

    problem resolved with method 3! Thank you!

    NV
    NIKUNJ VEKARIYA Aug 29, 2017

    I tried everything, still face the same problem. Cant open call of duty black ops3.exe

    Reply
    ~D
    ~Lord Death~ May 5, 2018

    Thank you so much ! Everything worked with step 3 !

    RP
    Robert Potter Jul 31, 2018

    Ironically Most of the fixes do not work because regedit itself is the program that will not start.

      KA
      Kamil Anwar Aug 6, 2018

      You will need to do a repair install, or a reinstall since the system files are also corrupted.

      Reply
    TH
    TheTeenWhoGotNyaned! Sep 23, 2018

    My PC got memz trojaned because my brother thought it’d be funny doing it. I repaired it using a windows 10 cd disc is my PC still corrupted because of this?

      KA
      K. Arrows Author Oct 6, 2018

      It shouldn’t be if system files are repaired (over written) from a clean copy which you said you did.

    HA
    HENRY AYESSOU AYIQUAYE Nov 9, 2018

    my laptop tells me access is denaid

    AP
    apostol1322 Feb 18, 2019

    If someone still have this problem, just go to you bios, go to advanced settings and disable the cpu visualization. save the changes and restart. try to run the game, problem solved.

    Reply
    SW
    Shane Warren Author Sep 22, 2019

    Do you have an administrative account on the laptop?

    ⚜⚜
    ⚜ KING ⚜ Feb 7, 2020

    thanks a lot, method 4 helped with my skyrim

    AB
    Andrew Berdahl May 16, 2020

    Thank you so much! I had to get all the way down to Method 7 to get my problem fixed.

    UL
    Ultric May 30, 2020

    Not working with Call of Duty Black Ops 3 🙁

      SW
      Shane Warren Author Jun 1, 2020

      We added some new steps in the solution 2 today, read it carefully and try it again.

    CC
    Contact Cem Sep 29, 2021

    HiI tried downloading the file in Method 4 but the folder is locked, it asks for permissionCan you provide it by direct dwnld link?Tks

      MZ
      Muhammad Zubyan Author Oct 2, 2021

      Unfortunately, we can’t provide you the direct link as we don’t have access to it as well. However, do try the other methods and let me know how it goes. So that I can assist you further.

    U0
    USER_000 Jul 8, 2022

    it did not worked in skyrim

      MZ
      Muhammad Zubyan Author Jul 8, 2022

      Where you downloaded Skyrim from?

    KI
    Kiguhu Aug 19, 2022

    I had problem in cmd.exe. Solution 7 worked for me.