Windows 10 “The remote procedure call failed” error when opening image with Photos app
Every time I try to open an image with the default Photos app in Windows 10, it shows a black window and after a few seconds I get this error:
Then the app closes and the image doesn't show up. If I open the Photos app directly, it just closes after a few seconds more, but no error is shown.
I have checked the RPC Services and its Status
is Running
and its Startup Type
set to Automatic
.
The RPC Locator is not running and its Startup Type
is set to Manual
.
I've tried to do a clean install of Windows again, and it worked the first time I opened the app. Once I closed it, after just downloading a few programs (but not installing any of them), it's not working, again.
The network was initially set to public, but changing it to private did not solve the problem.
The firewall has a few Inbound Rules for RPC, but none of them is enabled:
EDIT:
None of the proposed solutions worked for me. However, this was fixed some months after I posted the question by a Windows update.
Maybe you should try:
- Open Command prompt as administrator
dism /online /cleanup-image /restorehealth
sfc /scannow
powershell
Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Didn't work for me, but did for some...
If you have an N or KN version installed you should try installing the Media Feature Pack for N and KN versions of Windows 10
https://www.microsoft.com/en-us/download/details.aspx?id=48231
I just encountered this error after an update. I worked around it by changing the default association to Windows Photo Viewer :
- Right click on the file and select properties
- In the general tab, click the Change... button next to "Opens with:"
- Select Windows Photo Viewer
- Click OK