Windows 10/Fix DISM: Difference between revisions
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
* In case "Photos" throws an "remote procedure call" error: | * In case "Photos" throws an "remote procedure call" error: | ||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
Line 9: | Line 8: | ||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
Line 17: | Line 15: | ||
</pre> | </pre> | ||
</blockquote> | </blockquote> | ||
[[Category:Windows 10]] |
Latest revision as of 11:35, 18 January 2021
- In case "Photos" throws an "remote procedure call" error:
Dism.exe /online /Cleanup-Image /StartComponentCleanup sfc /scannow Dism /Online /Cleanup-Image /RestoreHealth sfc /scannow
powershell Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}