RECOMMENDED: Click here to fix Windows errors and optimize system performance
Sometimes Windows Store applications crash every time you run them on Windows 8. This can happen for no apparent reason. As a solution, you may have tried running the Troubleshooter application or even uninstalling and reinstalling the application. However, the application can still crash after reinstallation.
Windows Store application crashes on Windows 8
If your Windows Store application crashes each time you run it, you should check these messages before continuing:
- Fix Windows 8 applications
- Troubleshooting problems with Windows 8 Apps Troubleshooter
- Fix: Random Windows 8 Metro App crashes
If none of this helps, the final solution may be to completely uninstall and remove the application from your Windows 8 device. To do this, you can use PowerShell and Scripting to run a Clean Uninstall from the Windows Store application.
Note: I am not familiar with PowerShell because this is the first time I have used it. But when I discovered that my Windows Phone App continues to crash, although I reinstalled it and tried other troubleshooting steps, I decided to use this script. That was the first time I opened PowerShell! It was only after a few trials and errors that I was able to start the script. Based on what I read in the TechNet Script Center message, I did this. It worked for me and I hope it works for you.
First, I recommend you create a system restore point .
After that, you must allow active scripting on your Windows 8 computer. Since PowerShell’s runtime policy is set to Restricted by default for security reasons, this means that scripts will not run. If you try to run a script in such a scenario, you receive an error message:
The script execution is disabled on this machine
Open Powershell as administrator. To do this, enter powershell on the start screen and right-click the result and select Run as administrator.
Type Set-ExecutionPolicy -ExecutionPolicy Unrestricted and press Enter.
Enter Y again to confirm and press Enter again. This modifies the Enforcement Policy.
Download this script from Microsoft and extract the contents of the zipped file. Open DeleteWindowsStoreApp with an editor. Scroll to the end of the script file and add the command you want to run – in this case Remove-OSCAppxPackage. Save the script.
Then run the script with PowerShell. Check the path. If necessary, change the directory, enter cd C : and press Enter. If necessary, place RemoveWindowsStoreApp on your C drive.
When you run the script, all installed applications are listed with the application IDs.
In my case, the Windows Phone application had the ID 34
You are asked Which applications do you want to delete. Enter the ID or IDs and press Enter. I entered 34 and pressed Enter.
A clean uninstall is performed and the application is completely removed from your system.
Restart your computer and reinstall the application. Let’s hope the application should work and not crash.
Remember to change PowerShell’s runtime policy for restricted use after completing your work: Set-ExecutionPolicy -ExecutionPolicy Restricted.
Let’s hope it helps!
If you have other problems with your Windows Store applications, you should check these links:
- Fix : Windows 8 Store applications cannot be installed
- Fix : Windows Store applications cannot be updated on Windows 8.