Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Windows Photo Viewer is still available on many Windows 10 and Windows 11 installations, but it is hidden behind Microsoft Photos and its file-association entries may no longer be active. It is not a normal executable you download or launch: the viewer is the legacy PhotoViewer.dll component, started through rundll32.exe.

This guide shows how to check whether the component exists, restore its registration, set it as the default for image formats, and troubleshoot common errors. Registry changes cannot restore the viewer if the DLL has been removed from your installation.

Check whether Windows Photo Viewer is installed

Before changing the registry, verify that the required Windows component exists. Open PowerShell and run:

Test-Path "$env:ProgramFilesWindows Photo ViewerPhotoViewer.dll"

If PowerShell returns True, the DLL is present at the standard location. If it returns False, the registration procedure below will not help: registry entries can advertise the viewer, but they cannot recreate a missing Windows component.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey
  • Compact Mouse: With a comfortable and contoured shape, this Logitech ambidextrous wireless mouse feels great in either right or left hand and is far superior to a touchpad
  • Durable and Reliable: This USB wireless mouse features a line-by-line scroll wheel, up to 1 year of battery life (2) thanks to a smart sleep mode function, and comes with the included AA battery
  • Universal Compatibility: Your Logitech mouse works with your Windows PC, Mac, or laptop, so no matter what type of computer you own today or buy tomorrow your mouse will be compatible
  • Plug and Play Simplicity: Just plug in the tiny nano USB receiver and start working in seconds with a strong, reliable connection to your wireless computer mouse up to 33 feet / 10 m (5)
  • Better than touchpad: Get more done by adding M185 to your laptop; according to a recent study, laptop users who chose this mouse over a touchpad were 50% more productive (3) and worked 30% faster (4)

Windows Photo Viewer normally has no PhotoViewer.exe. Windows invokes the DLL through rundll32.exe.

First try: select Windows Photo Viewer from Open with

You may not need a registry change if the viewer is already registered.

  1. Open File Explorer.
  2. Right-click a JPG or another image.
  3. Select Open with, then Choose another app.
  4. Select Windows Photo Viewer.
  5. Select Always, or enable Always use this app if that is the wording shown on your Windows build.

If Windows Photo Viewer is not listed, restore its application registration using the registry file below.

Restore Windows Photo Viewer with a registry file

1. Confirm the DLL is present

Run the PowerShell test above. Continue only if it returns True.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. Create the registry file

Open Notepad and paste the following text:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows Photo ViewerCapabilities]
"ApplicationDescription"="@%ProgramFiles%\Windows Photo Viewer\photoviewer.dll,-3069"
"ApplicationName"="@%ProgramFiles%\Windows Photo Viewer\photoviewer.dll,-3009"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows Photo ViewerCapabilitiesFileAssociations]
".bmp"="PhotoViewer.FileAssoc.Tiff"
".dib"="PhotoViewer.FileAssoc.Tiff"
".gif"="PhotoViewer.FileAssoc.Tiff"
".ico"="PhotoViewer.FileAssoc.Tiff"
".jfif"="PhotoViewer.FileAssoc.Tiff"
".jpe"="PhotoViewer.FileAssoc.Tiff"
".jpeg"="PhotoViewer.FileAssoc.Tiff"
".jpg"="PhotoViewer.FileAssoc.Tiff"
".jxr"="PhotoViewer.FileAssoc.Tiff"
".png"="PhotoViewer.FileAssoc.Tiff"
".tif"="PhotoViewer.FileAssoc.Tiff"
".tiff"="PhotoViewer.FileAssoc.Tiff"
".wdp"="PhotoViewer.FileAssoc.Tiff"

[HKEY_CLASSES_ROOTApplicationsphotoviewer.dllshellopen]
"MuiVerb"="@photoviewer.dll,-3043"

[HKEY_CLASSES_ROOTApplicationsphotoviewer.dllshellopencommand]
@=""%SystemRoot%\System32\rundll32.exe" "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %1"

