Fix Remote Procedure Call Failed Error Opening Photos
In this article
The "Remote Procedure Call failed" error when opening photos in Windows is typically caused by a stopped or misconfigured RPC service, a corrupted thumbnail cache, or an outdated display driver. The fix usually involves restarting the RPC services, clearing the thumbnail cache, and running the Windows built-in photo app troubleshooter.
What Causes the RPC Failed Error in Photos
Windows relies on the Remote Procedure Call (RPC) service to let different processes talk to each other. When you open a photo, the Photos app, the Windows Explorer shell, and the graphics subsystem must coordinate. If the RPC service stops, is disabled, or is blocked by a third-party security tool, the request fails and you see the error.
Common triggers include:
- RPC service set to "Manual" or "Disabled" after a system tweak or a registry cleaner
- Corrupted thumbnail cache files that make Explorer request a thumbnail via RPC and fail
- Outdated or incompatible display drivers that cause the graphics stack to crash
- Malware or aggressive security software that blocks RPC ports
- Windows updates that partially broke the Photo app or its dependencies
How RPC Works in Windows Photo Viewing
When you double-click a photo, Windows Explorer asks the Photos app to display the file. This request is marshaled through the RPC endpoint mapper, which listens on port 135. The Photos app then calls the Windows Imaging Component (WIC) to decode the image, and the graphics driver renders it. If any step in that chain fails, the RPC layer returns an error instead of the image.
The RPC service itself is a dependency for many other services, including the Windows Management Instrumentation (WMI) and the COM+ Event System. If RPC is not running, you may also see errors in other apps, not just Photos.
Step-by-Step Fix for the RPC Failed Error
- Press Win + R, type
services.msc, and press Enter. - Locate Remote Procedure Call (RPC) and Remote Procedure Call (RPC) Locator.
- Right-click each one, select Properties, and set the Startup type to Automatic (for RPC) and Manual (for the Locator).
- If the service is not running, click Start. If it is running, click Restart.
- Press Win + R, type
services.mscagain, and also restart DCOM Server Process Launcher and RPC Endpoint Mapper. - Clear the thumbnail cache: Press Win + R, type
cleanmgr, select the drive with Windows, and check Thumbnails before cleaning. - Update your display driver: Open Device Manager, expand Display adapters, right-click your GPU, and choose Update driver.
- Run the Windows Store Apps troubleshooter: Go to Settings > System > Troubleshoot > Other troubleshooters and run Windows Store Apps.
After these steps, restart your PC and try opening a photo again.
What to Do If the Error Persists
If the basic fixes don't work, try these additional steps:
- Run sfc /scannow in an elevated Command Prompt to repair system files.
- Use DISM /Online /Cleanup-Image /RestoreHealth to fix the Windows image.
- Reset the Photos app: Go to Settings > Apps > Apps & features, find Microsoft Photos, click Advanced options, and choose Reset.
- Check if a third-party antivirus is blocking RPC. Temporarily disable it and test.
- Create a new user account and see if the error occurs there. If not, your profile is corrupted.
Common Misconception: It's Not a Network Issue
Many users assume "Remote Procedure Call" means a network problem, but the RPC error when opening photos is almost always local. It's about the inter-process communication within Windows, not about your internet connection or LAN. You don't need to change router settings or firewall rules for this specific error in the Photos app.
Alternatives to the Built-in Photos App
If the error persists and you need to view photos immediately, you can use alternatives:
- Windows Photo Viewer (if enabled) – right-click the photo and choose Open with.
- Paint – works for basic viewing and editing.
- Third-party viewers like IrfanView or FastStone Image Viewer – lightweight and reliable.
These alternatives bypass the Photos app's dependency chain, so the RPC error may not appear.
Frequently Asked Questions
Why does the RPC error only happen with some photos?
It often depends on the file format or size. Large JPEGs or HEIC files may trigger a different codec path that relies on RPC more heavily. Corrupted thumbnails for specific folders can also cause the error only when opening photos in that location.
Can I fix this without restarting my PC?
Yes, restarting the RPC services and clearing the thumbnail cache can work without a reboot. However, a restart ensures all dependent services and drivers reload cleanly, so it's recommended if the error persists.
Will this error damage my photos?
No, the RPC error is a software communication failure. Your photo files remain intact. The error only prevents the app from displaying them.
Is it safe to set the RPC service to Automatic?
Yes, that's the default and recommended setting. The RPC service is a core Windows component, and setting it to Automatic ensures it starts with the system.
Does this error affect other apps besides Photos?
Yes, if RPC is genuinely broken, you may also see errors in File Explorer, Microsoft Office apps, or any app that uses COM components. Fixing the RPC service resolves those too.