Skip to content

Instantly share code, notes, and snippets.

@mesheets
Created June 15, 2024 19:56
Show Gist options
  • Select an option

  • Save mesheets/269b63d306c7ecda759ae5d334cca21b to your computer and use it in GitHub Desktop.

Select an option

Save mesheets/269b63d306c7ecda759ae5d334cca21b to your computer and use it in GitHub Desktop.
Restore Windows Photo Viewer in Windows 10
Windows Registry Editor Version 5.00
; Description at the link below; however, that article (and its registry file)
; do not provide the more complete integration available through this file.
; This file eliminates some of the noted workarounds.
; https://www.techradar.com/uk/how-to/how-to-restore-and-use-windows-photo-viewer-in-windows-10
[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}"
[HKEY_CLASSES_ROOT\Applications\PhotoViewer.dll\SupportedTypes]
; Based on the link below, plus known alternate file extensions for the same file format
; https://web.archive.org/web/20130717123653/http://windows.microsoft.com/en-US/windows7/Understanding-picture-file-types
; Bitmap
".bmp"=""
".dib"=""
; Graphics Interchange Format (GIF)
".gif"=""
; Icon
".ico"=""
;JPEG
".jfi"=""
".jfif"=""
".jif"=""
".jpe"=""
".jpeg"=""
".jpg"=""
; JPEG XR (eXtended Range) [formerly HD Photo]
".jxr"=""
".hdp"=""
".wdp"=""
; Portable Network Graphics (PNG)
".png"=""
; Tag Image File Format (TIFF)
".tif"=""
".tiff"=""
; The following are supported by MS Paint but do not appear to be supported by Photo Viewer
; Run Length Encoded
-".rle"=""
; Windows Metafile / Enhanced Metafile
-".wmf"=""
-".emf"=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\PhotoViewer.dll]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment