Windows 10/Fix DISM: Difference between revisions
(Die Seite wurde neu angelegt: „* In case "Photos" throws an "remote procedure call" error: ** Dism.exe /online /Cleanup-Image /StartComponentCleanup sfc /scannow Dism /Online /Cleanup-Image…“) |
No edit summary |
||
Line 1: | Line 1: | ||
* In case "Photos" throws an "remote procedure call" error: | * In case "Photos" throws an "remote procedure call" error: | ||
** | ** | ||
<blockquote> | |||
<pre> | |||
Dism.exe /online /Cleanup-Image /StartComponentCleanup | Dism.exe /online /Cleanup-Image /StartComponentCleanup | ||
sfc /scannow | sfc /scannow | ||
Dism /Online /Cleanup-Image /RestoreHealth | Dism /Online /Cleanup-Image /RestoreHealth | ||
sfc /scannow | sfc /scannow | ||
</pre> | |||
</blockquote> | |||
** | ** | ||
<blockquote> | |||
<pre> | |||
powershell | powershell | ||
Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} | Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} | ||
</pre> | |||
</blockquote> |
Revision as of 19:19, 15 May 2016
- 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"}