PNG files open in Text Editor instead of Windows Photo App

Title: Resolving the Issue of PNG Files Opening in Text Editor Instead of Windows Photo App

Having trouble with your PNG image files opening in the Text Editor rather than the Windows Photo App? You’re not alone. This common issue can be frustrating, especially when default file associations are disrupted. In this article, we’ll explore why this happens and provide step-by-step solutions to restore the proper file association on your Windows PC.

Understanding the Problem

Typically, PNG files are associated with image viewers like Windows Photo App. However, sometimes the file association gets misconfigured, causing double-clicking a PNG to open in a text editor (such as Notepad) instead of an image viewer. The problem may be compounded if the default app options are missing or if options like “Always use this app” are unavailable.

Common Causes

  • Incorrect registry settings or corrupted file associations
  • Missing PNG file extension in the Default Apps settings
  • User manually associated PNG with a text editor in the past
  • System glitches or recent updates disrupting defaults

Troubleshooting Steps

  1. Verify File Associations in Default Apps Settings

a. Open Windows Settings:
– Press Windows Key + I to open Settings.
b. Navigate to “Apps” > “Default apps.”
c. Scroll down and click on “Choose default apps by file type.”
d. Look for the “.png” extension:
– If “.png” is listed, check which app it’s associated with.
– If it’s associated with a text editor, click the current app and select “Photos” or “Windows Photo Viewer” (if available).

Note: If “.png” is missing from the list, proceed to the next step.

  1. Manually Associate PNG Files Through “Open With”

a. Right-click a PNG file.
b. Select “Open with” > “Choose another app.”
c. In the window, select “Photos” or “Windows Photo Viewer.”
d. Check the box that says “Always use this app to open .png files.”
e. Click “OK” to set the default association.

  1. Reset File Associations Using Command Prompt

If the above steps don’t work, resetting associations via command prompt can help:

a. Open Command Prompt as Administrator:
– Search for “cmd” in the Start menu.
– Right-click and select “Run as administrator.”
b. Execute the following command to reset PNG associations:

bash
assoc .png=ImageFile

c.

Share this content:

Leave a Reply

Your email address will not be published. Required fields are marked *