Classic Windows Photo Viewer Redirect
Redirects image opening at runtime to the classic Photo Viewer (shimgvw.dll), without modifying the Registry
Author: babamohammed
This mod restores the classic Windows Photo Viewer from Windows 7 without altering system configurations.
How it works
This mod hooks ShellExecuteExW and, when it detects a call with the "open" verb
targeting a file with one of the configured image extensions, redirects the call
to launch the classic Photo Viewer (shimgvw.dll via rundll32.exe) instead of
whatever application would normally handle it.
Screenshot

Key Features
- No Registry modifications: The mod does not alter file associations or create any keys in HKLM or HKCU.
- Purely runtime effect: The redirection occurs exclusively in memory. Disabling the mod instantly restores the default Windows behavior.
- Supported formats: Covers major raster formats including JPG, JPEG, JFIF, PNG, BMP, DIB, GIF, TIF, TIFF, ICO, WDP, and JXR.
Known Limitations
- The redirection only applies when the file is opened via
ShellExecuteExW, which is
how the Explorer context menu's "Open" command works. This is the main path this
mod is able to intercept.
- Double-click and Enter often go through app activation for the UWP Photos app
instead of
ShellExecuteExW, which this mod cannot intercept. In practice, the
redirect mainly fires for the right-click → Open path.
- Modern formats not natively supported by the legacy viewer (such as HEIC or WebP) are ignored by the hook and will continue to open with the default modern application.