Save the file as Enable-Windows-Photo-Viewer.reg. In Notepad’s Save As window, set Save as type to All files (*.*). Check that the filename ends in .reg, not .reg.txt. The first line must be exactly:

Rank #2
Logitech M510 Full Size Ambidextrous 2.4 GHz Wireless Mouse
  • Your hand can relax in comfort hour after hour with this ergonomically designed mouse. Its contoured shape with soft rubber grips, gently curved sides and broad palm area give you the support you need for effortless control all day long.
  • You’ve got the control to do more, faster. Flipping through photo albums and Web pages is a breeze, especially for right-handers—with three standard buttons plus Back/Forward buttons that you can also program to switch applications, go full screen and more. And side-to-side scrolling plus zoom gives you the power to scroll horizontally and vertically through your music library, maps and Facebook feeds, and zoom in and out of photos and budget spreadsheets with a click.* * Requires Logitech SetPoint software (Windows) or Logitech Control Center software (Mac OS X)
  • Two years of battery life practically eliminates the need to replace batteries. ** The On/Off switch helps conserve power, smart sleep mode extends battery life and an indicator light eliminates surprises. ** Battery life may vary based on user and computing conditions.
  • The tiny Logitech Unifying receiver stays in your laptop. There’s no need to unplug it when you move around, so there’s less worry of it being lost. And you can easily add compatible wireless mice and keyboards to the same wireless receiver.
Windows Registry Editor Version 5.00

3. Import the registration

Double-click the saved .reg file and approve the Registry Editor prompts. The file writes to HKEY_LOCAL_MACHINE, so Windows may request administrator approval.

You can also import it from an elevated Command Prompt. For example, if the file is on your desktop, run:

reg import "%USERPROFILE%DesktopEnable-Windows-Photo-Viewer.reg"

Change the path if you saved the file elsewhere. A restart is normally unnecessary, but close and reopen File Explorer before checking Open with again.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set Windows Photo Viewer as the default

Registering the viewer makes it available; it does not necessarily replace the default selected for your user account. Windows stores associations separately for each file extension.

Windows 11

  1. Open Settings.
  2. Go to Apps > Default apps.
  3. Search for an extension, such as .jpg, .jpeg, or .png.
  4. Select the matching result.
  5. Select the current default application.
  6. Choose Windows Photo Viewer.
  7. Select Set default, or confirm the choice.

Repeat these steps for every format you want to open with the legacy viewer. Changing the default for .jpg does not automatically change .jpeg, .png, or .gif.

Rank #3
Sale
wegear USB Wireless Mouse for Laptop PC Mac, 2.4GHz Cordless Mouse-Black
  • 【Plug & Play】Simply plug in the USB receiver for instant connectivity—no drivers needed. The stable 2.4GHz wireless technology ensures reliable performance within 33ft (10m), free from interference. (Note: USB receiver is stored at the bottom of the mouse)
  • 【Precision Adjustable DPI】 Switch between 5 DPI levels (800/1200/1600/2400/4000) to adapt cursor speed for tasks like design or everyday browsing. This pc mouse wireless is optimized for accuracy on most surfaces
  • 【Enhanced Productivity with 6 Buttons】 Our computer mouse wireless includes forward/backward side buttons to streamline your workflow when navigating documents and web pages. (Note: Forward/backward buttons are not recognized on Mac)
  • 【Long-Lasting Battery Life】Runs for up to 24 months on a single AA battery (not included). The wireless mouse battery powered conserves energy by entering sleep mode after 8 minutes of inactivity and reactivates with any button click. and a red LED alerts you when battery is low
  • 【Ergonomic Comfort & Durability】 Designed for all-day comfort, this contoured wireless mouse for mac reduces hand strain during extended use. Built to last with 5,000,000 click durability testing

Windows 10

  1. Open Settings.
  2. Select Apps > Default apps.
  3. Select Choose default apps by file type.
  4. Find the required extension in the list.
  5. Select its current application.
  6. Choose Windows Photo Viewer.

