Ask Leo!

What if I *want* Windows Picture and Fax Viewer?

Home » Windows

A very common question most folks have shortly after installing Windows XP is How do I make something other than "Picture and FAX Viewer" the default for viewing pictures?.

The other day I got a couple of variations on the reverse:

What is the file name and extension for Windows picture and fax viewer? I want to use it for an OLE object to view pictures.

and

How do I change my default image viewer back to the Windows Picture and Fax Viewer?

Turns out it's easier to get rid of than it is to restore. But not impossible.

It took a little spelunking using Process Explorer to determine the command line that is used when Windows Picture and Fax Viewer is invoked. Turns out that it's not a stand-alone exe at all.

The command to run Windows Picture and Fax viewer is:

rundll32.exe C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen path-to-picture

So, to answer the first question: shimgvw.dll probably exposes the objects needed to use Windows Picture and Fax Viewer as an OLE object.

As for the second, restoring Windows Picture and Fax Viewer as the viewer for images:

  • Note what file extension you want to change the default for. That's the ".jpg", ".gif", and so on at the end of the filename. It indicates the type of picture, and more importantly, it's what Windows uses to decide what program to use to display it.
  • Open up Windows Explorer. (The Windows Key + E, on many keyboards.)
  • Find any file with that same extension.
  • Right-click on the filename, and select Open With ....
  • Select Choose Program at the bottom of the list that's displayed.
  • In the resulting dialog box, "Windows Picture and Fax Viewer" should already be listed. Click on it.
  • Check the box labeled "Always use the selected program to open this kind of file".
  • Press OK

If for some reason it's not already in the list, you can force the association by following these steps, still in Windows Explorer:

  • On the Tools menu, click Folder Options...
  • Click on the File Types tab.
  • Scroll down to the extension you care about, for example "JPG".
  • Press the Restore button, if it exists.
  • Press the Advanced button.
  • Click on the Open action.
  • Click on Edit...
  • In the Application used to perform action: enter C:\WINDOWS\system32\rundll32.exe C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen %1. Where "C:\WINDOWS" is the directory containing your Windows installation.
  • Press OK

You'll want to repeat that for every extension (GIF, JPG, JPEG, etc.) for which you want to change the behavior.

Update: Another approach to re-installing Windows Picture and Fax Viewer is to click on Start, Run... and type in:

regsvr32 /i shimgvw.dll

and press OK. Then press OK again on the resulting success message. (Thanks to comment poster Leon for this suggestion.)

Related:

FREE Newsletter

The Ask Leo! Newsletter - FREE weekly updates by email with the latest answers, tips, tricks and fun information you won't find anywhere else.

Your Name:

Email Address:

(Optional) Where did you hear about us?

Note: Questions entered above will be ignored. If you have a question please start here.

Click to subscribe to the weekly newsletter:

Why Subscribe?
Current Newsletter - RSS - Privacy policy
Every issue has simple unsubscribe instructions.

More articles about: Windows

Article Useful? Link to it from your own website; just copy/paste this HTML:

Article 5941 | Posted April 20, 2005

Recent Comments

I like the Windows Picture and Fax Viewer in XP.
Could You please advice me, how can I get similar performance under Win2k? There is shimgvw.dll in W2k, but it will not accept option "ImageView_Fullscreen" as it does in XP.
Without hope I tried to run shimgvw.dll from XP under W2k (together with its matching rundll.exe), but of course it did not run.
Thanks in advance. n.

Posted by: noomin at February 7, 2008 03:03 AM

I like the Windows Picture and Fax Viewer in XP.
Could You please advice me, how can I get similar performance under Win2k? There is shimgvw.dll in W2k, but it will not accept option "ImageView_Fullscreen" as it does in XP.
Without hope I tried to run shimgvw.dll from XP under W2k (together with its matching rundll.exe), but of course it did not run.
Thanks in advance. n.

Posted by: noomin at February 7, 2008 03:09 AM

I had windows picture and fax viewer, I downloaded
an update to Adobe and it gave me a new photo program. Not knowing it got rid of my windows picture and fax viewer. I tried start....run but it didn't find the program. What do I do know?

Posted by: Rita at February 15, 2008 01:47 PM

How do I set "Windows Picture and Fax Viewer" as default on an entire network? Is there a policy for this or any other solution to do this on many pc's without having to do it manualy on every pc.

Posted by: Aenar at February 25, 2008 02:29 AM

Helped a lot!!! The easiest for me was putting the commands in the start, run section. I had a problem with NERO wanting to open it and I was happy with the window fax viewer. When I took Nero off as the default, it kept wanting to save the file instead of opening it. After doing the command, it reverted back to the windows picture and fax viewer. this was very helpful. thanks

Posted by: chad at February 26, 2008 05:24 AM

1.click start-control panel.
2.click folder options.
3.in folder options-click file types click NEW.
4.in create new extention enter [TIF] infile extention box. then click ADVANCED.
5.in associated File Type drop down find TIF Image.
6.click OK.
7.find TIF Image in the list.
8.click OK
END
the above worked for me, and still doe's.
All the best Brian
7 Mar 2008

Posted by: Brian at March 7, 2008 11:47 AM

Thanks for the info. I use the Viewer and love its simplicity. Open a picture and then use the arrow keys to scroll through the images in that file. Easy to find stuff. It was removed from my partner's computer. He was jealous (had to open-close, open-close!). I might use this as leverage before I tell him how to fix!

Thanks again

Posted by: Deuce at March 13, 2008 09:58 AM

It's actually part of Microsoft Office under the "extras" programs U add when installing

Posted by: Rocker at March 13, 2008 02:11 PM

I have changed it back to "windows Picture Viewer" but Omnipage says its the default in the "restore button". Any ideas? Also after I reboot pc Omnipage takes over again.

Posted by: Terry at March 17, 2008 02:40 PM

Thanks. regsvr32 /i shimgvw.dll worked for me!

Posted by: Raman at April 6, 2008 11:04 PM

Post a comment on "What if I *want* Windows Picture and Fax Viewer?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!


New!

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

Please wait. Your comment is being processed ...


Ask Your Question:


ask-leo.com
Web

Archives

By Category
By Date

Advertisers

Advertise on Ask Leo!

««   »»

Question? - Ask Leo!
Who is Leo?
Link to Leo!

Terms, Conditions & Privacy