Gives error 0xc0000142 when starting the game. The main causes of the problem

Users of the Windows 10 operating system, when starting programs or games, may see a notification: An error occurred while starting the application 0xc0000142. Press the OK button to exit the application. How to fix and what causes the error, we will analyze in more detail in the article.

Causes

The malfunction may appear due to:

  1. The presence of viruses on the computer.
  2. Conflict, missing or corrupted files and libraries of the running application.
  3. Conflict, missing, or corrupted DirectX and NetFramework files.

An error is also possible if:

  1. The voltage is not enough for the application (game) to work.
  2. Incorrect drivers installed.
  3. Incompatible equipment connected.
  4. Faulty RAM module.
  5. BIOS settings are set incorrectly.
  6. Bad sectors on the hard drive.
  7. Windows shut down in emergency mode.

Solutions

Important! Before troubleshooting, check the system for viruses using Dr.Web CureIt or other powerful antiviruses. In 90% of cases, viruses infect or delete library.dll files.

To fix it, follow these steps:

  1. Right-click on the program's .exe file and select Properties. Run the game in compatibility mode for a different OS version. Try all possible options: Windows 8,8.1, 7, etc. Then click RMB - Run as administrator.
  2. Reinstall DirectX and Net Framework and restart your PC.
  3. Reinstall the application or game (probably the library files were damaged by a virus or there were installation errors). Download the distribution kit only from official sources to avoid file damage during installation and virus infection.
  4. Install all available updates from Windows Update.
  5. Clean junk files and Temp folder using CCleaner utility or manually.
  6. The notification when you start the game may be caused by an incorrect operation of the graphics driver. Roll back the driver to a previous version.
  7. If the error occurred after the PC was infected with viruses, press Win + R (Run) and write the command: sfc / scannow

    The system scan will begin and the identified malfunctions and shortcomings will be eliminated.

  8. Check the disk for errors using the chkdsk utility.
  9. Check the value of the registry setting. Go to Run (Win + R) and write the command: regedit

    Then open a branch.

Error 0xc0000142 occurs on any version of Windows when an application fails to initialize correctly.

The problem is related to a DLL loading error, which means that the application uses system files in its work, either damaged or incompatible with the program. Here is just a short list of programs and games that caused this error when launched: iTunes, AutoCAD, GTA 5, Fallout 4, Divinity 2 and many others.

0xc0000142 when starting a game, application in windows 10, 7, 8: how to fix

Replacing the LoadAppInit_DLL value in the registry

Reinstalling system apps

Since the error is related to the use of incompatible or corrupted DLLs, it is logical to try reinstalling system applications, drivers, etc.
Alternatively, you can download everything separately, such as DirectX 11, OpenAl, Net FrameWork, etc., or you can use a special program All in One All in One Runtimes, which contains up-to-date versions of all required libraries


Running sfc (system file checker)

Run the sfc /scannow command to scan all protected system files and replace them if incorrect versions are found. (More about)

To do this, launch the console in administrator mode. Enter

Press Enter and wait for the result

Other possible causes

  • Check your computer for viruses that may have modified system or application files
  • Install all Windows updates that are in the queue in Windows Update and wait for them to fully install
  • Less common, but it still happens that error 0xc0000142 is associated with an outdated video card driver. Update your video card driver
  • Reinstall your app again

Advanced method (for advanced users)

If the previous methods did not help or you want to find out the root cause of the error, you can scan the non-working application to see if it is using a DLL, displaying the full paths to the libraries and displaying their x32 or x64 bitness to identify incompatibilities. We will use the Dependency Walker program, which can do just that.

Many users often wonder why an error occurs when starting the application 0xc0000142 and how to fix this problem on Windows 10. However, before considering how to solve it, it is worth noting that error 0xc0000142 can occur for various reasons. Therefore, it is worth initially finding the source of the problem and only then making any changes to the system settings.

Causes of error 0xc0000142 on Windows 10

Error code 00000142 often occurs when trying to run an application on the Windows 10 operating system (and below). The reason for this problem is:

  • Viruses and malicious applications that make changes to system settings;
  • Damage to the executable file of the program or software libraries;
  • Lack of NetFramework and DirectX;
  • Lack of necessary video card drivers;
  • Connecting incompatible equipment to a PC (when installing programs for printers and scanners);
  • The presence of bad sectors on the hard drive;
  • Damage to RAM modules;
  • Incorrectly set BIOS settings;
  • Weak power supply, the presence of swollen capacitors on the motherboard and in the power supply itself.

In addition, the program may not start due to incompatibility with the version of the operating system itself. Therefore, if after upgrading to Windows 10 you are trying to run old software, you should perform this operation in compatibility mode.

How to fix error 0xc0000142 on Windows 10?

There are a lot of ways to fix error 0xc0000142. Therefore, we will consider them in more detail.

Method number 1. Checking the system for viruses

If the program on your PC was previously launched, and then, for some unknown reason, error 0xc0000142 began to appear, it is worth checking the system for viruses. To do this, you can use a regular antivirus. However, if the defender missed the virus, he may no longer find it. We recommend using the Dr.Web cleaning utility for verification, which has up-to-date databases and always finds malicious objects. The corrected program file will run. If it fails to heal, you will have to reinstall the program.

Method number 2. Running software in compatibility mode

You can fix the problem by running the software in compatibility mode. To do this, right-click on the .exe file of the program and select "Properties". A new window will open. Go to the "Compatibility" tab and select the version of Windows on which this program worked 100%.