Use File Explorer instead

  1. Right-click an image file.
  2. Select Open with > Choose another app.
  3. Select Windows Photo Viewer.
  4. Enable Always use this app to open [file type] files, if shown.
  5. Select OK or Always.

Launch the viewer from Command Prompt or PowerShell

Because the viewer is a DLL, the command must include both the DLL and its ImageView_Fullscreen entry point:

rundll32.exe "%ProgramFiles%Windows Photo ViewerPhotoViewer.dll",ImageView_Fullscreen "C:PathToimage.jpg"

For example:

rundll32.exe "%ProgramFiles%Windows Photo ViewerPhotoViewer.dll",ImageView_Fullscreen "C:UsersPublicPicturessample.jpg"

The comma and ImageView_Fullscreen text are required. The image path must be quoted when it contains spaces. These incomplete commands will not work correctly:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
rundll32.exe "%ProgramFiles%Windows Photo ViewerPhotoViewer.dll"
rundll32.exe "%ProgramFiles%Windows Photo ViewerPhotoViewer.dll" "C:image.jpg"

Image formats supported by the standard registration

The usual Windows Photo Viewer registration advertises these extensions:

Extension Notes
.bmp, .dib Bitmap formats
.gif Displays the first frame of an animated GIF; it does not play the animation
.ico Icon files
.jfif, .jpe, .jpeg, .jpg JPEG variants
.jxr, .wdp Windows image formats
.png Portable Network Graphics
.tif, .tiff TIFF images

RAW camera files require a compatible Windows Imaging Component codec or another decoder. WEBP and HEIC are not included in the standard association list, so they may require a codec or a different image application.

Renaming an unsupported file, such as changing photo.webp to photo.jpg, does not convert its contents. Use an actual image converter if conversion is required.

Rank #4
TECKNET Compact Ambidextrous Wireless Mouse for Laptop Mint Green
  • 【Special Mint Green Mouse】This is an ideal choice if you need a colorful and cute mouse. Special mint green color and compact size makes it the best mouse for kids and people with small hands.
  • 【Portable Small Mouse】 Only 3.94*2.28*1.52 inches, the usb mouse is designed for small to medium sized hands to achieve optimal fit and comfort. Portable design makes it easy to store in a bag for traveling.
  • 【Soft Click Quiet Mouse】 Responsive buttons and scroll wheel provide very soft click with less noise, no more disturbing others and bring you comfortable using experience.
  • 【Easy to Use Laptop Mouse】 2.4GHz wireless technology ensures reliable connectivity up to 49ft. 3 adjustable DPI levels (1600/1200/800) to meet your different needs. Only need 1xAA battery (NOT included) to support up to 15 months battery life.Note:USB connector is stored inside the back compartment (open the cover to access).
  • 【Universal Compatibility】The wireless mouse is well compatible with Windows11/10/8.1/7,Mac OS . Fits for desktop, laptop, PC, and other devices.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting

Windows Photo Viewer is missing from Open with

Check the following:

  • The DLL exists at C:Program FilesWindows Photo ViewerPhotoViewer.dll.
  • The registry file was saved with a .reg extension rather than .reg.txt.
  • The import completed without an error.
  • File Explorer was closed and reopened after the import.

A user-specific association can also override the newly registered application. Set the default explicitly from Windows 11’s Settings > Apps > Default apps or Windows 10’s Choose default apps by file type page.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The registry import reports “Access is denied”

Import the file from an elevated Command Prompt, or approve the administrator prompt when double-clicking the file. The registry entries include HKEY_LOCAL_MACHINE, which requires elevated permission.

The command opens nothing

Verify all of these details:

  • The DLL path is correct.
  • The path is enclosed in quotation marks.
  • The comma before ImageView_Fullscreen is present.
  • The image path is enclosed in quotation marks.
  • The DLL exists.

Use this known-good pattern:

