Today I struggled with a users device that was having an issue with all native Windows 10 apps crashing a few seconds after opening. When opening Calculator, Video Editor, Maps, Photos etc the app would open and then immediately crash.
Even Viewer logged the app crashing but didn’t really give any indication why other than the app and event name – POFContextAppCrash.
Reinstalling the Windows Apps via Powershell fixed all Apps.
Instructions
- Open up a PowerShell Window (press the Windows + R key on your keyboard and type in powershell and click Ok).
- Enter the following command and press enter
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
- Powershell will start reinstalling the Windows Apps one by one and display the progress. This will take a few minutes
- After the process has completed close powershell and restart the PC and test the Windows Apps and they will now open as expected
Fixed the issue for me but I had to run Powershell as Administrator