Proper fix for PhotoViewer bug in builds 10147 and up

Discussion in 'Windows 10' started by laqk, Jul 2, 2015.

  1. laqk

    laqk MDL Junior Member

    Jan 22, 2011
    50
    35
    0
    #1 laqk, Jul 2, 2015
    Last edited by a moderator: Apr 20, 2017
    After a little investigating I discovered that the problem with PhotoViewer opening with a print dialog instead of the image viewer was due to an incomplete registry key (missing "open" subkey). Executing the following .REG file solves this problem.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\Applications\photoviewer.dll]
    
    [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell]
    
    [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open]
    "MuiVerb"="@photoviewer.dll,-3043"
    
    [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
      6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
      00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
      25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
      00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
      6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
      00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
      5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
      00,31,00,00,00
    
    [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget]
    "Clsid"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"
    
    [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print]
    
    [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
      6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
      00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
      25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
      00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
      6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
      00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
      5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
      00,31,00,00,00
    
    [HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget]
    "Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"
    No reboot needed. After inserting this code in the registry, PhotoViewer should start to work immediatly.
     
  2. kssbsr

    kssbsr MDL Novice

    Jul 25, 2013
    14
    1
    0
    Seems good
     
  3. cuteee

    cuteee MDL Guru

    Oct 13, 2012
    5,730
    982
    180
    Maybe in RTM it will be fixed.
     
  4. WardocsRevenge

    WardocsRevenge MDL Expert

    Jan 13, 2012
    1,848
    644
    60
    never had this issue ever
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Sliden

    Sliden MDL Junior Member

    May 20, 2009
    90
    53
    0
    On 10166, 10176 build, open is not present !
    Right click: preview
    Is also missing.

    With the fix everything OK.
    If you use other build, I do not know?
     
  6. jocohoco

    jocohoco MDL Novice

    Jan 7, 2013
    2
    0
    0
    Great work !! but I have the threshold II version 10568.11.
    After using your regfile it functions in a frustrating way -You have to click now two times to see the original Pic in the classic win7style !
    The small preview to the right is a placebo Windows pic with a frame around. The original Pic is not shown i.e. you dont see your Cd cover. o_O