“Install Failed. Please Contact Your Software Vendor” When Opening JPG Files

Windows logo

Short answer: Windows is trying to register the Photos app and failing, because the app is damaged or missing. Open the picture with Paint or Microsoft Edge for now, then repair, reset or reinstall Photos. On Azure Virtual Desktop, fix the golden image so new session hosts are not built with the same fault.

A Gold Coast accounting firm asked us why their practice manager could no longer open JPG files from the shared H: drive. Every time she double-clicked one, Windows showed “Install failed. Please contact your software vendor.” It looked like a problem with the network drive, but she soon found that JPGs attached to emails failed the same way. The files were fine. The Windows Photos app on the firm’s Azure Virtual Desktop session hosts was broken, and reinstalling Photos fixed it. Here is what we found and how to fix it.

Fixed by Emma Mitchell, Senior Engineer, and Kenn Cruz, IT Support Specialist at GCIT. Written up by Elliot Munro, CISO.

Symptoms

Double-clicking a .jpg or .jpeg file, whether on a network drive, the desktop or an email attachment, shows a small error box. The title bar shows the full path of the file you tried to open, and the message reads:

Install failed. Please contact your software vendor.

Windows error dialog when opening a JPG from a network drive: Install failed. Please contact your software vendor

Other signs that point to the same problem:

  • The Photos app is missing from the Start menu, or missing from Settings > Apps > Installed apps, so there is nothing to repair.
  • Other images in the same folder still appear normally in File Explorer, so the files themselves are not damaged.
  • Trying to re-register Photos in PowerShell fails with the same text and an error code:

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.

People also search for this as “can’t open JPG Windows 11”, “JPEG install failed contact software vendor”, “Photos app 0x80073CF9” or “Photos app missing Windows 11”.

Affected Software

  • Application: Microsoft Photos (the default image viewer in Windows 11)
  • Platform: Windows 11, including Windows 11 Enterprise multi-session on Azure Virtual Desktop (AVD)
  • Related Services: Microsoft Store, WinGet (Windows Package Manager), AVD golden images

Cause

Microsoft Photos is a Store (AppX) app. When you open a JPG, Windows hands it to Photos, and if Photos is not properly set up for your account, Windows tries to register it on the spot. If that registration fails, you see “Install failed. Please contact your software vendor.” This is the standard Windows text for app installation error 0x80073CF9 (ERROR_INSTALL_FAILED), so the “software vendor” in the message is really Microsoft and the Photos app, not the image or the drive it is on.

On a normal PC, the usual reason is that the Photos app’s registration has been damaged, which Repair, Reset or a reinstall from the Microsoft Store fixes.

In our case the computers were Azure Virtual Desktop session hosts. Photos was still listed as installed in Windows, but the folder holding its program files under C:\Program Files\WindowsApps was gone. Windows tried to register an app that no longer existed and failed every time. Running Get-AppPackageLog on the failed attempt showed error 0x80070490 (element not found), which matches the missing files.

PowerShell Add-AppxPackage for Microsoft.Windows.Photos failing with HRESULT 0x80073CF9 and Get-AppPackageLog showing error 0x80070490

The root cause was the AVD golden image (the master image every session host is built from). Seven built-in apps, including Photos, Media Player, Clipchamp and To Do, were in the same broken state on each affected host, including one built that same morning, which pointed to the golden image. The image had also lost the Microsoft Store source that WinGet uses. That is why the fault seemed random: staff who landed on an affected host could not open JPGs, while staff on a healthy host could. It also came back after hosts were rebuilt from the same image.

The fault came back nine days after the first repair. The same user was moved to a newly rebuilt session host, and that host had the same dead Photos entry and the same missing Store source, because it was built from the same image. Re-registering Photos in her session failed again with 0x80073CF9 and 0x80070490. Reinstalling Photos for the whole machine with WinGet fixed it within minutes, which confirmed the image, not the user or the profile, was the problem.

Resolution

Quick workaround: open the picture another way

  1. Right-click the JPG file and choose Open with > Paint.
  2. Or drag the file into a Microsoft Edge window.

Both skip the Photos app, so they work while you fix it.

Fix 1: Repair or reset Photos (single PC, no admin rights needed)

  1. Select Start > Settings > Apps > Installed apps.
  2. Find Photos, select the More (three dots) icon next to it, then Advanced options.
  3. Select Repair, wait for it to finish and try opening a JPG again.
  4. If that does not help, select Reset on the same page and test again. Reset clears the Photos app’s own settings but does not touch your pictures.

If Photos is not listed in Installed apps at all, go straight to Fix 2.