rundll32.exe "%ProgramFiles%Windows Photo ViewerPhotoViewer.dll",ImageView_Fullscreen "C:Path With Spacesimage.jpg"

Only TIFF files already use Windows Photo Viewer

That can be normal. Some older Windows configurations retained Photo Viewer as the handler for .tif and .tiff while Microsoft Photos handled JPEG and PNG files. Existing TIFF registration does not mean the viewer is registered for every image extension.

Windows 11 displays “App Not Supported”

Some Windows 11 installations, including systems updated through certain 24H2 builds, have reported this error with legacy Photo Viewer registrations. Confirm that the DLL exists, re-import the registry file, and test the exact rundll32.exe command.

If the DLL is present but the viewer still fails, use Microsoft Photos or another supported image viewer. The registry procedure restores a legacy component’s registration; it does not make that component a modern Store application or guarantee compatibility with every future Windows 11 release.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Rii Wireless Mouse, 2.4G Portable Computer Mice
  • System support:Windows/Android/Linux office device
  • Precise Responsiveness :1000 Frequency, Ergonomic Design ,Frame Rate up to 3600fps. High Precision Optical Engine promised a sensitivity for precise tracking on a wide range of surfaces.
  • Wireless Mouse :RF2.4G wireless transmission distance of up to 10m.
  • Easy operation : Plug and Play make all the operation easier than others.
  • Package Contents: 1x Wireless Mouse, 1x Nano Receiver,Powered by two AAA batteries (not included)

What this procedure does not do

  • It does not download Windows Photo Viewer from the Microsoft Store.
  • It does not install a new PhotoViewer.exe.
  • It does not add decoders for RAW, WEBP, HEIC, or other unsupported formats.
  • It does not change every image association automatically.
  • It does not guarantee that the legacy viewer will remain compatible with future Windows updates.

Windows 10 version 22H2 was its final feature version, and standard Windows 10 support ended on October 14, 2025, apart from separately supported LTSC releases. On a supported Windows installation, Microsoft Photos remains the maintained choice; Windows Photo Viewer is best treated as a legacy compatibility option.

FAQ

Is Windows Photo Viewer still available in Windows 10 and Windows 11?

It is still present on many installations as PhotoViewer.dll, but Windows may no longer list it as an available application. Check C:Program FilesWindows Photo ViewerPhotoViewer.dll before changing the registry.

Can I download Windows Photo Viewer as a separate app?

No. The classic viewer is a legacy Windows component rather than a current Microsoft Store application. The registry procedure restores the registration of the component already on the system.

Why does Windows Photo Viewer not appear after I import the registry file?

The file may have been saved as .reg.txt, the import may have failed, File Explorer may need to be reopened, or the DLL may be missing. Run the PowerShell Test-Path check and verify the import completed successfully.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Will setting Windows Photo Viewer for JPG also affect PNG and JPEG files?

No. Windows assigns defaults by extension. Set .jpg, .jpeg, .png, .gif, .bmp, and other required extensions separately.

Why will Windows Photo Viewer not open a WEBP or HEIC image?

WEBP and HEIC are not included in the standard Photo Viewer registration. You need a compatible codec or an image application that supports those formats.

Does Windows Photo Viewer play animated GIFs?

No. It displays the first frame of an animated GIF rather than playing the animation.

The Bottom Line

Check for PhotoViewer.dll first. If it exists, import the registration file, reopen File Explorer, and assign Windows Photo Viewer separately to each extension from Default apps. If the DLL is missing or the viewer produces “App Not Supported,” use Microsoft Photos or another maintained image viewer instead.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 1
Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey
Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey
Product carbon footprint: 3.97 kg CO2e; Contoured shape: Gives you more comfort and control
$12.34
Bestseller No. 5
Rii Wireless Mouse, 2.4G Portable Computer Mice
Rii Wireless Mouse, 2.4G Portable Computer Mice
System support:Windows/Android/Linux office device; Wireless Mouse :RF2.4G wireless transmission distance of up to 10m.
$5.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.