View Single Post
Staro 25.11.2016., 15:27   #2
Mommistake
Premium
 
Mommistake's Avatar
 
Datum registracije: Nov 2008
Lokacija: Shire
Postovi: 16,651
Citiraj:
Fix the Store:
1) open cmd.exe (command prompt) as administrator and run

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

2) Reboot,
run wsreset.exe to reset the store (you may not have to do this, i don't remember if i had to, but it won't hurt),
launch the store.
Your Store will now update most of the apps that are stuck in limbo

3) If some apps are still grayed out. Reinstall them:

4) Run
PowerShell Get-AppxPackage -AllUsers > C:\listofapps.txt
Find the the apps you want to reinstall (Camera and Photos in MY case) in that text file.

Use the PackageFullname of the app to uninstall the apps:

PowerShell Remove-AppxPackage Microsoft.Windows.Photos_15.618.18170.0_x64__8wekyb3d8bbwe
PowerShell Remove-AppxPackage Microsoft.WindowsCamera_5.38.3003.0_x64__8wekyb3d8bbwe

5) Now install them again. This time use the app's "Name" not the "PackageFullname".
the Photos:
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.Windows.Photos).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
and the Camera
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.WindowsCamera).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
Voila!
Mommistake je offline   Reply With Quote