Using Windows Photo Viewer in Win 10
-
- PlatinumLounger
- Posts: 3546
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Using Windows Photo Viewer in Win 10
I am wondering if this Registry Hack I found, after being run, would make Windows 11 use Windows Photo Viewer as it claims, the default program for photos. I am not sure it does all that some of the links above suggest doing. What does the @="PhotoViewer.FileAssoc.Tiff" mean? Here is the code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\.bmp]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Classes\.gif]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Classes\.ico]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Classes\.jpeg]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Classes\.jpg]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Classes\.png]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.gif\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ico\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpeg\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bmp\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\.bmp]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Classes\.gif]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Classes\.ico]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Classes\.jpeg]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Classes\.jpg]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Classes\.png]
@="PhotoViewer.FileAssoc.Tiff"
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.gif\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ico\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpeg\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bmp\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\OpenWithProgids]
"PhotoViewer.FileAssoc.Tiff"=hex(0):
Regards,
hlewton
hlewton
-
- Administrator
- Posts: 76214
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Using Windows Photo Viewer in Win 10
The text in your post should be saved in a plain text file. You should then change the extension to .reg
When you open (double-click) a .reg file, it will make changes to the Windows registry.
It will add or modify registry keys and registry values.
Each registry key has a default value in the right-hand pane of the registry editor. In the text file, this default value is indicated by @.
But you do NOT, I repeat NOT have to understand what each of the entries in the .reg file does, nor should you change the contents of the file in any way.
When you open (double-click) a .reg file, it will make changes to the Windows registry.
It will add or modify registry keys and registry values.
Each registry key has a default value in the right-hand pane of the registry editor. In the text file, this default value is indicated by @.
But you do NOT, I repeat NOT have to understand what each of the entries in the .reg file does, nor should you change the contents of the file in any way.
Regards,
Hans
Hans
-
- PlatinumLounger
- Posts: 3546
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Using Windows Photo Viewer in Win 10
Thank you. I was not going to change anything but I was wondering why the .Tiff was mentioned so often. Also, do you think running this reg. file alone will make Windows Photo Viewer the default program for the extensions mentioned?HansV wrote: ↑26 Oct 2022, 20:36The text in your post should be saved in a plain text file. You should then change the extension to .reg
When you open (double-click) a .reg file, it will make changes to the Windows registry.
It will add or modify registry keys and registry values.
Each registry key has a default value in the right-hand pane of the registry editor. In the text file, this default value is indicated by @.
But you do NOT, I repeat NOT have to understand what each of the entries in the .reg file does, nor should you change the contents of the file in any way.
Regards,
hlewton
hlewton
-
- Administrator
- Posts: 76214
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- Panoramic Lounger
- Posts: 7525
- Joined: 25 Jan 2010, 09:09
- Location: retirement
Re: Using Windows Photo Viewer in Win 10
You contradict the subject you gave this topic, "...in Win 10"
I don't have Win 11 but I have never had to resort to a reg. hack to set a default program of any type. Every version of Windows I've ever used has had a built in feature to do that. Why can you not use that feature?
Ken
-
- PlatinumLounger
- Posts: 3546
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Using Windows Photo Viewer in Win 10
I may give it a try. I was just trying to be cautious. Something happened to my entire Microsoft 365 on that machine and my computer builder is remotely connected to it now trying to get it back up and running.
Regards,
hlewton
hlewton
-
- PlatinumLounger
- Posts: 3546
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Using Windows Photo Viewer in Win 10
I read where the hack would be the same for both Win 10 and Win 11. So, I was just trying to not to have to create another thread. Sorry if that was confusing.stuck wrote: ↑27 Oct 2022, 09:21You contradict the subject you gave this topic, "...in Win 10"I don't have Win 11 but I have never had to resort to a reg. hack to set a default program of any type. Every version of Windows I've ever used has had a built in feature to do that. Why can you not use that feature?
Ken
Regards,
hlewton
hlewton
-
- Panoramic Lounger
- Posts: 7525
- Joined: 25 Jan 2010, 09:09
- Location: retirement
-
- 4StarLounger
- Posts: 509
- Joined: 24 Jan 2010, 16:02
- Location: Recently moved to Bracebridge - in the heart of Muskoka.
Re: Using Windows Photo Viewer in Win 10
From what I understand Ken, Windows Photo Viewer is included BUT is not enabled in Windows 11. The registry hack enables Photo Viewer and THEN the user can make it the default viewer via the built-in feature.
John 
A Child's Mind, Once Stretched by Imagination...
Never Regains Its Original Dimensions

