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.
- Right-click any JPEG file, select Open with > Choose another app.
- Scroll down to Windows Photo Viewer. If you don't see it, click More apps.
- Check Always use this app to open .jpg files.
- 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, PackageFullNameIf 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.
- Press Win + R, type regedit, hit Enter.
- Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations - If the FileAssociations key is missing, create it: right-click Capabilities > New > Key, name it
FileAssociations. - 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.TiffClose 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.
- Right-click Start, select Windows PowerShell (Admin) or Terminal (Admin).
- 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 /scannowLet it run and fix what it finds. Then re-run the PowerShell command above.
Quick-Reference Summary Table
| Cause | Symptom | Fix |
|---|---|---|
| Broken file associations | Photo Viewer not listed in Open with menu | Set default app manually for each image type |
| Photo Viewer disabled in registry | Photo Viewer missing entirely from options | Add FileAssociations registry keys |
| Corrupt app package | Can't open Photo Viewer at all | Re-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.
Was this solution helpful?