When DLL files go missing, your Windows PC may start showing issues. One such issue you can encounter due to missing or corrupted DLL files is error code 0xc0000142. This error might occur when you try launching some program on your PC, and you may get the error message โThe application was unable to start correctly (0xc0000142).โ
Generally, the reason behind this issue is the DLL file or due to some issues with the Visual C++ Redistributable package. If the application does not start on your PC and you are getting 0xc0000142, then this guide will help you fix it.
Ways to Fix the Application was Unable to Start Correctly (0xc0000142)
Given below are various troubleshooting steps to help fix โThe Application Was Unable to Start Correctly (0xc0000142)โ-
1. Fix Corrupted Files
This error is generally encountered due to corrupted system files. You can run SFC scan on your PC to scan for corrupted files and fix them. To do so, follow the steps given below-
- Click on theย Startย icon on the taskbar, typeย Command Prompt, select it, and then click onย Run as Administrator. In the terminal, execute the command written below-
- sfc /scannow
- The process will take some time; wait till the status reaches 100% and then restart your PC.
2. Update Windowsย
Updating Windows to the latest version worked out for many users and solved this issue. You can try updating the Windows and check if you still face the issue or not.
- Pressย Windowsย key and then click on theย Settingsย icon here.
- Click onย Windows Updateย from the left, and then on the right side, click on theย Check for Updatesย button.
- Any updates available will be listed on this screen; download and install them.
3. Scan PC for Virus
Viruses and malware may mess up your system and corrupt your system files. You can run a virus scan to repair the virus infection. To scan your PC for the virus, follow the steps given below-
- Open theย Start Menu, search forย Windows Securityย and click on the first option that appears.
- Here, click Virus & threat protectionย and then click onย Scan Options.
- Next, selectย Full Scan and click onย Scan Nowย to run the virus scan.
- Wait till the scan is completed and the issue will be fixed.
It is unnecessary to run Windows Security to scan your PC for the virus. If you have a third-party antivirus on your PC, then you can use it to run the virus scan.
4. Run the Program in Compatibility Mode
โThe Application Was Unable to Start Correctly (0xc0000142)โ may also be encountered due to the programโs incompatibility with the system. You can try running the program in compatibility mode to fix this issue.
- Right-click on the program icon on the desktop, and then click onย Properties. If the program icon is not on the desktop, then follow the steps given below-
- Press theย Windowsย key, search for the program you are facing the problem with, right-click on it and then click onย Open File Location.
- Now, right-click on the program icon on the next window and click on Properties.
- Here, under theย Compatibilityย tab, check the checkbox forย Run this program in compatibility mode for.
- Now, click on the drop-down menu and selectย Windows 7ย orย Windows 8.
- Click onย Applyย and then onย OKย to save the changes.
5. Reregister DLL Files
Another thing that you can try doing is reregistering the DLL files. You can reregister the DLL files by following the steps given below-
- Firstly, run theย Command Promptย as administrator.
- Now, execute the following commands one by one-
-
for %i in (%windir%\system32*.dll) do regvr32.exe / s%i
-
for %i in (%windir%\system32*.dll) do regvr32.exe / s%i
-
- Once done, the issue should be fixed.
6. Reinstall Redistributable Packages
You may also face this issue due to the Visual C++ Redistributable package. You can try reinstalling it to fix the issue.
- Press theย Windowsย key, search forย Control Panelย and click on the relevant search result.
- Here under theย Programsย section, click onย Uninstall a programย option.
- You will see Microsoft Visual C++ Redistributable package here; there will be multiple packages listed here.
- Select the package, and then click onย Uninstall. Click onย Uninstallย again to confirm uninstalling the program.
- Do this for all the Visual C++ Redistributable packages on your PC.
- Now, visit the official page of the Microsoft Visual C++ Redistributable package by clicking on thisย link.
- Here, click on theย Downloadย button to download the file.
- Pressย Windows + Eย key combo to openย File Explorerย and head to the location where the downloaded file is saved.
- Double-click on the downloaded file to run the installation wizard. Follow the on-screen instructions to install the program on your PC.
Conclusion
Issues like โThe Application Was Unable to Start Correctly (0xc0000142)โ are common with Windows, and the above steps should help fix this issue. In case the issue is still encountered, then you might have to reset your Windows PC or reinstall Windows. We hope this guide helped solve the issue you have been facing.