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

Mete Atas

New member
Aug 1, 2015
4
0
0
Visit site
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
 

A Google User

New member
Apr 16, 2014
1
0
0
Visit site
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...
 

WilliamTael

New member
Apr 3, 2016
1
0
0
Visit site
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
323,310
Messages
2,243,617
Members
428,056
Latest member
Carnes