Forum Discussion

_Bparker_'s avatar
_Bparker_
Copper Contributor
Jun 03, 2025

Specifying wrong filename when using the Photos app URI scheme, causes Photos app to run without UI

Run: 

ms-photos:viewer?fileName=c:\doesnotexist.txt


The Photos app process is running (is shown in task manager), but nothing is visible on screen.
Trying it again adds another process that will never close.

More about the Photos app URI scheme: here.

In my opinion, if a file is not available for some reason it should not silently leave the process running.

 

2 Replies

  • Eldridge's avatar
    Eldridge
    Iron Contributor

    I agree on this:

    a file is not available for some reason it should not silently leave the process running.

  • Holaway's avatar
    Holaway
    Steel Contributor

    Yeah, if you launch the Photos app with a non-existent file using the URI scheme, it just runs invisibly in the background and stacks up zombie processes—really annoying and definitely a bug they should fix.

Resources