Apps · Windows 11
Fix an app that opens and closes instantly when you launch it
An app that flashes open and vanishes is crashing in its first seconds, long before its window can stay up. Repair or reset the app first, read the exact fault in Event Viewer next, and change the graphics or reinstall route only for the branch that matches.
What you need
- The app's exact name and where it came from. Microsoft Store apps repair through Settings; programs installed from a download repair through their own installer.
- A note of what changed. A Windows update, a graphics driver update, or the app's own update landing just before the first crash is the strongest clue.
- Admin access for the later steps only. Repair, reset, and the event log need none to start.
Read the problem before you touch it
- Separate one app from every app. Launch two or three other apps. If they open and stay open, Windows is fine and this one app's files or settings are broken. If several apps flash and vanish, suspect a shared piece — graphics driver or system files — instead.
- Watch how far it gets. A window outline that appears and dies points to a crash during startup. A splash screen that completes and then closes points at a sign-in, license, or profile check failing at the end of startup. No visual trace at all points at a blocked launch.
- Try a different launch route once. Start the app from the Start menu search rather than a pinned shortcut. If the shortcut is the only broken route, the shortcut is the problem and the app never was.
The simple fixes, in order
- Restart the PC and try once. A crashed first instance can leave a background process holding the app's files, so every later launch hands off to the dead process and closes. A restart clears that cleanly.
- Repair the app. For a Microsoft Store app, go to Settings > Apps > Installed apps, open the app's Advanced options, and choose Repair. Repair keeps the app's data. If the app has no Advanced options entry, it is a desktop program instead — repair it from its own installer's repair option. Microsoft sets out both routes in Repair apps and programs in Windows.
- Reset it if repair was not enough. In the same Advanced options, choose Reset. This clears the app's local data and sign-in, which is exactly what fixes a corrupted profile or cache that kills the app at startup — sign in again afterward.
- Update the app and Windows. For a Store app, open Microsoft Store and check Library for its update; Microsoft's route for stubborn Store apps is in Fix problems with apps from Microsoft Store. Then run Windows Update once, since a pending update and an updated app can disagree about shared components.
The advanced route
- Read the crash in Event Viewer. Open Event Viewer, go to Windows Logs > Application, launch the app once more, and refresh. The newest Application Error entry names the faulting module. A graphics or display module in that line points at the driver; the app's own file points at the app; a shared Windows component points at system files.
- Change the graphics preference for that app. If the faulting module is graphics-related, go to Settings > System > Display > Graphics, add the app if it is not listed, and set it to the other graphics option — power saving instead of high performance, or the reverse. A startup crash tied to one graphics processor often disappears on the other. Updating the driver itself follows Update drivers manually in Windows.
- Uninstall and reinstall cleanly. Uninstall the app, restart, then install a fresh copy from the Store or the maker's download — not from an old installer saved months ago. For a desktop program, that fresh install replaces the startup files that repair could not.
- Repair system files if the faulting module is a Windows component. Open Windows Terminal as administrator, run
DISM /Online /Cleanup-Image /RestoreHealth, then runsfc /scannow. Microsoft documents both in Using System File Checker in Windows.
End state
- The app opens, stays open, and survives being closed and launched three times in a row.
- No new Application Error for that app appears in Event Viewer on launch.
- The app still opens after a full restart, not just in the current session.
When it goes wrong
- Reset and reinstall both fail the same way. The app's stored data may live outside its folder — in your documents or a cloud sync. Sign out of the app's account on its website if it has one, and clear its synced profile there before the next install.
- The app opens under a different Windows account but not yours. Your profile's copy of its settings is the fault. Resetting was meant to clear that; if it did not, uninstall, remove the leftover folder the app leaves under your user folder, and reinstall.
- Several unrelated apps started doing this on the same day. That is no longer an app problem. Roll back the most recent graphics driver or Windows update first, then run the DISM and SFC repair.
Related fixes
-
Fix a PC that freezes only when you open one specific app
Isolate the app from the system: repair or reset it in Settings, reinstall it cleanly, change its graphics preference, read the faulting module, and test a new user profile.
-
Fix Windows Security that opens blank or will not open
When Windows Security opens to a blank page, or closes as soon as it starts, the app package or its service is usually damaged, not the protection itself. Reset the app first, check the service next, then repair the system files if the window still will not load.
-
Fix a file that opens with the wrong app no matter how many times you set the default
A file that keeps opening in the wrong app after you have set the default more than once usually means the association itself is damaged or an app is resetting it. Set it by file type first, reset the offending app next, and rebuild the association only if it still will not stick.
-
Fix Windows 11 apps that crash on opening or close instantly
An app flashes on screen and vanishes, or closes the moment it opens. Repair the one app first, then the Store underneath, then the system files.
Sources
- Microsoft Support, Repair apps and programs in Windows — the Repair and Reset options and what each one keeps or clears.
- Microsoft Support, Fix problems with apps from Microsoft Store — updates, cache, and account fixes for Store apps that will not stay open.
- Microsoft Support, Update drivers manually in Windows — updating and reinstalling a device driver from Device Manager.
- Microsoft Support, Using System File Checker in Windows — running DISM and SFC to repair missing or corrupted system files.