Windows 10 “The remote procedure call failed” error when opening image with Photos app
Solution 1
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...
Solution 2
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
Solution 3
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
Solution 4
I had this problem with (only) one account. This worked for me:
- Log the account out
- Log in as a different account which has Administrator rights
- Start a commander window (I use Altap Salamander) As Administrator
- Go to C:\Users\TheBrokenAccount\AppData\Local\Microsoft\Windows\
- Completely remove several folders, like WebCache, Temporary Internet Files, INetCache, AppCache, including any system/hidden folders and junctions
- Log back in with the problem account
I guess it was a specific security settings problem and removing the folders made Windows recreate the correct properties.
Of course I take no responsibility for any damage this might cause to your system. :-)
Related videos on Youtube
Danziger
Updated on September 18, 2022Comments
-
Danziger almost 2 years
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
isRunning
and itsStartup Type
set toAutomatic
.The RPC Locator is not running and its
Startup Type
is set toManual
.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.
-
Ƭᴇcʜιᴇ007 almost 9 yearsIs this a work computer by chance, or your personal/home one?
-
Danziger almost 9 yearsWell, I suppose both. At job I use a Mac, but when I'm working on my own projects I use the desktop instead.
-
Ƭᴇcʜιᴇ007 almost 9 yearsI guess I should have asked that differently. :) Is this computer attached to a (company's) domain network?
-
Danziger almost 9 yearsNo, it is a personal/home computer then.
-
Yorik almost 9 yearsCheck that your connection (especially home WIFI) is set "not public" (e.g. work or home) and take a look at your (local machine) firewall policies?
-
magicandre1981 almost 9 yearscreate a crash dump and post it here: pastebin.com/zKuJvw57
-
David Betz almost 9 yearsSame problem here. Happens for me on every one of my Windows 10 machines (physical and VM). I've switched to another viewer. This one is broken.
-
magicandre1981 almost 9 years@DavidBetz also create a dump and share it
-
Rookie almost 9 yearsI have same problem, came today possibly after i terminated explorer.exe because i noticed some image file icons were missing in my folder. Home computer, no network except cable internet connection.
-
-
Mike almost 9 yearsshould be: .... "$($_.InstallLocation..."
-
Danziger almost 9 yearsDid not work for me. The file associations were right and changing and restoring them make no difference. When using the Photo app I still get the same error.
-
underscore_d about 8 years"Didn't work for me, but did for some..." Who? Where did they report this?
-
user643011 about 8 yearsdid all of that successfully, but the problem remains.
-
user643011 about 8 yearsThis did not solve the issue for me.
-
user643011 about 8 yearsI have the same problem. Additionally my settings app crashes when I try to change the default app for pictures so I can not try your solution. Both "dism /online /cleanup-image /restorehealth" and "sfc /scannow" finished successfully and did not find any problems. What is wrong with my system?
-
user643011 about 8 yearsWindows Photo Viewer works but this is only a workaround and not a fix for the problem.
-
CramerTV about 8 years@user643011 That's why I said, "I worked around it..."