In Windows 10, when opening images, it gives me the option to open in the Photos metro app, Paint, or GIMP.
I'd like it to open in Photo Viewer, but when I directed 'Open with' to PhotoViewer.dll in 'C:/Program Files/Windows Photo Viewer', or 'C:/Program Files (x86)/Windows Photo Viewer', I get a 'This app can not run on your PC' error.
Photo Gallery has stopped working Then it says that it will restart the program, and then I get this message. The upper left corner of the picture was not visible due to a white box covering part of the picture. Not a big deal and I figured I would look for a solution to that once it started to be a problem. Dreamscope turns your photos into amazing paintings! Go from photo to art in just one tap. Upload a photo, choose a painting filter, and magically turn it into fine art.
I know I could use Irfanview or the sort, but I'd prefer to be able to use Photo Viewer. Is there any way I can bring it back?
I think because of your first attempt to run the .dll directly, the entry 'Windows Photo Viewer' still points to the .dll instead of rundll32, which of course you can't run directly.
Try adding the following to the registry:
(Source)
If that doesn't work, try searching the registry for Windows Photo Viewer and photoviewer.dll to see if there are any references to photoviewer.dll being called directly (without rundll32).
I got mine to work, I think you have to successfully open an image with the old photo viewer once, then you can set it as default.
Open an image with this in command prompt %SystemRoot%System32rundll32.exe '%ProgramFiles%Windows Photo ViewerPhotoViewer.dll', ImageView_Fullscreen pathToImageNoQuotes
Then I have this option
Now my PNGs open with the old photo viewer by default, works great.
Put this in a .reg file and run it:
This will make all JPEG files viewable in Photo Viewer. If you want to make other types work as well just replace 'jpegfile' in the code with 'pngfile', 'giffile', 'Paint.Picture' (Paint.Picture is the .bmp type)
Find any picture, right-click, choose Open With, then find Windows Photo Viewer and select it as default program.
You can also use Winaero Tweaker to activate Windows Photo Viewer, as shown in the following screenshot. Just follow the description (within the green box), and you're all set.
PS: Winaero Tweaker is a free tool, which can be used to tweak many aspects of Windows 10.
Unfortunately, none of the above answers worked for me, but they pointed me in the right direction.
Open With
, then Choose another app
.More apps
, then `Look for another app on this PC.All Files (*.*)
instead of Programs (*.exe ...)
, then navigate to C:Program FilesWindows Photo Viewer
and choose PhotoViewer.dll
.Open With
, then Choose another app
.More apps
.Always use this app to open .png files
.Once you did steps 1-4, you don't have to repeat them for other file types. Steps 5-7 should suffice.
I have found a solution without having to alter the registry. I have followed TechnoCore's answer, but as the comments indicated, the second part wasn't working for me either.So this is what to do:
Make sure you have the 'Always use this app...' option checked.
Repeat it for all file types you want to associate with Windows Photo Viewer.
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?