I am using ACDSee as my default image viewer on my computer. So when I double-click on a *.jpg in Total Commander, the image opens in ADCSee.
I recently downloaded a new image format called *.avif and when I double-clicked it, it opened in the Photos app in Windows 11. I thought I would make ACDSee the default app for this file type as well, so I right-clicked on the avif image file, selected Open with -> Choose another app, selected ACDSee and clicked "Always". However ACDSee couldn't open this new image format (my version does not support this format).
So I decided I would just revert back to the Photos app being the default app for *.avif. I again right-clicked on the image file, selected Open with -> Choose another app -> Photos -> Always. But when I then double-clicked on the image, it did not open in the Photos app like it did the first time. Instead it opened in the "Windows Photo Viewer".
This only seems to happen in Total Commander. If I open Windows Explorer, navigate to the image file there and double-click it, it will open correctly in the Photos app. I have restarted Total Commander, launched it as administrator, rebooted the PC, nothing helped. Double-clicking *.avif within TC always launches Windows Photo Viewer instead of the Photos app.
Is there a way to fix this?
Problem restoring file type to default app
Moderators: Hacker, petermad, Stefan2, white
Re: Problem restoring file type to default app
Update: I just found another post here on the forum that addresses a related issue, and the solution worked for me as well.
Select file -> menu Files -> Associate With... -> Uncheck Replace with: PhotoViewer.dll
LINK: viewtopic.php?t=76124
Select file -> menu Files -> Associate With... -> Uncheck Replace with: PhotoViewer.dll
LINK: viewtopic.php?t=76124
Re: Problem restoring file type to default app
You may want to look at the settings for wincmd.ini mentioned below.
Help wrote:[Configuration]
ReplacePhotoApp=1 Replaces the Windows Photo App (tile app) by the Windows Photo Viewer (desktop program) when double clicking an image file.
On Windows 10 and newer, this is ignored unless PhotoAppFilter starts with a dash
PhotoAppFilter= Set to - to disable opening photos app with list of images in same folder
PhotoAppMode=0 Override how the Microsoft Photos app is called to load multiple images:
0: automatic based on photo app version number
1: old method (LaunchFileWithOptionsAsync)
2: ms-photos:viewer?fileName=name with URL-encoded name,
3: ms-photos:viewer?fileName=name without encoding the name
-1: open photos app with only one file