Version 1 vs 2
Version 1 vs 2
Content Changes
Content Changes
So often you'll need to run `sfc /scannow` and `dism.exe /Online /Cleanup-image /Restorehealth` it's insane. And often those won't be enough...
== Repair all Windows Store apps ==
This applies to a lot of core Windows stuff now.
```
lang=powershell, name=Admin powershell
Get-AppxPackage Microsoft.Windows.ShellExperienceHost | foreach {Add-AppxPackage -register "$($_. InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_. InstallLocation)\AppXManifest.xml"}
== DISM online not working? ==
Try with a DVD image or folder, ex. `dism /Image:D:\ /cleanup-image /restorehealth`.
Then, if you're me, you'll get
```
Error: 0xc150003a
An error occurred while loading DISM. The DISM tool may be corrupt.
Try reinstalling DISM.
```
Fucking Windows!
So often you'll need to run `sfc /scannow` and `dism.exe /Online /Cleanup-image /Restorehealth` it's insane. And often those won't be enough...
== Repair all Windows Store apps ==
This applies to a lot of core Windows stuff now.
```
lang=powershell, name=Admin powershell
Get-AppxPackage Microsoft.Windows.ShellExperienceHost | foreach {Add-AppxPackage -register "$($_. InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_. InstallLocation)\AppXManifest.xml"}
```
== DISM online not working? ==
Try with a DVD image or folder, ex. `dism /Image:D:\ /cleanup-image /restorehealth`.
Then, if you're me, you'll get
```
Error: 0xc150003a
An error occurred while loading DISM. The DISM tool may be corrupt.
Try reinstalling DISM.
```
Fucking Windows!
So often you'll need to run `sfc /scannow` and `dism.exe /Online /Cleanup-image /Restorehealth` it's insane. And often those won't be enough...
== Repair all Windows Store apps ==
This applies to a lot of core Windows stuff now.
```
lang=powershell, name=Admin powershell
Get-AppxPackage Microsoft.Windows.ShellExperienceHost | foreach {Add-AppxPackage -register "$($_. InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_. InstallLocation)\AppXManifest.xml"}
```
== DISM online not working? ==
Try with a DVD image or folder, ex. `dism /Image:D:\ /cleanup-image /restorehealth`.
Then, if you're me, you'll get
```
Error: 0xc150003a
An error occurred while loading DISM. The DISM tool may be corrupt.
Try reinstalling DISM.
```
Fucking Windows!