Microsoft Store apps keep crashing or freezing
1] Temporarily disable all security software
In spite of a clean install, Windows Store apps were crashing. So my first hunch was to disable all security software that was running on the machine since it tends to sometimes interfere with Windows applications that are trying to connect to the Internet. This may lead to freezing and crashes of such UWP applications. Sometimes just disabling Internet security software will not fix the problem. We may need to disable it from Startup and stop all the related services and reboot to completely rule out that problem. Sadly that had no effect on the problem.
2] Troubleshoot in Clean Boot State
So my next step was to perform a Clean Boot i.e. disable all non-Microsoft related startup items and reboot the system. This can rule out if any other application is interfering with the Windows 8 applications. I used the method described in this post on how to Manage Startup Items to do so. Sadly this didn’t help much. But when you’re troubleshooting App crashes this is an important step to try, even if Clean Boot did not help in this case.
3] Run the system file checker
My next step was to run the system file checker to see if any operating system files had been corrupted. Sometimes users tend to use tweaking software or system file patches that could corrupt the core windows files, which can lead to stability issues on Windows. The SFC scan reported that there weren’t any problems found. But even if the result said so I had to check the logs to confirm it. I have seen cases where SFC reports that there are no issues found, and still we get to see corrupted files or registry entries in the log files, which we need to manually fix. So I followed the steps provided in this post on how to analyze SFC logs, but strangely the logs seemed to be clean.
4] Some basics
Then I had to go back to the basics. There are a few other things that could cause Windows apps to not work. I checked if UAC was disabled, Screen resolution of the Monitor, New Windows user account, etc. Nothing helped. I know, as a last resort I may need to have him reinstall his Windows. But I couldn’t give up so easier I never considered reinstallation of Windows as a good troubleshooting step, there is nothing like troubleshooting a complicated issue and exhausting all the available resources.
5] Fix Operating System 5 errors
So I researched all Internet, started reading all the Event logs and app crash dump files. I found something interesting, there are a few Operating System 5 errors; which means that there are some permission issues going on. Seems like the user had messed up the C drive permissions. I can’t remember how many times I have advised users not to change the permission or any attributes of the root C folder; because that’s where all the boot related files and all the system files are located. If you want to change the permission, change a specific folder or file and not the whole C drive. Anyway, I searched online for the appropriate permissions required for the Windows application to run properly. Luckily I found a TechNet article about Managing Client Access to the Microsoft Store. In that article, it’s mentioned- So I went and gave “ALL APPLICATION PACKAGES” permission to root C folder and rebooted the system. Voilà no more crashes it worked just fine! This is one of the most interesting and challenging troubleshooting cases I have done in quite some time. It feels really good when you do so successfully. More links to help you:
Microsoft Store not opening or closes immediately after openingWindows Store Apps fail to start? Check these Registry & File PermissionsWindows Store apps not working or opening.
Well, I hope you guys get some tips from this article. In case you encounter any problems, do let us know.