You may encounter issues if DLL files need to be added to your Windows PC. DLL error code 0xc0000142 is an issue that can arise from missing or damaged DLL files. Well, the error message “The application was unable to start correctly (0xc0000142)” may appear if you attempt to launch a program on your PC and encounter this error. Typically, this issue is caused by the DLL file or problems with the Visual C++ Redistributable package. This post will help you fix the problem if the application does not launch on your PC and you receive the error code 0xc0000142.
The Application Was Unable To Start Correctly (0xc0000142)? How To Fix
To help you fix “The Application Was Unable to Start Correctly (0xc0000142),” here are some troubleshooting steps.
Fix Corrupted Files
Typically, this error is caused by corrupted system files. You can run SFC scan on your PC to scan for corrupted files and fix them.
- Click the Start icon in the taskbar, input Command Prompt, select it, and then click Run as administrator. Execute the command described below in the terminal.
sfc /scannow
- The process will take some time; restart your PC when the percentage reaches 100%.
Update WindowsÂ
This issue was resolved for many users by upgrading Windows to the most recent version. Check to see if you still face the issue after updating Windows.
- Press the Windows key, then click the Settings icon.
- Click Windows Update on the left, then click the Check for Updates icon on the right.
- Any available updates will be displayed on this page; download and install them.
Scan PC For Virus
Viruses and malware could corrupt your system and system files. You can repair the virus infection by running a virus scan. Follow the instructions below to scan your PC for viruses.
- Click the first option after opening the Start Menu and searching for Windows Security.
- Click Virus & Threat Protection, then Scan Options.
- To run the virus scan, select Full Scan and then click Scan Now.
- The issue will be fixed after the Scan is complete.
Running Windows Security to scan your PC for the virus is unnecessary. If you’ve a third-party antivirus installed on your PC, you can use it to run the virus scan.
Run Program In Compatibility Mode
The ‘The Application Was Unable to Start Correctly (0xc0000142’ error may also occur if the program is incompatible with the operating system. Launching the program in compatibility mode to fix this issue.
- Right-click the program’s desktop icon and then click Properties. Follow the steps below if the program icon is not on your desktop.
- Press the Windows key, search for the program you are facing a problem with, right-click on it, and then click Open File Location.
- In the next window, right-click the program icon and select Properties.
- Under the Compatibility pane, select the Run this program in compatibility mode for the checkbox.
- Select Windows 7 or Windows 8 now by clicking the drop-down menu.
- Click Apply, followed by OK, to save your changes.
Reregister DLL Files
Reregistering the DLL files is another method you can attempt. By following the instructions listed below, you can reregister the DLL files.
- To begin, run the Command Prompt as administrator.
- Now, execute each of the following commands sequentially.
for %i in (%windir%\system32*.dll) do regvr32.exe / s%i
for %i in (%windir%\system32*.dll) do regvr32.exe / s%i
- The issue ought to be fixed after that.
Reinstall Redistributable Packages
The Visual C++ Redistributable package may also cause you to face this issue. It can be reinstalled to fix the issue.
- Press the Windows key, type Control Panel into the search bar, and click the appropriate result.
- Click the Uninstall a program option under Programs.
- There will be multiple Microsoft Visual C++ Redistributable packages listed in this section.
- Select the package, then click the Uninstall button. Click Uninstall again to validate the program’s removal.
- On your PC, repeat this process for each Visual C++ Redistributable package.
- Click this link to visit the official Microsoft Visual C++ Redistributable package page.
- Here, you can acquire the file by clicking the acquire option.
- Press the Windows + E key combination to open File Explorer and navigate to the downloaded file’s location.
- Double-click the downloaded file to run the installation wizard. To install the program on your PC, heed the on-screen instructions.
The Bottom Line:
Issues such as ‘The Application Was Unable to Start Correctly (0xc0000142)’ are common in Windows, and the steps mentioned above should assist in fixing this issue. If the problem persists, you may need to reset or reinstall your Windows PC. This guide helped resolve the issue you’ve been facing.