尝试在 Windows PC 上启动应用程序时,您是否收到“应用程序无法(Application Was Unable)正确(Correctly)启动(0xc0000142)”错误?(error while trying to launch an app)如果是这样,您可以更新过时的工具、修复损坏的文件并应用其他一些方法来解决错误。我们会告诉你怎么做。
通常,导致问题的是您 PC 的各种软件组件,而不是您的应用程序本身。您可以使用一些解决方案来修复这些组件并让您的应用程序正常运行。
重新启动您的 Windows 10/11 电脑
当您的应用无法启动(app fails to launch)时,最简单的修复方法是重新启动您的 PC。这样做通常会修复系统上的许多小问题,可能会解决您的应用程序错误。
确保(Make)在重新启动 PC 之前保存未保存的工作。
- 打开开始(Start)菜单并选择电源(Power)图标。
- 在菜单中选择重新启动。
- 计算机重新启动时启动您的应用程序。
使用管理员权限运行您的应用程序
某些应用程序需要管理员权限才能完全运行,您的应用程序可能就是其中之一。在这种情况下,请使用Windows选项以管理员身份运行您的应用,(run your app as an admin)以查看是否修复了错误代码 0xc0000142。如果是这样,请让Windows始终以管理员权限启动您的应用程序。
- 右键单击应用程序的快捷方式,然后选择以管理员身份运行。(Run)
- 在用户帐户控制(User Account Control)提示
中选择是。(Yes)
如果您可以在管理员模式下启动应用程序,请要求Windows始终以管理权限启动此特定应用程序快捷方式:
- 右键单击应用程序的快捷方式并选择属性。
- 选择快捷方式(Shortcut)选项卡并选择高级(Advanced)。
- 激活以管理员身份运行(Run)选项并选择确定。
- (Choose Apply)在“属性(Properties)”窗口中
选择“应用”,然后选择“确定” 。
以兼容模式(Compatibility Mode)打开您的应用程序
您收到“应用程序无法(Application Was Unable)正确(Correctly)启动(0xc0000142)”错误的原因之一是您的应用与您的Windows版本不兼容。当您从旧操作系统版本
升级 PC时,通常会发生这种情况。(upgrade your PC)
为了解决这个问题,Windows 允许您以兼容模式启动应用程序(launch your apps in compatibility mode)。此模式使您的应用感觉像是在旧版本的Windows上运行。
- 右键单击应用程序的快捷方式并选择属性。
- 访问兼容性选项卡。
- 启用以兼容模式运行(Run)此程序。
- 访问选项下方的下拉菜单并选择Windows版本。我们建议选择您的应用运行良好的版本。
- 通过选择应用(Apply),然后在底部选择确定
来保存您的更改。
- 启动您的应用程序。
更新您的Windows 版本(Windows Version)以修复应用程序错误 0xc0000142(Application Error 0xc0000142)
您的应用无法加载(app fails to load)的一个可能原因是您使用的是过时的Windows版本。旧版本通常有许多在新版本中修复的错误。
在这种情况下,您可以更新您的 Windows 操作系统版本(update your Windows operating system version),看看是否能解决问题。
- 按Windows + I
打开设置。
- (Select Update)在设置中(Settings)选择更新和安全(Security)。
- (Choose Windows Update)在左侧边栏中
选择 Windows 更新。
- (Select Check)在右侧窗格中选择检查更新。
- 安装可用的更新。
- 重新启动您的电脑。
- 启动您的应用程序。
在 Windows 上更新 .NET Framework
某些Windows应用程序需要最新的 .NET Framework版本才能运行。如果您的应用是其中之一,请将已安装的 .NET Framework工具更新到最新版本,您的应用应该会成功启动。
- 在您的 PC 上打开 Web 浏览器并前往.NET 下载(.NET Download)站点。
- 在列表中选择最新的 .NET Framework版本。
- 选择适合您的操作系统的版本。
- 双击(Double-click)下载的文件开始安装该工具。
- 重新启动您的应用程序。
- 运行您的应用程序。
在 Windows 上更新 DirectX
如果您在尝试启动游戏时遇到“应用程序无法(Application Was Unable)正确(Correctly)启动(0xc0000142)”错误,请更新已安装的 DirectX 版本(update your installed DirectX version)以解决您的问题。
- 在您的网络浏览器中
前往Direct X 下载站点。(Direct X download)
- 从下拉菜单中选择您的语言,然后选择下载(Download)。
- 启动下载的文件并安装最新的 DirectX 版本。
- 重启你的电脑。
- 打开您的应用程序。
卸载并重新安装应用程序
您的应用的核心文件可能已损坏,导致 Windows 无法成功启动该应用。您可以通过删除所有核心文件(removing all core files)并在您的 PC 上重新安装应用程序
来解决此问题。
- 按Windows + I 打开设置(Settings)。
- 在设置中选择应用程序。
- 在列表中选择您的应用,然后选择卸载(Uninstall)。
- 在提示中选择卸载。
- 运行应用的安装程序以重新安装应用。
- 如果您的应用仍未打开,请重新下载并重新运行应用安装程序。
重新安装Microsoft Visual C++ Redistributable
Microsoft’s Visual C++ Redistributable是在您的 PC 上运行各种应用程序的重要组件。如果该项目已损坏,您必须在系统上卸载并重新安装该项目。
- 通过访问“开始(Start)”、搜索“控制面板(Control Panel)”并在搜索结果中选择应用程序来
打开“控制面板”。(Control Panel)
- (Select Uninstall)在控制面板中(Control Panel)选择卸载程序。
- 在列表中选择您的Microsoft Visual C++ Redistributable版本,然后选择顶部的卸载。(Uninstall)
- 在提示中选择是。
- 使用上述步骤从系统中删除所有版本的组件。
- 在 Web 浏览器中
打开Microsoft Visual C++ Redistributable
- 运行下载的文件以安装组件。
修复 Windows 的损坏和丢失(Missing)文件
如果您的系统文件损坏或丢失,Windows可能会显示各种错误,包括您在尝试启动应用程序时看到的错误。您无法自行修复这些文件,因此您可以使用Windows的内置系统文件检查器(System File Checker)来自动查找和修复损坏和丢失的核心文件(find and fix corrupt and missing core files)。
- 打开开始(Start),找到命令提示符(Command Prompt),在右侧选择以管理员身份运行。(Run)
- (Choose Yes)在用户帐户控制(User Account Control)提示中选择是。
- (Enter)在CMD中(CMD)输入以下内容并按Enter:DISM.exe /Online /Cleanup-image /Restorehealth
- 接下来,运行以下命令并按 Enter:sfc /scannow
- 等待(Wait)该工具查找并修复系统的错误文件。
- 重新启动您的电脑。
使用多种方法(Multiple Methods)解决 Windows 的“应用程序无法(Application Was Unable)正确启动”错误
如果您在Windows PC 上启动应用程序时遇到问题,原因可能包括文件损坏和软件版本过时。使用上述各种方法,您可以修复Windows错误并让您的应用正常运行。祝你好运!
How to Fix “The Application Was Unable to Start Correctly (0xc0000142)” Error in Windows
Do you get a “Thе Application Wаs Unable to Start Correctly (0xc0000142)” error while trying to launch an app on your Windows PC? If so, you can update outdated tools, fix corrupt files, and apply a few other ways to resolve the error. We’ll show you how.
Often, it’s your PC’s various software components that cause the issue, not your app itself. You can use a few solutions to fix those components and get your app running properly.
Restart Your Windows 10/11 PC
When your app fails to launch, the easiest fix to apply is to reboot your PC. Doing so usually fixes many minor problems on your system, possibly resolving your application error.
Make sure you save your unsaved work before rebooting your PC.
- Open the Start menu and select the Power icon.
- Choose Restart in the menu.
- Launch your app when the computer reboots.
Run Your App With Admin Rights
Some apps require admin privileges to function fully, and your app may be one of them. In this case, use a Windows option to run your app as an admin to see if that fixes the error code 0xc0000142. If it does, make Windows always launch your app with admin rights.
- Right-click your app’s shortcut and select Run as administrator.
- Select Yes in the User Account Control prompt.
If you can launch the app in admin mode, ask Windows to always launch this particular app shortcut with administrative privileges:
- Right-click your app’s shortcut and choose Properties.
- Select the Shortcut tab and choose Advanced.
- Activate the Run as administrator option and select OK.
- Choose Apply followed by OK on the Properties window.
Open Your Application in Compatibility Mode
One reason you get the “The Application Was Unable to Start Correctly (0xc0000142)” error is that your app isn’t compatible with your Windows version. This usually happens when you upgrade your PC from an old operating system version.
To fix that, Windows allows you to launch your apps in compatibility mode. This mode makes your app feel like it’s running on an older version of Windows.
- Right-click your app’s shortcut and choose Properties.
- Access the Compatibility tab.
- Enable Run this program in compatibility mode for.
- Access the drop-down menu beneath the option and choose a Windows version. We recommend choosing the version where your app worked fine.
- Save your changes by selecting Apply followed by OK at the bottom.
- Launch your app.
Update Your Windows Version to Fix the Application Error 0xc0000142
A possible reason your app fails to load is that you’re using an outdated Windows version. Older versions often have many bugs that are fixed in newer versions.
In this case, you can update your Windows operating system version to see if that resolves the problem.
- Open Settings by pressing Windows + I.
- Select Update & Security in Settings.
- Choose Windows Update in the sidebar on the left.
- Select Check for updates in the pane on the right.
- Install the available updates.
- Reboot your PC.
- Launch your app.
Update .NET Framework on Windows
Some Windows apps require the newest .NET Framework version to function. If your app is one of them, update your installed .NET Framework tool to the latest version, and your app should successfully launch.
- Open a web browser on your PC and head to the .NET Download site.
- Select the latest .NET Framework version on the list.
- Choose the version for your operating system.
- Double-click the downloaded file to start installing the tool.
- Reboot your app.
- Run your app.
Update DirectX on Windows
If you’ve encountered the “The Application Was Unable to Start Correctly (0xc0000142)” error while trying to launch a game, update your installed DirectX version to resolve your issue.
- Head to the Direct X download site in your web browser.
- Select your language from the drop-down menu and choose Download.
- Launch the downloaded file and install the latest DirectX version.
- Restart your computer.
- Open your app.
Uninstall and Reinstall the Application
Your app’s core files may have gone corrupt, preventing Windows from successfully launching the app. You can fix this issue by removing all core files and reinstalling the app on your PC.
- Press Windows + I to open Settings.
- Select Apps in Settings.
- Select your app on the list and choose Uninstall.
- Select Uninstall in the prompt.
- Run your app’s installer to reinstall the app.
- If your app still doesn’t open, redownload and re-run the app installer.
Reinstall Microsoft Visual C++ Redistributable
Microsoft’s Visual C++ Redistributable is an essential component to run various apps on your PC. If this item has become corrupt, you’ll have to uninstall and reinstall the item on your system.
- Open Control Panel by accessing Start, searching for Control Panel, and selecting the app in the search results.
- Select Uninstall a program in the Control Panel.
- Choose your Microsoft Visual C++ Redistributable version on the list and select Uninstall at the top.
- Select Yes in the prompt.
- Use the above steps to remove all versions of the component from your system.
- Open the Microsoft Visual C++ Redistributable site in your web browser and download the latest package.
- Run the downloaded file to install the component.
Fix Windows’ Corrupt and Missing Files
If your system files have gone corrupt or missing, Windows may display various errors, including the one you’re seeing when attempting to launch your app. You can’t fix these files by yourself, so you can use Windows’ built-in System File Checker to automatically find and fix corrupt and missing core files.
- Open Start, find Command Prompt, and select Run as administrator on the right.
- Choose Yes in the User Account Control prompt.
- Enter the following in CMD and press Enter: DISM.exe /Online /Cleanup-image /Restorehealth
- Next, run the following command and press Enter: sfc /scannow
- Wait for the tool to find and fix your system’s faulty files.
- Reboot your PC.
Troubleshoot Windows’ “The Application Was Unable to Start Correctly” Error With Multiple Methods
If you have trouble launching an application on your Windows PC, the causes likely include corrupt files and outdated software versions. Using the various methods outlined above, you can fix your Windows error and get your app working. Good luck!