Reset, uninstall and Reinstall Microsoft Photos app, the default photo viewer on Microsoft Windows 10.
When troubleshooting, Microsoft Windows Photos app can be reset in App & Feature settings.
Get information about Microsoft.Windows.Photos with get-appxpackage.
PS C:\WINDOWS\system32> get-appxpackage Microsoft.Windows.Photos
Name : Microsoft.Windows.Photos
Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : X64
ResourceId :
Version : 2019.19071.17920.0
PackageFullName : Microsoft.Windows.Photos_2019.19071.17920.0_x64__8wekyb3d8bbwe
InstallLocation : C:\Program Files\WindowsApps\Microsoft.Windows.Photos_2019.19071.17920.0_x64__8wekyb3d8bbwe
IsFramework : False
PackageFamilyName : Microsoft.Windows.Photos_8wekyb3d8bbwe
PublisherId : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
Dependencies : {Microsoft.UI.Xaml.2.1_2.11906.6001.0_x64__8wekyb3d8bbwe,
Microsoft.NET.Native.Framework.2.2_2.2.27912.0_x64__8wekyb3d8bbwe,
Microsoft.NET.Native.Runtime.2.2_2.2.27328.0_x64__8wekyb3d8bbwe,
Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe...}
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
Remove and then re-install Microsoft.Windows.Photos using Remove-AppxPackage and Add-AppxPackage
PS C:\WINDOWS\system32> Get-Appxpackage Microsoft.Windows.Photos | Remove-Appxpackage
PS C:\WINDOWS\system32> Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
PS C:\WINDOWS\system32>

