Microsoft Photo Software: Can't Open Images Anymore
Solved
YvesBe
-
YvesBe -
YvesBe -
Hello,
I have been given an Asus laptop because it is no longer possible to view photos on this computer. When I double-click on a file, I get the following error message:
path_to_jpg_file
Invalid data
If I try to view the photo with the Windows photo viewer, it is perfectly readable.
The problem probably comes from the default viewing software.
When I check the software association for this type of file, I see that it is "Photos".
When I go to "add/remove programs" and filter for "Photos", the only corresponding entry is "Microsoft Photos". So, I click on it and choose "Advanced options".
I tried the "Repair" option, which did nothing, even after restarting the machine.
I then tried the "Reset" option: same result, it still doesn't work.
The "Uninstall" option is grayed out (it is impossible to remove the program and then reinstall it).
How can I recover the association?
As a precaution, I replaced the default program with the Windows viewer and then switched back to "Photos", but that did not resolve the issue.
Configuration: Windows / Chrome 92.0.4515.131
I have been given an Asus laptop because it is no longer possible to view photos on this computer. When I double-click on a file, I get the following error message:
path_to_jpg_file
Invalid data
If I try to view the photo with the Windows photo viewer, it is perfectly readable.
The problem probably comes from the default viewing software.
When I check the software association for this type of file, I see that it is "Photos".
When I go to "add/remove programs" and filter for "Photos", the only corresponding entry is "Microsoft Photos". So, I click on it and choose "Advanced options".
I tried the "Repair" option, which did nothing, even after restarting the machine.
I then tried the "Reset" option: same result, it still doesn't work.
The "Uninstall" option is grayed out (it is impossible to remove the program and then reinstall it).
How can I recover the association?
As a precaution, I replaced the default program with the Windows viewer and then switched back to "Photos", but that did not resolve the issue.
Configuration: Windows / Chrome 92.0.4515.131
14 answers
-
Hello,
Right-click on the file, properties?... What is the extension of your file (for example... file.jpg)
-
Hello, these are indeed jpg files and they are associated with Photos.
I changed the association to Viewer and now when I click, it opens the files correctly.
If I switch the association back to Photos, the files don’t open anymore. -
Well... it's the "Microsoft Photos" app that is not working properly.
I found a tutorial to uninstall it and then reinstall it.
The problem is that after uninstalling it, the Windows Store keeps telling me that the app is already owned and it consistently encounters an unknown error during the installation attempt.-
Hello,
Try this solution found on the CCM Forum thanks to pistouri, whom I salute... https://forums.commentcamarche.net/forum/affich-33217106-l-application-photos-ne-marche-pas
-
-
Hello,
the script runs fine and displays:
path: (nothing)
online: True
RestartNeeded: False
(then 3 empty lines and returns control)
When I run the Windows Store and search for Microsoft Photos
I always get "application already owned" then an attempt to download and finally:
"an unexpected problem has occurred" with error code 0x8007000D
Just like before. -
Hello,
You can uninstall and reinstall the Microsoft Store and programs
Right-click on the Start button > Windows PowerShell (Admin)
Close Explorer through the task manager (Ctrl+Alt+Delete), you will restart it after the operations.
To uninstall the Microsoft Store app, type the following command:
Get-AppxPackage *windowsstore* | Remove-AppxPackage
Press Enter
To reinstall the Microsoft Store app, type the following command:
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Note: The Windows firewall must be operational to successfully complete this operation. -
Heu... big problem:
PS C:\Users\Moi> Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Get-AppxPackage: Access denied.
Access denied.
At Line:1 : 1
+ Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopme ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-AppxPackage], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.Appx.PackageManager.Commands.GetApp
xPackageCommand -
It is necessary that none of the programs from the store work and that PowerShell is launched as an administrator.
-
If you open services.msc via Run
Is the Windows Firewall service started? -
Before seeing your message, I restarted the PC and then started PowerShell as an admin.
I restarted the script which began to execute
BUT
I have a bunch of errors and it continues to execute:
Add-AppxPackage: Unable to find the path 'C:\AppXManifest.xml' because it does not exist. At line:1 char:37 + ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\AppXManifest.xml:String) [Add-AppxPackage], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage: Unable to find the path 'C:\AppXManifest.xml' because it does not exist. At line:1 char:37 + ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\AppXManifest.xml:String) [Add-AppxPackage], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage: Deployment failed with HRESULT: 0x80073D06, Unable to install this package as a later version is already installed. Windows cannot install the package Microsoft.NET.Native.Framework.2.2_2.2.27912.0_x86__8wekyb3d8bbwe as version 2.2.27912.0 is already present. Version 2.2.29512.0 of this package is already installed. NOTE: For more information, search for [ActivityId] e3fea05d-8d3f-0005-71cb-fee33f8dd701 in the event log or use the command line Get-AppPackageLog -ActivityID e3fea05d-8d3f-0005-71cb-fee33f8dd701 At line:1 char:37 + ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage: Deployment failed with HRESULT: 0x80073D06, Unable to install this package as a later version is already installed. Windows cannot install the package Microsoft.NET.Native.Framework.1.7_1.7.25531.0_x64__8wekyb3d8bbwe as version 1.7.25531.0 is already present. Version 1.7.27413.0 of this package is already installed. NOTE: For more information, search for [ActivityId] e3fea05d-8d3f-0005-e4cc-fee33f8dd701 in the event log or use the command line Get-AppPackageLog -ActivityID e3fea05d-8d3f-0005-e4cc-fee33f8dd701 At line:1 char:37 + ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage: Unable to find the path 'C:\AppXManifest.xml' because it does not exist. At line:1 char:37 + ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\AppXManifest.xml:String) [Add-AppxPackage], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Add-AppxPackage: Deployment failed with HRESULT: 0x80073D06, Unable to install this package as a later version
is already installed.
Windows cannot install the package Microsoft.Services.Store.Engagement_10.0.18101.0_x64__8wekyb3d8bbwe as version 10.0.18101.0 is already present.
Version 10.0.19011.0 of this package is already installed.
NOTE: For more information, search for [ActivityId] e3fea05d-8d3f-0005-efcc-fee33f8dd701
in the event log or use the command line Get-AppPackageLog -ActivityID
e3fea05d-8d3f-0005-efcc-fee33f8dd701
At line:1 char:37
+ ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Add-AppxPackage: Deployment failed with HRESULT: 0x80073D06, Unable to install this package as a later version is already installed. Windows cannot install the package Microsoft.Services.Store.Engagement_10.0.18101.0_x86__8wekyb3d8bbwe as version 10.0.18101.0 is already present.
Version 10.0.19011.0 of this package is already installed. NOTE: For more information, search for [ActivityId] e3fea05d-8d3f-0005-fbcc-fee33f8dd701 in the event log or use the command line Get-AppPackageLog -ActivityID e3fea05d-8d3f-0005-fbcc-fee33f8dd701 At line:1 char:37 + ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage: Deployment failed with HRESULT: 0x80073D06, Unable to install this package as a later version is already installed. Windows cannot install the package Microsoft.NET.Native.Runtime.1.7_1.7.25531.0_x64__8wekyb3d8bbwe as version 1.7.25531.0 is already present. Version 1.7.27422.0 of this package is already installed. NOTE: For more information, search for [ActivityId] e3fea05d-8d3f-0000-09ee-fee33f8dd701 in the event log or use the command line Get-AppPackageLog -ActivityID e3fea05d-8d3f-0000-09ee-fee33f8dd701
At line:1 char:37
+ ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception
Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_ Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_ Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.BingNews_4.54.22741.0_x64__8weky Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.5_2.52012.2002.0_x64__8weky Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.5_2.52012.2002.0_x86__8weky Progress of deployment operation: C:\Program Files\WindowsApps\34791E63.CanonInkjetPrintUtility_3.1.0.0_neutra Progress of deployment operation: C:\Program Files\WindowsApps\FACEBOOK.FACEBOOK_2021.312.1.0_neutral__8xx8rvf Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.WindowsCamera_2021.105.10.0_x64__8wek Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.WebMediaExtensions_1.0.40831.0_x64__8 Progress of deployment operation: C:\Program Files\WindowsApps\AppleInc.iTunes_12113.17.53090.0_x64__nzyj5cx40 Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.WindowsAlarms_10.2101.28.0_x64__8weky Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.2103.8.0_x64__8w Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.WindowsSoundRecorder_10.2103.28.0_x64 Progress of deployment operation: C:\Program Files\WindowsApps\Microsoft.BingFinance_4.46.31055.0_x64__8wekyb3 Progress of deployment operation: C:\Program Files\WindowsApps\FACEBOOK.317180B0BB486_970.11.116.0_x64__8xx8rv Progress of deployment operation: C:\Program Files\WindowsApps\microsoft.windowscommunicationsapps_16005.13426 109 activities not displayed... -
Is it possible that despite the error messages he has reinstalled everything?
It seems he is talking about the .NET Framework 2
You can install it via Programs and Features > Turn Windows features on or off. -
New messages have appeared:
in the event log or use the command line Get-AppPackageLog -ActivityID
e3fea05d-8d3f-0005-0bee-fee33f8dd701
At Line:1 : 37
+ ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], Exception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Add-AppxPackage: Deployment failed with HRESULT: 0x80073D02, Unable to install the package because resources it modifies are currently in use.
error 0x80073D02: unable to install because the following applications must be closed
MicrosoftWindows.Client.CBS_120.2212.3530.0_x64__cw5n1h2txyewy.
NOTE: to get additional information, search for [ActivityId] e3fea05d-8d3f-0005-7bef-fee33f8dd701
in the event log or use the command line Get-AppPackageLog -ActivityID
e3fea05d-8d3f-0005-7bef-fee33f8dd701
At Line:1 : 37
+ ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Add-AppxPackage: Cannot find path 'C:\AppXManifest.xml' because it does not exist.
At Line:1 : 37
+ ... s| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\AppXManifest.xml:String) [Add-AppxPackage], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand -
The script is finished.
The Windows store is operational
When I launch it, it tells me that "Microsoft Photos" is still installed and I still have the same error. -
It might be due to an installed codec?
I don't use Windows Photos.
Try Fast Picture Viewer if it can replace it.
https://www.fastpictureviewer.com/downloads/
That's what I use the most. -
Thank you for your suggestion, but this is a friend's computer and I don't know the exact use he makes of "photos microsoft"
The software description seems to indicate that it is more about video editing and montage than just a simple image viewer :s