Troubleshoot an App That Closes Immediately After Launch
Before you begin
- Applies to:A Windows 11 app that exits immediately after you open it.
- Where to start:Use the affected Windows account and reproduce the failure once before changing anything.
- What you need:If approved, download Process Monitor from Microsoft Sysinternals. Run it with administrator rights when the guide reaches that step.
Guide tools
Troubleshooting Steps
Find out what triggers the app to close
Start hereWhere to click
- Open Start, search for the app, and launch it without opening a document. Record the time, the app version if available, and whether it closes before a window appears, after the splash screen, or after the main window opens.
- If the app closes only when opening a file, try a trusted blank file of the same type. If the blank file opens, investigate the original file or its location first.
- If it closes on every launch, try the same app version from another authorized account on the same PC, if available.
What to look for · If the app works in the other account, start with the affected account’s settings or add-ins. If it fails in both accounts, or a second account is unavailable, look for a matching crash event in Step 2 before capturing a Process Monitor trace.
Correlate the failure with an event
Collect evidenceWhere to click
- Open Start, search for Event Viewer, and open it.
- In the left pane, expand Windows Logs and select Application.
- Compare the event time and executable name with the failed launch.
What to look for · In the Application log, look for Application Error and Windows Error Reporting entries around the same time. Record the executable, faulting module, and exception code when present. Event IDs 1000 and 1001 are common clues. A Windows DLL in the report does not establish the cause.
Capture one failed launch
Narrow the causeWhere to click
- In Process Monitor, stop Capture Events and choose Clear Display.
- Start Capture Events, launch the app once, and stop the capture.
- Use Filter or Process Tree to find the affected process.
What to look for · Keep the capture short. If a launcher starts a child process, use the Process Tree to identify the child and include its events. Filter by image or PID, then review operations immediately before process exit.
Confirm the suspected dependency
Choose a fixA single NAME NOT FOUND often reflects a normal lookup. Look for a required path or denied operation that repeats and differs from a working launch. Check configuration or install prerequisites before repair. Keep security controls enabled and avoid broad permissions changes.
Apply and verify one correction
VerifyUse the vendor’s supported repair for the confirmed missing component, or have the owner correct access to the exact required path. Retest the same launch and trusted file under the affected account. Check that no matching failure event appears.
Decide What to Do Next
| Finding | Next action |
|---|---|
| Only one user fails | Compare per-user configuration and access with a working authorized account. |
| Required file is consistently missing | Check the vendor’s runtime or application repair instructions. |
| Same required path returns ACCESS DENIED | Have the owner verify the intended access on that path. |
References
Your feedback keeps these production procedures accurate and battle-tested.