Windows 10 “The remote procedure call failed” error when opening image with Photos app

91,181

Solution 1

Maybe you should try:

  1. Open Command prompt as administrator
  2. dism /online /cleanup-image /restorehealth
  3. sfc /scannow
  4. powershell
  5. 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:

  1. Log the account out
  2. Log in as a different account which has Administrator rights
  3. Start a commander window (I use Altap Salamander) As Administrator
  4. Go to C:\Users\TheBrokenAccount\AppData\Local\Microsoft\Windows\
  5. Completely remove several folders, like WebCache, Temporary Internet Files, INetCache, AppCache, including any system/hidden folders and junctions
  6. 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. :-)

Share:
91,181

Related videos on Youtube

Danziger
Author by

Danziger

Updated on September 18, 2022

Comments

  • Danziger
    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:

    enter image description here

    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:

    enter image description here

    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
      Ƭᴇcʜιᴇ007 almost 9 years
      Is this a work computer by chance, or your personal/home one?
    • Danziger
      Danziger almost 9 years
      Well, 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
      Ƭᴇcʜιᴇ007 almost 9 years
      I guess I should have asked that differently. :) Is this computer attached to a (company's) domain network?
    • Danziger
      Danziger almost 9 years
      No, it is a personal/home computer then.
    • Yorik
      Yorik almost 9 years
      Check 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
      magicandre1981 almost 9 years
      create a crash dump and post it here: pastebin.com/zKuJvw57
    • David Betz
      David Betz almost 9 years
      Same 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
      magicandre1981 almost 9 years
      @DavidBetz also create a dump and share it
    • Rookie
      Rookie almost 9 years
      I 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
    Mike almost 9 years
    should be: .... "$($_.InstallLocation..."
  • Danziger
    Danziger almost 9 years
    Did 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
    underscore_d about 8 years
    "Didn't work for me, but did for some..." Who? Where did they report this?
  • user643011
    user643011 about 8 years
    did all of that successfully, but the problem remains.
  • user643011
    user643011 about 8 years
    This did not solve the issue for me.
  • user643011
    user643011 about 8 years
    I 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
    user643011 about 8 years
    Windows Photo Viewer works but this is only a workaround and not a fix for the problem.
  • CramerTV
    CramerTV about 8 years
    @user643011 That's why I said, "I worked around it..."