Forum Discussion

Michael82353's avatar
Michael82353
Copper Contributor
Feb 09, 2026

Photos app opens images sometimes without all of the file info, and displays this error message.

I thought this was interesting. This doesn't regularly occur but seems to be some sort of error or failsafe. I used a .bat file to open some images, which I've done about 100 times without any error message. This last time it displayed this error message and failed to populate all of the file info. I captured the screenshots, and you can see in the last screenshot that when I view the file in the File Explorer directly the file contains the missing info. The system opened the image, displayed the error message but still allowed me to interact with the image, only not populating all of the file info. 

 

4 Replies

  • Eliseoiw's avatar
    Eliseoiw
    Copper Contributor

    Sometimes, Windows or the file explorer cache can cause discrepancies in displaying file metadata. The error might be a transient glitch.

  • Calumbo's avatar
    Calumbo
    Iron Contributor

    That is indeed an intriguing behavior! It sounds like you're experiencing a rare glitch where your batch script successfully opens images, but an error message appears, and certain file info isn't fully populated in the system or the script's environment. The fact that viewing the image directly in File Explorer shows complete info suggests the issue might be related to how the script interacts with the file system or the image viewer.

  • Keikoe's avatar
    Keikoe
    Copper Contributor

    The .bat script might be attempting to open the image while another process is using it, causing a temporary access issue. Windows sometimes displays partial error messages but still allows interaction with the file.

  • Giovanninim's avatar
    Giovanninim
    Copper Contributor

    The system may be having trouble generating or displaying thumbnail previews, leading to errors when opening images programmatically.