Curious Minds

Clear answers to science and history questions

Restore Photo Viewer: Fix Windows Photos App

· 6 min read · Science

If your Windows Photos app is missing, broken, or won't open, you can restore it by reinstalling the app from the Microsoft Store, running the built-in troubleshooter, or using a PowerShell command to re-register it. These methods work for Windows 10 and Windows 11 and usually fix the problem in under ten minutes. Below is a step-by-step guide for each fix, plus answers to common questions about the default photo viewer.

Why the Photos App Goes Missing or Stops Working

The Photos app (also called Microsoft Photos) is a UWP (Universal Windows Platform) app that comes preinstalled with Windows. It can disappear or stop working for several reasons:

  • A Windows update changed the default app association or corrupted the app's data.
  • Another program (like a third-party photo editor) took over the default file associations for .jpg, .png, and other image formats.
  • The app was accidentally uninstalled, or a system cleanup tool removed it.
  • Your user profile has corrupted app data, which prevents the app from launching.
  • Windows itself has a corrupted system file that affects all Store apps.

In most cases, the app is not truly gone — it is just hidden, unregistered, or broken. The fixes below address each of these causes.

Fix 1: Reinstall the Photos App from the Microsoft Store

The simplest fix is to reinstall the app from the Microsoft Store. This works even if the app is missing from your Start menu.

  1. Open the Microsoft Store (search for "Store" in the Start menu).
  2. In the top search bar, type Microsoft Photos and press Enter.
  3. Click the Microsoft Photos app from the results.
  4. If the button says Get or Install, click it and wait for the download to finish.
  5. If the button says Open, the app is already installed — click Open to test it.

If the Store shows an error or the button is greyed out, move on to the next fix.

Fix 2: Repair or Reset the Photos App

Windows has a built-in repair tool for Store apps. This resets the app's data without uninstalling it.

  1. Open Settings (Win + I) and go to Apps > Installed apps (Windows 11) or Apps & features (Windows 10).
  2. Scroll down to Microsoft Photos (or search for it in the list).
  3. Click the three-dot menu next to it (Windows 11) or click the app name (Windows 10).
  4. Select Advanced options.
  5. Click Repair first. If that doesn't help, click Reset (this deletes the app's settings and cached thumbnails, but not your actual photo files).

After a reset, you may need to set the Photos app as your default viewer again (see Fix 4).

Fix 3: Re-register the Photos App with PowerShell

If the app is still missing or won't open, you can re-register it with a PowerShell command. This is safe and does not delete any of your photos.

  1. Right-click the Start button and select Windows Terminal (Admin) or Windows PowerShell (Admin).
  2. In the window, type the following command and press Enter:
Get-AppxPackage -Name Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
  1. Wait for the command to finish. You should see no error messages. If you do see a red error, it usually means the app is already registered correctly.
  2. Close the terminal and try opening a photo to see if the app works.

This command re-registers the app with Windows, which fixes many corruption issues without a full reinstall.

Fix 4: Set Photos as the Default Photo Viewer

Even if the Photos app works, double-clicking an image may still open another program if the file association was changed. To restore Photos as the default:

  1. Open Settings > Apps > Default apps.
  2. Scroll down and click Photos (or search for it).
  3. You will see a list of file types (like .jpg, .png, .gif, .webp).
  4. Click each file type and select Photos from the list.

Alternatively, you can right-click any image file, choose Open with > Choose another app, select Photos, and check the box that says Always use this app to open .jpg files (or whatever the file type is).

Fix 5: Run the Windows Store Apps Troubleshooter

Windows includes a troubleshooter that can automatically detect and fix problems with Store apps, including Photos.

  1. Open Settings > System > Troubleshoot (Windows 11) or Update & Security > Troubleshoot (Windows 10).
  2. Click Other troubleshooters.
  3. Find Windows Store Apps and click Run.
  4. Follow the on-screen instructions. The tool may ask you to sign in or restart.

This is a good first step if you are not sure what is wrong, but it often does not fix deeper corruption.

Fix 6: Check for Windows Updates

Occasionally, a bug in Windows itself can break the Photos app. Microsoft usually releases a fix in a cumulative update.

  1. Open Settings > Windows Update.
  2. Click Check for updates.
  3. If updates are available, install them and restart your PC.

After updating, try opening a photo again. If the app still fails, you can also try the DISM and SFC commands to repair system files (search for "Command Prompt" as administrator, then run sfc /scannow followed by DISM /Online /Cleanup-Image /RestoreHealth).

What If None of These Fixes Work?

If you have tried all the above and the Photos app still will not open, you have a few alternatives:

  • Use a different photo viewer. Windows has a legacy Windows Photo Viewer that is hidden but can be re-enabled via a registry tweak (search for "enable Windows Photo Viewer registry"). This is not the same as the modern Photos app, but it works for basic viewing.
  • Create a new user account. If the problem is tied to your user profile, a new account will likely have a working Photos app.
  • Perform a repair install of Windows. This reinstalls Windows while keeping your files and apps. It is a last resort but often fixes deep system corruption.

Frequently Asked Questions

Why did my Photos app disappear after a Windows update?

Windows updates sometimes change default app associations or reset app registration. This is a known issue with UWP apps. Re-registering the app with PowerShell (Fix 3) usually brings it back without losing any data.

Will resetting the Photos app delete my pictures?

No. The Photos app is just a viewer — your actual image files are stored in your hard drive folders. Resetting the app only clears its cache, settings, and thumbnail database. Your photos remain untouched.

Can I restore the old Windows Photo Viewer instead?

Yes, the legacy Windows Photo Viewer is still present in Windows 10 and 11, but it is disabled. You can enable it by adding a registry key (search for "enable Windows Photo Viewer registry"). However, it does not support newer formats like HEIC or WebP, and it lacks the editing features of the modern Photos app.

Why does the Photos app open but shows a black screen?

This is usually a graphics driver issue or a corrupted app cache. Try updating your graphics driver, then reset the Photos app (Fix 2). If that fails, re-register the app with PowerShell.

Is the Photos app free?

Yes, Microsoft Photos is free and comes preinstalled with Windows. It does not require a subscription, and you can reinstall it from the Microsoft Store at no cost.

What if I can't find the Photos app in the Microsoft Store?

If the Store search returns no results, your Store may be outdated. Run the Windows Store Apps troubleshooter, then try again. If that fails, use the PowerShell re-registration command (Fix 3) — it works even if the app is not listed in the Store.

In this article
  1. Why the Photos App Goes Missing or Stops Working
  2. Fix 1: Reinstall the Photos App from the Microsoft Store
  3. Fix 2: Repair or Reset the Photos App
  4. Fix 3: Re-register the Photos App with PowerShell
  5. Fix 4: Set Photos as the Default Photo Viewer
  6. Fix 5: Run the Windows Store Apps Troubleshooter
  7. Fix 6: Check for Windows Updates
  8. What If None of These Fixes Work?
  9. Frequently Asked Questions