Advertisement

Get the Preview context menu item for Photo Viewer in Windows 10

Some time ago, we covered how to get the Photo Viewer app back in Windows 10. While that trick works perfectly, the only thing missing was the "Preview" context menu verb in File Explorer. In previous Windows versions, you were able to right click an image in Explorer and pick "Preview" to see it quickly. Today, we will revive this option for Windows 10. The benefit of adding a Preview verb is that even if you use some other image viewer as the default, you can quickly open any image in Windows Photo Viewer whenever required.

Advertisеment


To get the Preview context menu item for Photo Viewer in Windows 10, all you need to do is apply a simple Registry tweak as described below.
  1. Open Registry Editor.
  2. Go to the following Registry key:
    HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell

    Tip: You can access any desired Registry key with one click.
    If you do not have such a key, then just create it.

  3. At this key, create a new subkey named Image Preview to get the following path
    HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\Image Preview
  4. Under it, create a new subkey named Command to get the following path
    HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\Image Preview\Command
  5. Set the default (unnamed) parameter to the following value:
    %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %1

    (You can copy paste the text above)
    You will get something like this:Photo Viewer Context Menu WIndows 10

Now, right click any image in File Explorer. A new "Image Preview" item will appear:

Photo Viewer Context Menu WIndows 10 - 02

If you click it, the Photo Viewer app will open.

Windows 10 get photoviewer backThat's it.

I prepared Registry files so you can get the context menu entry with one click:

Download Registry files

Double click the file "Image Preview.reg" to get the context menu item in your File Explorer. The Undo file is included. Thanks to our reader "ThePhinx" for sharing this tip.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

26 thoughts on “Get the Preview context menu item for Photo Viewer in Windows 10”

  1. Can you please explain why it is different from what I said above (in case I am missing something)?

    (I already did your tweak to use the Photo Viewer and that is great).

    1. I agree with @melmutcheese, I see no point in this tutorial as the ‘Preview’ option is at the top of the right click menu already. Likewise once the image is opened in Photo Viewer the user can press the next button at the bottom of the window to view the next image in that folder.

  2. this works great to preview one image file at a time; is there any way to preview multiple selected files? in previous versions of windows, i could select a group of files and preview them all in windows photo viewer, flipping through very easily. would like this functionality to be restored. thanks!

    1. Hi cj4soccer,
      Yes, there is a way to preview multiple selected files with the Windows Photo Viewer (context menu) for Windows 10. To be fair, I forgot to add a step in my original tip to restore the Image Preview context menu. To restore this functionality:

      1) First, follow Sergey’s steps outlined above to get the Image Preview context menu working in Windows 10.
      2) Then, in Regedit, navigate to:
      “HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\Image Preview”
      3) Create a new Key under “Image Preview” named DropTarget
      4) With the new DropTarget key selected, on the right hand side, now create a new String named CLSID and set its value to {FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}
      5) Close Regedit.

      That’s it. Scrolling through multiple selected files using the Image Preview context menu now works in Windows 10. Sergey, feel free to update this blog entry to include this extra Registry key required to get scrolling through multiple selected files working again.

      – ThePhinx

  3. How about a reply to my question since you seem to be replying to others.

    I cannot see any difference in the 2 Menu Choices.

    1. The simple truth is that there is no difference! This tutorial only duplicates what is already available at the top of the right-click context menu. If people look at the second image of this tutorial they can see that ‘Preview’ is already shown in BOLD type, what’s the point of adding it again?? I think the preview option has moved up the list in Windows 10, maybe that’s why Sergey over-looked it?? LOL!!!

  4. I only asked n case I was missing something not to be smartarse but think the OP may have though so.

    I wondered if it was different as you could hover and not click or something but the descriptions clearly states you click and its no different to what I already have by default.

  5. I don’t know about everyone, but for me, ther is NOT a PREVIEW option in the Right-Click Context Menu in my Windows 10 Enterprise Edition. this gives me back the capability to just preview images without invoking a program like Photoshop which is set as my default for numerous types of image files. HTH

  6. Hello,

    I followed strictly your tutorial but when I click on Image preview for a photo situéedans a directory of the record(disk) C:/, I have the following message:

    “Windows does not succeed in reaching the ring road(peripheral), the access path(road) or the specified file. You do not maybe arrange authorizations suited to have access to the element.”

    Have you an idea of the reason of this message?
    I am the administrator of my PC.

    Regards

    B. Delassus

    1. I had the same problem. Following the steps in ThePhinx’s reply to cj4soccer on August 30, 2015 fixed it for me. :)

  7. Hello. When I add this to the registry, and try the ‘Image Preview’ context menu, I get: “Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.” Thoughts?

  8. There’s an easy way to make it work the old way.

    Open any folder with an image file – ie *.jpg
    Right click on the file, and select “Properties” from the menu.
    Under the “General” tab, you’ll see an “Opens with” option. Click “Change”. In the list of options is “Windows Photo Viewer”. Select this, then click “Apply”.

    This will give you back the right-click Preview option, which works just like it did in Windows 7/8.

  9. If I follow the listed instructions, I get a REG_SZ value and I get the same error as Paul above. If I run the downloaded *.reg file, I get a REG_EXPAND_SZ value, and it works. Something’s not right.

  10. to begin: the new key “command” must be typed all lower case
    in the key “command” the default (unnamed) parameter must be deleted
    instead create a new “Expendable String Value”
    rename it in (Default)
    and set its parameters as described

    works perfect, I have been searching fo this for ages

    1. I don’t know why this is so difficult to understand what is being asked. The issue is NOT that preview is not a default option in the context menu, The issue is that in earlier versions of Windows, If you right clicked on an image file in Windows explorer, a thumbnail image appeared in the context menu, along with the standard options. Are the MS engineers trying to confuse the issue are are they just that thick headed?

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.