Click "Apply" and "OK". We check the software for performance.

Method number 3. Reinstalling Libraries

Often the lack of the necessary libraries makes it impossible to launch a game or program. Modern games like Mad Max install the required versions of the libraries on their own. However, if the software does not start, it is worth reinstalling NET Framework and DirectX.

Method number 4. Installing updates

On the Microsoft forum, in order to solve this problem, they suggest updating the Windows 10 operating system. To do this, go to Settings, Update and Security.

In a new window, in the menu on the left, select "Update Center", click "Search for updates" and wait for the installation of new components.

After updating the system, it is worth restarting the PC.

Method number 5. Cleaning up the Temp folder

The Temp folder, which is located at drive C, the Windows folder, can be cleared manually or using the CCleaner program.

Method number 6. Reinstalling the graphics driver

If lags appear in the game or error 0xc0000142 occurs, it is worth updating the video card driver. Read about how to do this.

Method number 7. Checking the system for damaged files and disk

If you have scanned your system for viruses and the antivirus detects and removes malicious objects, you should run a Windows 10 scan for corrupted files. To do this, start a command prompt with Administrator rights and enter "sfc /scannow".

Also, it would not hurt to check the disk itself for errors. To do this, you should use the chkdsk I: / f / r command, where I is the drive letter, r is the check for bad sectors and their recovery, f is the check for errors and their automatic correction.

After executing the command, you need to restart the PC.

Method number 8. Registry editing

Viruses can change the values ​​​​of Windows 10 settings. Therefore, it is worth checking and editing some settings in the registry. To do this, do the following:

  • Press "Win + R" and enter "regedit".

  • Go to the branch "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows". We find the parameter "LoadAppInit_DLLs". Its value must be "0". We change the values ​​​​in the case of a different digit.

  • After editing the registry, reboot the system.

It is important to note that if the above methods did not help to get rid of the problem, you should run System Restore or reinstall the program (it is advisable to try a different installation file).

Users of the Windows 10 operating system, when starting programs or games, may see a notification: An error occurred while starting the application 0xc0000142. Press the OK button to exit the application. How to fix and what causes the error, we will analyze in more detail in the article.

Causes

The malfunction may appear due to:

  1. The presence of viruses on the computer.
  2. Conflict, missing or corrupted files and libraries of the running application.
  3. Conflict, missing, or corrupted DirectX and NetFramework files.

An error is also possible if:

  1. The voltage is not enough for the application (game) to work.
  2. Incorrect drivers installed.
  3. Incompatible equipment connected.
  4. Faulty RAM module.
  5. BIOS settings are set incorrectly.
  6. Bad sectors on the hard drive.
  7. Windows shut down in emergency mode.

Solutions

Important! Before troubleshooting, check the system for viruses using Dr.Web CureIt or . In 90% of cases, viruses infect or delete library.dll files.

To fix it, follow these steps:

  1. Right-click on the program's .exe file and select Properties. Run the game in compatibility mode for a different OS version. Try all possible options: Windows 8,8.1, 7, etc. Then click RMB - Run as administrator.
  2. Reinstall DirectX and Net Framework and restart your PC.
  3. Reinstall the application or game (probably the library files were damaged by a virus or there were installation errors). Download the distribution kit only from official sources to avoid file damage during installation and virus infection.
  4. Install all available updates from Windows Update.
  5. Clean junk files and Temp folder using CCleaner utility or manually.
  6. The notification when you start the game may be caused by an incorrect operation of the graphics driver. Roll back the driver to a previous version.
  7. If the error occurred after the PC was infected with viruses, press Win + R (Run) and write the command: sfc / scannow

    The system scan will begin and the identified malfunctions and shortcomings will be eliminated.

  8. .
  9. Check the value of the registry setting. Go to Run (Win + R) and write the command: regedit

    Then open a branch.

Error notification 0xc0000142 pops up in all versions of Windows if the application is not properly initialized. Application startup error 0xc0000142 makes itself felt when working with different programs: games, music players, programs for design, drawing. In the article, we will consider simple and complex, designed for advanced users, ways to fix the error, step by step we will go through some ways to fix problems.

Error 0xc0000142: solutions

Error 0xc0000142 often occurs due to the program using corrupted files that are incompatible with Windows (DLL loading error). Create a system restore point. This will allow you to restore the original state of the program if a failure occurs during the search for a solution.

Consider 6 possible fixes:

  • setting the compatibility mode of the application and the operating system;
  • checking system files;
  • reinstalling system applications;
  • changing the value of LoadApplnit_DLL;
  • scanning a non-working program with Dependency Walker;
  • other options.

Compatibility Mode Settings

Error 0xc0000142 when starting the game. How to fix? Trying to set the game compatibility mode (Deus Ex, Dark Souls, GTA, Mafia 3, Mortal Kombat, Crusader Kings, etc.) and operating systems:

  • click on the right mouse button on the icon of the game, application that causes error 0xc0000142;
  • select item Properties;
  • open tab Compatibility ;

  • tick the box next toRun the program in compatibility modeand select the operating system, trying different combinations until we find the right one (Windows 7, 8, XP);
  • celebrate Run the program in administrator mode;
  • click OK below, try to run the application.

System File Checker

Another way to fix error 0xc0000142 on shutdown and launching games, applications - reinstalling the system software. How to do it:

  • open the Windows Recovery Console;
  • enter the command sfc / scannow;
Liked the article? Share with friends: