Windows Photo Viewer Won't Open Images? Here's the Real Fix

Photo Viewer not opening JPEGs or PNGs? 9 times out of 10 it's a corrupt image file association. Registry or settings fix usually works in 5 minutes.

1. Corrupt or Missing File Associations (The Usual Suspect)

This is the number one reason Photo Viewer fails. You double-click a JPEG or PNG, and either nothing happens, or it opens in Paint, or you get a pop-up asking what program to use. Happens after a Windows update or a software install that hijacked your associations.

Fix it: Reset the file associations for image types back to Photo Viewer.

  1. Right-click any JPEG file, select Open with > Choose another app.
  2. Scroll down to Windows Photo Viewer. If you don't see it, click More apps.
  3. Check Always use this app to open .jpg files.
  4. Click OK. Repeat for .png, .gif, .bmp, and .tiff.

If Photo Viewer isn't in the list at all, that means it's been disabled in the registry. Skip to method 2 below.

# Quick PowerShell check — runs this to see if Photo Viewer is registered:
Get-AppxPackage *Windows.Photo* | Select-Object Name, PackageFullName

If that returns nothing, your install is fine — just need to re-enable the app via registry.

2. Photo Viewer Disabled in Registry (Windows 10/11 Hides It)

Microsoft started hiding Photo Viewer in newer Windows 10 builds and Windows 11. It's still there and fully functional. They just don't list it in default app options because they want you to use the Photos app. Stupid, but fixable.

This shows up when you right-click an image and Photo Viewer is simply missing from the 'Open with' menu. Or when you try to set it as default and it's grayed out.

Fix it: Add the registry keys manually.

  1. Press Win + R, type regedit, hit Enter.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations
  3. If the FileAssociations key is missing, create it: right-click Capabilities > New > Key, name it FileAssociations.
  4. Inside FileAssociations, create a new String Value for each image type you want to open with Photo Viewer. Name it the file extension, set its value to PhotoViewer.FileAssoc.Tiff. Example:
.jpg = PhotoViewer.FileAssoc.Tiff
.jpeg = PhotoViewer.FileAssoc.Tiff
.png = PhotoViewer.FileAssoc.Tiff
.gif = PhotoViewer.FileAssoc.Tiff
.bmp = PhotoViewer.FileAssoc.Tiff
.tiff = PhotoViewer.FileAssoc.Tiff

Close regedit, then go back and set the default app as in method 1. Photo Viewer will now show up.

Don't bother with the third-party 'restore photo viewer' scripts from random blogs. Half are outdated or bundled with crapware. This registry key is all you need.

3. Corrupt Photo Viewer Application Itself (Rare, But Happens)

Less common, but when it hits, you can't even launch Photo Viewer from the Start menu. Usually after a Windows feature update that botched the app.

Fix it: Re-register the app using PowerShell.

  1. Right-click Start, select Windows PowerShell (Admin) or Terminal (Admin).
  2. Run this command:
Get-AppxPackage *Microsoft.Windows.Photos* | Add-AppxPackage -RegisterDisposition None -Verbose

# If that fails, try the nuclear option:
Get-AppxPackage *Microsoft.Windows.Photos* | Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"

Restart the computer after the command finishes. Launch a JPEG with Photo Viewer.

If it still doesn't work, do a quick system file check. Sometimes the underlying dependencies are toast:

sfc /scannow

Let it run and fix what it finds. Then re-run the PowerShell command above.

Quick-Reference Summary Table

CauseSymptomFix
Broken file associationsPhoto Viewer not listed in Open with menuSet default app manually for each image type
Photo Viewer disabled in registryPhoto Viewer missing entirely from optionsAdd FileAssociations registry keys
Corrupt app packageCan't open Photo Viewer at allRe-register via PowerShell or sfc /scannow

That's it. Three causes, three fixes. You'll solve it in under 10 minutes. If you're still stuck after all this, the image file itself might be corrupt — try opening it in Paint or a browser to confirm. But 99% of the time, it's one of the above.

Related Errors in Windows Errors
0X000019E7 Fix ERROR_LOG_DEDICATED 0x19E7: Stop the Log Lockout 0XC0000003 0xC0000003 STATUS_INVALID_INFO_CLASS Fix: 3 Steps 0XC00D11FA NS_E_CD_NO_READER (0XC00D11FA): CD reader won't initiate 0X0000370D Fix ERROR_SXS_IDENTITY_PARSE_ERROR (0x0000370D) on Windows

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.