At times, a Microsoft Store app or a classic Program abruptly closes as soon as you launch it. This can happen with classic programs, i.e., EXE-based programs, or even with UWP apps you download from the Microsoft Store.
The tough part about these situations is that they happen without a fixed reason. It can be because of a permission, storage, or installation issue—the possibilities are immense. In this post, we will suggest solutions to the problem where Windows 11/10 apps open and close immediately.
Here, we will discuss both classic programs and Microsoft Store Apps. The latter also includes games, so if any games you downloaded from the store are causing a problem, they will help you resolve it.
Windows Programs close unexpectedly
If a Microsoft Store UWP app or a classic exe Program closes unexpectedly when you launch it, you can reset, repair, or reinstall it. Let’s take a look at Win32 programs first.
1] Repair the Program
Many programs come with a built-in repair option, or the developer offers a program to help you repair the software. As we are not discussing one particular software, you may have to search if the program offers anything similar.
You can repair the installed program via Settings or the Control Panel.
2] Launch with Admin Privileges
Maybe the application needs to launch with admin permission to work correctly. Usually, the programs will make sure the UAC prompt appears, but if, for some reason, it is not able to, then here is what you can do.
When you want to launch the program, right-click and choose the “Run as Administrator” option. Alternatively, you can follow this guide to set it to always launch with admin privileges.
3] Uninstall and Reinstall Programs
If nothing else works, you may uninstall and then reinstall the program. This time, when you do it, make sure to run the installer with admin permission. That will ensure that it has all the permissions that it needs.
Windows apps open and close immediately
To resolve the problem, try the following methods to see if they help Microsoft Store UWP apps avoid this behavior. You will need admin permission for some of them.
1] Repair or Reset the UWP Application
Like we repair or reinstall classic programs, UWP apps can be reset. Once the reset is made, the program will behave as if it had been installed again.
- Open Windows Settings (Win + 1) and go to the Apps section.
- Select the app, and click on the Advanced Options link
- Scroll to find the Reset section, and you have two options.
- Repair—It will help if the app isn’t working right. App’s data is not affected.
- Reset—If the above option doesn’t help, the app will be reinstalled and reverted to default settings.
Make sure first to use Repair and then the Reset option.
2] Reinstall Microsoft Store Apps
If reset and repair don’t work, it would be best to Reinstall Windows Store apps. First, you will have to uninstall them, and here, you can use PowerShell Command, Windows Settings, or 10AppsManager.
Having done that, visit the Microsoft Store to download and install it.
When I click on an App, it closes immediately
If your apps open when you click on them and close automatically immediately, then either their installation has become corrupted or a third-party process is interfering with their smooth functioning. Repairing the app or troubleshooting the issue in Clean Boot State will help.
Read: Microsoft Store not opening or closes immediately after opening.
I hope the post was easy to follow.
How do I fix Microsoft Store crashing on startup?
You can use the wreset program to fix the Microsoft Store quickly, or you can go to the Apps section, first repair it, and then reset it. If nothing else works, update Windows, then restart to check if the issue is resolved.
Can I uninstall and reinstall Microsoft Store?
No, you cannot, not from the Windows UI. You must use a PowerShell script with admin permission to remove the store and then install it again using the script. Since it is part of the core, uninstalling is usually not an option.