Sometimes Windows Store apps may keep crashing every time you run it, in Windows 11/10. This may happen for no apparent reason. As a solution, you may have tried running the App Troubleshooter or even successfully uninstalling and then reinstalling the app. But still, you may find that the app may continue to crash even after the reinstallation.
Windows Store apps crashing in Windows 11/10
If your Windows Store app is crashing every time you run it, you may want to check out these posts before you proceed:
- How to Repair Windows Store Apps
- Troubleshoot and Fix Apps problems with Windows Apps Troubleshooter
- Fix: Random Windows UWP App Crashes
If none of these help, the final solution could possibly be to completely uninstall and remove the particular app from your Windows 8 device. To do so, you can use PowerShell and scripting to Perform a Clean Uninstall of the Windows Store app.
Completely Remove all Microsoft Store apps using PowerShell script
Note: I am not familiar with PowerShell, having used it for the first time now. But when I found my Windows Phone app constantly crashing in spite of having reinstalled it and trying other troubleshooting steps, I decided to use this script. This was the first time that I had opened PowerShell! It was only after some trial and error that I was able to get the script to work. Based on what I read at the TechNet Script Center post, this is the way I went about it. It worked for me and I hope it does for you too.
First, I recommend you create a system restore point.
Having done that you will have to allow active scripting on your Windows 8 computer. Because, by default, for security reasons, PowerShell’s execution policy is set to Restricted. This means that scripts won’t run. In such a scenario, if you try to run a script, you will get an error:
Running scripts is disabled on this system
Open Powershell as an administrator. To do so, while on the start screen, type powershell, and on the result, right-click and select Run as administrator.
Type Set-ExecutionPolicy -ExecutionPolicy Unrestricted and hit Enter.
Type Y again as confirmation and hit Enter again. This will change the Execution Policy.
Now, download this script from Microsoft and extract the contents of the zipped file.
Open RemoveWindowsStoreApp with a Notepad. Scroll down to the end of the script file, and then add the command that you want to run – in this case, Remove-OSCAppxPackage. Save the script.
Next, run the script using PowerShell. Check the path. Change the directory if need be, Type cd C:\ and hit Enter. Then place the RemoveWindowsStoreApp on your C drive if need be.
When you run the script, it will first list all the installed apps along with the app IDs.
In my case, The Windows Phone app had the ID “34”.
You will be asked Which Apps do you want to remove. Enter the ID or IDs and hit Enter. I entered 34 and hit Enter.
A Clean Uninstall will be performed and the app will be completely removed from your system.
Now restart the computer and reinstall the app. The app should hopefully work and not crash now.
Once your work is done, remember to change back the PowerShell Execution policy to Restricted using: Set-ExecutionPolicy -ExecutionPolicy Restricted.
I hope it helps!
Also read: Completely Uninstall Pre-Installed Microsoft Store Apps in Windows 11
BONUS TIP:
You can uninstall multiple Microsoft Store apps at once in Windows 10 using 10AppsManager.
To uninstall Microsoft Store apps in Windows, you can use a good freeware like 10AppsManager, CCleaner, Store Applications Manager, or AppBuster.
If you are facing other kinds of problems with your Windows Store apps, you may want to check these links:
Remove-AppxPackage -Package Facebook.Facebook saved me
can we enter multiple apps to uninstall from pc at once ???
Another highly useful post, Anand (as always!). I notice that the article’s link to the “Remove Windows Store apps in Windows 8” script is broken; as of 18Feb14 the script can be found In the TEchNet Script Center @ http://gallery.technet.microsoft.com/scriptcenter/Remove-Windows-Store-Apps-a00ef4a4. Again, thanks for all the great stuff – I’m sure I’m not the only person your concise and informative articles helped over the years!
Thank you J. R. Acton III, really appreciate the kind words. :)
Look..
“Input IDs and separate IDs by comma”
u dont need to do all that just run this bats script from this blog
Just visit this blog for latest fix(trust me u won’t regret)
http://ghackerblogs.blogspot.i…
u will find a small batch script which will help u
Hope you can help me I have completely reinstalled my windows RT 8.1 a couple times and still have the problem involving games. When the tablet goes to sleep it will not wake up. But if I close the game and do a wsreset it is fine and will awake. Is there anyway you can run wsreset all the time before it goes to sleep?
I tried the method above but it didn’t fix my issue. I was hopeful that the script would fix Solitaire Collection. for the life of me I can’t figure out how that game, which was working fine, got messed up just by running the GetAppPackage registration command. All the other store based apps work fine.
I’ve tried taking ownership of the folders where this game installs, uninstalling, restarting and reinstalling the game, your methods here, reregistering all the apps again, and again. This game just won’t load, shows the frame and the name then closes instantly. If anyone has an updated approach to tackle the apps crashing on startup issue please explain how or link me to a site that can help.