A Child's Mind, Once Stretched by Imagination...
Never Regains Its Original Dimensions
-
- PlatinumLounger
- Posts: 3546
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Using Windows Photo Viewer in Win 10
Yes that is my understanding also. Windows Photo Viewer is not offered, at least to me, when choosing a default program to open photos or other files either. A while back I installed and set InfanView 64 as my default program. It works but has a slight problem. Often it will give me an error dialog box as can be seen in the attachment. I have tried, unsuccessfully, to find and install that Ghostscript it mentions. But at least it partially works for me so I gave up trying to find and install Ghostscript.
You do not have the required permissions to view the files attached to this post.
Regards,
hlewton
hlewton
-
- SilverLounger
- Posts: 1840
- Joined: 25 Jan 2010, 02:12
Re: Using Windows Photo Viewer in Win 10
AFAIK, the Photos app is not optional in Windows 11. It is one of many "in-box" apps. There was recently a big update to the Photos app. You can still get the legacy Photos app in the Microsoft store. Within the updated Photos app go to Settings. Them scroll down to "Photos legacy".
Joe
-
- PlatinumLounger
- Posts: 3546
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Using Windows Photo Viewer in Win 10
I am not following this. I searched in the Microsoft store and found that I have a photo app, apparently, already installed. I opened it and clicked the Settings but found no "Photos legacy" setting option. The app I opened is named Photos so I am not sure that is where you wanted me to be but I didn't find any other Photo app to open. When you said, "Within the updated Photos app go to Settings" did you mean the app named Photos which I found in my start menu?JoeP wrote: ↑27 Oct 2022, 20:44AFAIK, the Photos app is not optional in Windows 11. It is one of many "in-box" apps. There was recently a big update to the Photos app. You can still get the legacy Photos app in the Microsoft store. Within the updated Photos app go to Settings. Them scroll down to "Photos legacy".
Regards,
hlewton
hlewton
-
- Panoramic Lounger
- Posts: 7525
- Joined: 25 Jan 2010, 09:09
- Location: retirement
Re: Using Windows Photo Viewer in Win 10
Ah, OK, I see.
Don't worry about the error in IrfanView, it only occurs if you try to open a PDF file with IrfanView. In other words, set the default app for PDF files to a proper PDF reader like Foxit and you should not see the error again (unless you explicitly try to open a PDF file using IrfanView.
Ken
Last edited by stuck on 28 Oct 2022, 19:48, edited 1 time in total.
-
- PlatinumLounger
- Posts: 3546
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Using Windows Photo Viewer in Win 10
OH, thank you. I'll pay more attention the next time I am using it.
Regards,
hlewton
hlewton
-
- Panoramic Lounger
- Posts: 7525
- Joined: 25 Jan 2010, 09:09
- Location: retirement
-
- PlatinumLounger
- Posts: 3546
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Using Windows Photo Viewer in Win 10
I thought I had already done that but went back and checked for sure. My computer uses Foxit PDF Reader for PDF files. So, I am not sure why I am getting that error. I will pay attention next time but I thought it gave me that error when there were no more jpg or jpeg files to open in the folder where I was viewing them
Regards,
hlewton
hlewton
-
- Panoramic Lounger
- Posts: 7525
- Joined: 25 Jan 2010, 09:09
- Location: retirement
Re: Using Windows Photo Viewer in Win 10
If, in a folder in Explorer, you double click on an image file, and IrfanView is the default app. for that file type, then the image will open in IrfanView.
If then inside IrfanView you use the forward / back arrows on Irfanview's toolbar to step to the next image in that same folder then IrfanView will try to open the next file in a folder. If that next file happens to be a PDF file then, even if Foxit is your default PDF app. IrfanView will try to open it and, unless you have Ghostscript installed, you will get the error.
Ken
-
- PlatinumLounger
- Posts: 3546
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Using Windows Photo Viewer in Win 10
That must be what is happening. Back to what I mentioned above, I have tried unsuccessfully to install Ghostscript, I don't even remember how I tried to install it at the time. I just now searched where to install it from and came up with a site artifex.com that offered a free version and a licensed version but it did not mention InfranView. Do you know if that is where I should try to install the free version of Ghostscript?stuck wrote: ↑28 Oct 2022, 20:17If, in a folder in Explorer, you double click on an image file, and IrfanView is the default app. for that file type, then the image will open in IrfanView.
If then inside IrfanView you use the forward / back arrows on Irfanview's toolbar to step to the next image in that same folder then IrfanView will try to open the next file in a folder. If that next file happens to be a PDF file then, even if Foxit is your default PDF app. IrfanView will try to open it and, unless you have Ghostscript installed, you will get the error.
Ken
Regards,
hlewton
hlewton
-
- Panoramic Lounger
- Posts: 7525
- Joined: 25 Jan 2010, 09:09
- Location: retirement
Re: Using Windows Photo Viewer in Win 10
I've used IrfanView for years, probably all the way back to Win 98, and seen this error many times but I've never, ever, bothered to go looking for Ghostscript. I don't need (or want) IrfanView to open PDF files, I've got proper PDF reader apps for that.
Ken
-
- PlatinumLounger
- Posts: 3546
- Joined: 24 Oct 2010, 23:39
- Location: Canton, Ohio USA
Re: Using Windows Photo Viewer in Win 10
OK thanks. I think I'll follow your lead.
Regards,
hlewton
hlewton