close
close

How to fix error 0xc0000142 in Windows 11/10

Error 0xc0000142 occurs when users try to start some Windows software packages. Those who have encountered this problem usually see an error message that says: “The application was unable to start correctly (0xc0000142).” When that happens, the affected program refuses to start.


Unfortunately, the 0xc0000142 error is a generic code that could affect many Windows software packages. However, many users report that it usually comes from Microsoft Office apps and games.

So if you are running into this problem, here is how you can fix error 0xc0000142 in Windows 11 and 10.


1. Run the affected software with administrator permissions

Start troubleshooting error 0xc0000142 by configuring the affected software to run as administrator. That will ensure that the program can access more restricted file locations. You could potentially stop this error code by setting the affected app to always run as administrator.

2. Set the affected software to run in compatibility mode

If the error 0xc0000142 occurs for older software, there could be a compatibility issue with the Windows 11/10 platform of your PC. Setting an app or game to run in compatibility mode for an older Windows platform might resolve this issue.

This is how you can configure your software to run in compatibility mode:

  1. press the windows logo + my keyboard buttons and open the installation folder of the affected software.
  2. Right-click the EXE (application) file of the software to select Properties.
    The Properties option
  3. Click on the properties window Compatibility eyelash.
  4. Select the checkbox labeled Run this program in compatibility mode.
    Run this program as administrator checkbox
  5. Choose the Windows operating system that was most recent in the year your software was released from the dropdown menu. If you select Windows 8 or 7, this will probably suffice for most applications.
  6. Click Apply to set the new compatibility mode.
  7. Select OK to exit the properties window.

An alternative method is to use the Windows 11 Program Compatibility Troubleshooter. That tool automatically applies the recommended compatibility settings, saving you time and effort.

3. Scan your PC’s system files

Corrupt DLL (Dynamic Link Library) system files can cause error 0xc0000142. You can check for and remedy system file corruption by running Windows System File Checker.

SFC scan now command

We also recommend running a Deployment Image Service Management scan command. That utility can fix problems with the Windows system image. To run that tool, run this command at a command prompt:

 DISM.exe /Online /Cleanup-image /Restorehealth 

4. Set the correct system locale

Setting a correct system locale is a 0xc0000142 error fix that worked for some uses. To apply this solution, you must select a system locale for non-Unicode software that matches the correct region for your PC. You can set the proper system locale as follows:

  1. Press windows key + R.guy control Panel Click Run and select OK.
  2. Click on Region inside the All Control Panel Items window.
    The Region applet in Control Panel
  3. Then click on the Administrative eyelash.
  4. press the Change system regional settings button.
    The Change System Locale button
  5. Select the correct region for your PC from the dropdown menu.
  6. Press OK in the Region Settings window.
  7. Click on the Apply button to save regional settings and OK go out.

5. Re-register DLLs in Windows

Many users have said that re-registering all DLLs works to fix the 0xc0000142 error. This highlights that the error 0xc0000142 arises because some required DLL files are not registered correctly. There are many DLLs, but you can re-register them by running a single command as follows:

  1. press the windows logo + S key simultaneously and enter command prompt.
  2. Open the command prompt with administrator privileges by selecting Execute as an administrator for that app’s search result.
  3. Enter this command to re-register DLL and press Return:
     for %1 in (*.dll) do regsvr32 /s %1 
    The re-register all DLLs command
  4. Then wait until all the DLLs have been registered before closing the command prompt.

6. Run a CHKDSK (Check Disk) scan

Another possible reason for the 0xc0000142 error is that your PC has bad disk sectors. You can find and repair bad disk sectors by running a CHKDSK (Check Disk) scan at a command prompt.

The CHKDSK Command

7. Update the driver for your PC’s GPU (Graphics Processing Unit)

If you need to fix error 0xc0000142 for a Windows game, updating your PC’s graphics driver may help. You can do this manually, using a third-party driver update tool or software from AMD or NVIDIA like GeForce Experience.

A download option in GeForce Experience

8. Enable the .NET Framework 3.5 feature

Some programs require older versions of the .NET Framework to run on Windows. Therefore, you may need to enable the .NET Framework 3.5 in Windows if that feature is not available on your computer.

The .NET Framework Option

9. Edit the Windows registry key

Many users who have fixed the 0xc0000142 error confirm that editing a Windows registry worked for them. Those users modified the value of LoadAppInit_DLL DWORD inside the Windows key. Here are the exact steps to apply this potential resolution:

It is risky to edit the Registry. Always back up your Windows Registry before making any changes to ensure that you can go back to the original if you encounter problems after applying this solution.

  1. Click the magnifying glass icon on the taskbar or in the search box to activate a file search tool.
  2. Enter the search phrase regedit in the file search tool.
  3. Select registry editor to view the log window.
  4. Navigate to this key location by entering the following path inside the Registry Editor address bar:
     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current Version\Windows 
    windows key
  5. Double click on the LoadAppInit_DLLs WORD.
  6. then enter 0 in it value data box if that DWORD is set differently.
    The EDIT DWORD window
  7. Click OK to apply the new value to LoadAppInit_DLLs DWORD.
  8. Close Registry Editor and restart your PC.

10. Reinstall the affected software packages

The final possible solution is to reinstall the software packages for which the 0xc0000142 error occurs. Doing so will update and repair the software files, which might be necessary if other resolutions don’t work. Reinstallation is also another way to update apps.

The Uninstall Option

There are many ways to uninstall software in Windows and you can choose any method to remove the application. However, if the error occurs when you open a game, you may need to uninstall it with your client software, such as Epic Games Launcher. Then reinstall the latest version of the app or game by downloading it from your website or game client.

Get Error 0xc0000142 Resolved in Windows 11 and Windows 10

Fixing error 0xc0000142 is not always simple because it is a problem with many possible causes. There are numerous confirmed ways to fix that problem, many of which are covered here. Therefore, you will probably have to try applying at least a few of those troubleshooting methods to find one that will fix the 0xc0000142 error on your PC.

Various third-party repair tools for Windows 11 and Windows 10 can also be helpful in fixing error 0xc0000142. Windows Repair, Advanced SystemCare, and Windows Repair Toolbox are among the best free repair tools to fix software problems.