Windows 10 apps like photos, windows store etc. are crashing FIX

Mete Atas

New member
Aug 1, 2015
4
0
0
1)open cmd as admin

2)Go to C:\Users<Insert Username>\AppData\Local\Packages\ and search name of your broken app (I will search Photos app)

3)Look at folder's name (Microsoft.Windows.Photos)

4)Now you know your app's id. Let's go back to cmd

5)Use this code

PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.WRITE APP'S ID HERE).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

It will be like this

PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.Windows.Photos).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

6)Press Enter and wait till the command finishes its work.

7)You don't have to reboot. Open your broken app and it will work now
 
Didn't work for me. I had to switch the default photo program to "Windows Photo Viewer" instead of using the Windows 10 "Photos" app, since it couldn't open a picture without crashing...
 
It WORKED!

It probably didn't worked for some people because of this line:
(Get-AppxPackage Microsoft.WRITE APP'S ID HERE)

Because if you put your app ID on this line, it will look like this:
(Get-AppxPackage Microsoft.Microsoft.Windows.Photos)

See? There are two "Microsoft.Microsoft." on the line, but there should be ONLY ONE!

So, my Windows Store wasn't opening and then I used this line:
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

This is exactly as it is and it WORKED. Thank you SO MUCH!
 

Members online

Forum statistics

Threads
333,602
Messages
2,256,552
Members
428,730
Latest member
gabby