“Application Error” Won’t Go Away on Windows 11

Published by Nyau Wai Hoe - Updated on

If you’re seeing an “Application Error” pop-up on your Windows 11 or 10 computer that won’t go away even after clicking “OK“, it usually means that an app or process is repeatedly failing to start correctly. This guide will help you understand why this happens and show you how to figure out and close the problematic app causing the repetitive error message.

Also see: Force Close Program in Windows 11 without Task Manager

Application Error Won't Go Away on Windows 11

Why the “Application Error” pop-up won’t go away after clicking “OK”

When you see an error message like “The application was unable to start correctly (0xc0000142). Click OK to close the application,” it just means that Windows is unable to launch a specific application or process. If clicking “OK” doesn’t dismiss the error permanently and it keeps popping up, it’s usually because the app is stuck in a loop, attempting to start over and over again.

The error can happen due to:

  • The application’s core files might be damaged or missing.
  • Malware or a virus can interfere with normal application behavior.
  • An app set to launch at startup but failing repeatedly.
  • A hidden process is causing the error without your direct interaction.

Application errors often happen with programs like Python, Adobe apps, Office apps, games, or even certain drivers. While the process name will usually be shown in the error, like in my case, where it was python.exe that was causing the error, there are times when, just by looking at the process name, it’s difficult to know which app or service is actually causing the problem.

Might be useful: Restart Explorer.exe with CMD or PowerShell in Windows 11

Recall what you were doing

The first step is to think back to what you were doing before the error popped up. Were you launching a specific application? Did you install or update any software recently?

Sometimes the error message itself can tell you which application is causing the issue, like in the “python.exe – Application Error” example. If the error window references a specific process or program, it narrows down the search.

Close the app or process via Task Manager

If clicking “OK” on the application error message doesn’t stop it from reappearing, the app might still be running in the background. In that case, you can try to manually close it using Task Manager.

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Go to the “Processes” tab.
  3. Look for the process that matches the name in the “application error” message. For example, if the error mentions “example.exe”, search for “example.exe” in the list using the search bar.
  4. If you can’t find the process in the “Processes” tab, check the “Details” tab instead.
  5. Once you’ve found the problem process, right-click it and select “End task” to force close it.End task Process causing Application Error

If you don’t recognize the process causing the issue, pay attention to applications running in the background. This will include processes associated with the program. For example, in my case, python.exe was running in a cmd.exe session (Command Prompt), so I had to close the cmd.exe to stop python from repeatedly running itself and failing.

Linked issue: Task Manager Not Responding in Windows 10 or 11

Use command line to force close the problem process

If you cannot open Task Manager or close the process from there for any reason, you can try to use the Command Prompt to force close it instead.

  1. Open Command Prompt as an administrator.
  2. Type the following command:
    taskkill /f /im example.exe

    Replace “example.exe” with the name of the problem process you identified earlier. This command will forcibly terminate the app and stop it from triggering further errors.

Taskkill command to force close process in CMD

Use Event Viewer to trace the error source

If the error is too elusive or if Task Manager doesn’t provide enough information, you can use Event Viewer to check the logs for details about the error.

  1. Press Win + R, type eventvwr.msc, and press Enter to open Event Viewer.
  2. Go to Windows Logs > Application.
  3. Look for error events that correspond with the time when the application error first appeared. The details provided can help you identify which app is causing the issue.Check Event Viewer for Blue Screen Error

The information in Event Viewer usually includes the executable name, which can give you some clues about which software is actually causing the problem and what you should do about it (reinstalling it would be a good first step).

Uninstall and reinstall the problem app

If you’ve already identified which program is causing the “application error” pop-up, uninstall the program and then reinstall it. This should solve any problems that were caused by corrupted or missing files. Also, make sure you download the latest version of the app in case the issue was due to outdated files.

Check the startup programs

If you’re seeing the error every time you start Windows, it might mean that an app set to automatically start with Windows is triggering the error. If it’s not an app you need, you can disable it from the startup programs section in Task Manager.

  • In Task Manager, click on the Startup tab.
  • Review the list of startup programs and disable any apps you don’t recognize or don’t need by right-clicking and selecting Disable.Disable Startup Programs in Windows 11

Related concern: Unknown Program in Task Manager Startup Tab Windows 11/10

    Run a full virus scan for your PC

    There are cases where sudden and continuous appearance of random “application errors” may be caused by malware or viruses, which are often made to keep running in the background. Regardless, you should run a full system scan to eliminate this possibility.

    If you’re using Windows Defender (default security program in Windows 11 and 10):

    1. Open Windows Security by clicking on the shield icon in your taskbar or searching for it in the Start menu.
    2. Go to Virus & threat protection.
    3. Select Full scan and let the system check for any threats.Run full virus scan Windows 11 Microsoft Defender

    If any threats are found, follow the instructions to remove them and restart your computer.

    Run SFC and DISM if it’s related to Windows files

    If the application error is associated with a Windows-related file, you might want to try running System File Check (SFC) as well as DISM (Deployment Image Servicing and Management). These tools will help find out and repair any corrupted or missing system files.

    1. Open Command Prompt as an administrator.
    2. Type the following command and press Enter:
      sfc /scannow

      SFC scannow successful repair Windows 11

    3. Test if the issue persists. If it’s still there, try to also run the following commands:
      DISM /Online /Cleanup-Image /ScanHealth
      DISM /Online /Cleanup-Image /RestoreHealth

      Run DISM Windows 11

    4. After the scan, restart your computer.

    Nyau Wai Hoe
    Nyau Wai Hoe is the Founder and Chief Editor of WindowsDigitals.com. With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

    Share via
    Copy link