TechBuzzPro

Windows Photo Viewer Can’t Open This Picture – Fix It

· 5 min read · Windows & PC

In this article
  1. What You’ll Need
  2. Step‑By‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Windows Photo Viewer can’t open this picture because the file is either unsupported, corrupted, or the viewer’s settings have become broken. The quickest fix is to verify the file type, try opening it with another program, and then reset the Photo Viewer association or re‑register the viewer.

What You’ll Need

  • A Windows PC (Windows 7, 8, 8.1, or 10) with Windows Photo Viewer installed.
  • The picture file that won’t open.
  • Administrator rights if you need to run a command line.

Step‑By‑Step

  1. Confirm the file format. Windows Photo Viewer supports JPEG, PNG, BMP, GIF, TIFF and a few other common formats. Right‑click the file, choose Properties, and look at the Type of file line. If the extension is something like .heic or .webp, Photo Viewer cannot read it directly.
  2. Test the file in another program. Double‑click the picture to open it with the default Photos app, or right‑click and select Open with > Paint. If the image opens elsewhere, the file itself is fine and the problem lies with Photo Viewer.
  3. Reset the file‑association to Windows Photo Viewer. Right‑click the picture, choose Open with > Choose another app. If you see Windows Photo Viewer in the list, select it and tick Always use this app to open .jpg files (or the relevant extension). Click OK. If Photo Viewer does not appear, continue to the next step.
  4. Make Windows Photo Viewer visible in the "Open with" list. Open File Explorer, go to the View tab and enable File name extensions (optional but helpful). Then press Win+R, type regsvr32 /i "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll" and press Enter. Accept the confirmation dialog. This re‑registers the Photo Viewer DLL and restores the app to the chooser list.
  5. Try opening the picture again. Double‑click the file; it should now launch in Windows Photo Viewer. If it still fails, proceed to the troubleshooting section.
  6. Convert the image to a supported format. If the file is in an unsupported format, open it with Paint or Photos, then choose File > Save As and select JPEG or PNG. Save the new copy and open it with Photo Viewer.

Common Mistakes

  • Assuming the error is caused by a missing codec. Photo Viewer does not use external codecs; the issue is usually file type or corruption.
  • Skipping the step that re‑registers the DLL. Without re‑registration, Windows may still hide Photo Viewer from the "Open with" dialog.
  • Changing the default app to Photos and then expecting Photo Viewer to work without resetting the association.
  • Using a file path longer than 260 characters. Windows APIs can reject very long paths, causing the viewer to fail.

Tips

  • Keep a backup of the original file before converting it, in case you need the original quality.
  • If you frequently work with newer formats (HEIC, WebP), consider installing the official Microsoft extensions from the Microsoft Store; they add native support to Windows Photo Viewer.
  • Run sfc /scannow from an elevated Command Prompt if you suspect system file corruption beyond the Photo Viewer DLL.
  • Use the Resize pictures tool (Control Panel > Appearance and Personalization > Display) to adjust DPI settings if very high‑resolution images cause performance issues.

Troubleshooting

If the steps above did not resolve the problem, follow this escalation path.

  1. Restart the computer. A simple reboot clears temporary caches that may block the viewer.
  2. Check for Windows updates. Open Settings > Update & Security > Windows Update and install any pending updates. Some updates restore missing system components.
  3. Run the built‑in troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters and run Windows Store Apps. Although Photo Viewer is not a Store app, the troubleshooter can repair related system files.
  4. Repair the image file. Open the picture in Paint, then immediately save it as a new file. If Paint can open it, the newly saved file is usually clean enough for Photo Viewer.
  5. Re‑install optional features. In Settings > Apps > Optional features, locate "Windows Photo Viewer" if listed, uninstall it, then add it back using the Add a feature button.
  6. Reset the default apps. Open Settings > Apps > Default apps, scroll to Choose default apps by file type, find the extension (e.g., .jpg) and set it to Windows Photo Viewer again.
  7. Use System File Checker. Open an elevated Command Prompt and run sfc /scannow. This will replace any corrupted system files, including the Photo Viewer DLL.
  8. Consider an alternative viewer. If all else fails, the built‑in Photos app or a free third‑party viewer such as IrfanView can display virtually any image format without extra configuration.

Frequently Asked Questions

Why does Windows Photo Viewer say "Can't open this picture" for a JPEG file?

The file may be corrupted, have an unusual header, or be saved with a progressive JPEG format that older versions of Photo Viewer cannot decode.

Can I add support for HEIC files to Windows Photo Viewer?

Yes. Install the "HEIF Image Extensions" and "HEVC Video Extensions" from the Microsoft Store; they enable native HEIC decoding for all Windows apps, including Photo Viewer.

Is it safe to run the regsvr32 command?

Running regsvr32 on the official PhotoViewer.dll that ships with Windows is safe and only re‑registers a legitimate system component.

What if the picture opens in Paint but not in Photo Viewer?

This usually means Photo Viewer’s file association is broken. Reset the association as described in Step 3 or re‑register the DLL.

Do I need to reinstall Windows to fix Photo Viewer?

Reinstalling Windows is a last‑resort measure. The steps above—especially sfc /scannow and DLL re‑registration—solve the issue in the vast majority of cases.

Why does the error appear only for files stored on a network drive?

Network locations can enforce stricter permissions or use file‑system features that block the viewer. Copy the file locally and try again, or ensure you have read/write access to the share.