Fix 2: Reinstall Photos from the Microsoft Store

  1. Open the Microsoft Store and search for Microsoft Photos (published by Microsoft Corporation), or open its Microsoft Store page.
  2. Select Install (or Update if it offers one).
  3. Open a JPG to confirm it loads in Photos.
  4. If JPGs still open in the wrong app or show the error, check the default app under Settings > Apps > Default apps and set Photos (or another viewer you prefer) for .jpg and .jpeg.

Fix 3: Check and reinstall Photos on AVD or shared computers (administrators)

On multi-session hosts, apps need to be installed for the whole machine, not one user. Run these from an elevated PowerShell window on the session host (or through Azure Run Command). If you run them through Azure Run Command, which runs as SYSTEM, winget is not on the PATH. Call winget.exe by its full path under C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_*.

Step 1: Check whether Photos is registered and whether its files actually exist.

Get-AppxPackage -AllUsers -Name Microsoft.Windows.Photos | Select-Object Name, Version, InstallLocation, Status
Get-AppxPackage -AllUsers -Name Microsoft.Windows.Photos | ForEach-Object { Test-Path $_.InstallLocation }
Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like "*Photos*"

If the package is listed but Test-Path returns False, the program files are missing and repair or re-register will not work. You need to reinstall.

Step 2 (optional): Confirm from the user’s own session. Re-registering Photos for one user needs no admin rights. If the files are missing, it fails with 0x80073CF9 as shown in the screenshot above, which confirms the diagnosis.

Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.Windows.Photos_8wekyb3d8bbwe

Step 3: Make sure WinGet can reach the Microsoft Store. Run winget source list and look for msstore. If it is missing, re-add only the Store source. This is what we did on the affected hosts:

winget source add -n msstore -a https://storeedgefd.dsx.mp.microsoft.com/v9.0 -t Microsoft.Rest

If that does not work, an administrator can restore all the default sources with winget source reset --force as a fallback. This needs admin rights and also removes any custom sources you have added, so re-add those afterwards.

Step 4: Reinstall Photos for the whole machine from the Microsoft Store source. The Store ID for Microsoft Photos is 9WZDNCRFJBH4. In our case the first attempt matched the broken entry and reported no applicable upgrade, and adding --force completed the install.

winget install 9WZDNCRFJBH4 -s msstore --scope machine --force --accept-package-agreements --accept-source-agreements

Step 5: Check again. Run the commands from step 1 and confirm Test-Path now returns True.

Step 6: Test with users. Ask affected users to open a JPG again. If the error persists for someone, have them sign out of their virtual desktop session and sign back in.

Fix 4: Correct the AVD golden image

Repairing hosts by hand only lasts until they are rebuilt. To stop the problem coming back:

  1. Check the other built-in apps on an affected host. This lists every app that Windows thinks is installed but whose program files are missing:
    Get-AppxPackage -AllUsers | Where-Object { $_.InstallLocation -and -not (Test-Path $_.InstallLocation) } | Select-Object Name, Version
    Get-AppxProvisionedPackage -Online | Where-Object { $_.InstallLocation -and -not (Test-Path (Split-Path $_.InstallLocation)) } | Select-Object DisplayName, Version
    

    Run it on a host built fresh from the image. If the list is not empty, the image itself is carrying the fault. In our case Media Player, Clipchamp, To Do, Solitaire Collection, the Xbox app and Power Automate Desktop were affected too, and Snipping Tool had gone missing after an earlier image update.

  2. Review the step in your image build that removes or “debloats” built-in apps. Make sure apps are removed cleanly (both the provisioned package and its registrations), or not removed at all, before the image is captured.
  3. Keep the msstore WinGet source in the image so apps can be reinstalled or updated later.
  4. Before capturing the image, confirm Photos opens a JPG and the check above returns nothing, then rebuild the session hosts from the corrected image.
  5. After every image update, run the same check on the first new host before you roll the image out to the rest of the pool. A rebuilt host can look healthy until the first person opens a picture.

Important Notes

  • The network drive is not the cause. Testing a JPG from the desktop or an email attachment quickly proves whether the problem is the Photos app or the share.
  • Repair and Reset only help when the app’s files are present. If Photos has disappeared from Installed apps, or Test-Path returns False, go straight to a reinstall.
  • On AVD, check every host. Users move between session hosts, so one user can be fine today and broken tomorrow. Check all hosts in the pool, not just the one a user reported from.
  • Changing the default viewer is a safety net, not a cure. Pointing .jpg and .jpeg at another viewer through Intune or Group Policy avoids the error, but the broken apps are still on the image and other built-in apps may also fail.
  • Look for the event log details. Microsoft recommends the Microsoft-Windows-AppXDeploymentServer/Operational log in Event Viewer (or Get-AppPackageLog with the ActivityID from the error) for more detail on app install failures.

If you need help keeping your Azure Virtual Desktop images healthy, or fixing apps that have gone missing for your staff, get in touch with our team.

Was this article helpful?
Ready to secure and simplify your IT? Talk to a GCIT expert today.