How to Repair Photos App on Windows 10
In this article
Yes, you can repair the Photos app in Windows 10 without losing your data. This process resets the app’s internal files and permissions, which fixes issues like blank thumbnails, failure to open, or freezing screens. Before starting, ensure you have administrator access to your PC and that all critical photos are backed up to an external drive or cloud service, as a full reset (if needed later) could affect local app cache.
What You'll Need
- A Windows 10 computer with administrator privileges
- The built-in PowerShell application
- Your user account password (if prompted for admin confirmation)
Step-by-Step
- Open PowerShell as Administrator: Press the Windows Key + X on your keyboard. From the power user menu that appears in the bottom-left corner, select Windows PowerShell (Admin). If a User Account Control (UAC) prompt appears asking if you want to allow the app to make changes, click Yes.
- Locate Your Photos App Package Name: In the blue PowerShell window, type the following command exactly as written and press Enter:
Get-AppxPackage *photos* - Copy the Installation Path: Look at the output list. Find the entry for the Photos app (usually named Microsoft.Windows.Photos). Copy the entire string of characters next to InstallLocation. It will look something like
C:\Program Files\WindowsApps\Microsoft.Windows.Photos_.... Use your mouse to highlight this path, right-click it to copy, or use Ctrl+C if the window is in QuickEdit mode. - Run the Repair Command: Type the following command structure into PowerShell:
Add-AppxPackage -register "[PASTE_PATH_HERE]\AppxManifest.xml" -DisableDevelopmentMode
Replace[PASTE_PATH_HERE]with the path you copied in the previous step. The final line should look like:Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Windows.Photos_19.1000.1000.0_x64__8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode
Press Enter. - Wait for Completion: The screen may flicker or show red error text temporarily. This is normal during the re-registration process. Wait until the command prompt returns to its standard state (showing a new line ready for input). Do not close the window yet.
- Restart Your Computer: Close the PowerShell window. Restart your PC manually via the Start Menu > Power > Restart. This ensures all system services reload correctly with the repaired app configuration.
- Verify the Fix: After rebooting, click the Start button and search for "Photos". Open the app and try opening a few images. If they load correctly, the repair was successful.
Common Mistakes
One frequent error users make is copying the wrong path from the PowerShell output. Ensure you copy the InstallLocation value specifically, not the package name or version number. Another common mistake is forgetting to include the filename AppxManifest.xml at the end of the path. The command must point directly to the XML manifest file, not just the folder. Additionally, users often skip the restart step, assuming the change takes effect immediately. Windows requires a reboot to fully release locked app files and apply the new registration.
Tips
If the Photos app continues to malfunction after the repair, consider clearing the app's cache manually. Press Windows Key + R, type ms-settings:appsfeatures, find Photos in the list, click Advanced options, and scroll down to click Clear under Cache. This removes temporary corrupted files without deleting your actual photos. Also, ensure your Windows 10 installation is up to date, as Microsoft frequently releases patches for system apps through Windows Update.
Troubleshooting
If the PowerShell method does not resolve the issue, proceed to these additional steps in order of simplicity:
- Reset the App: Go to Settings > Apps > Apps & features. Search for Photos, click it, select Advanced options, and click Reset. Note: This clears app data and preferences but keeps your photo library intact.
- Check for System Corruption: Open Command Prompt as Admin and run
sfc /scannow. If system files are damaged, this tool will attempt to fix them automatically. - Reinstall via Microsoft Store: If all else fails, uninstall the Photos app from Settings, then go to the Microsoft Store, search for "Microsoft Photos", and reinstall it. This installs the latest official version from Microsoft.
Frequently Asked Questions
Will repairing the Photos app delete my pictures?
No. The repair process only resets the application's code and settings. Your actual image files stored on your hard drive remain untouched.
Why does my Photos app show a black screen?
This is usually caused by corrupted cache files or a failed update. The PowerShell repair method described above typically resolves this by forcing the app to rebuild its configuration files.
Can I use the same steps on Windows 11?
Yes, the PowerShell commands are largely identical for Windows 11, though the app name might vary slightly depending on the specific version installed.
What if I get an 'Access Denied' error in PowerShell?
This means you did not run PowerShell as an administrator. Close the window, right-click the Start button, and select Windows PowerShell (Admin) again.
Is there a simpler way than using PowerShell?
You can try resetting the app via Settings first. However, the PowerShell method is more thorough because it reinstalls the core app files rather than just clearing the cache.