Windows 8 / Windows 8.1 Installer issues

Bumped into this recently on my Win 8.1 pc. Standard MSI’s would fail, and Windows update crashed out.

DISM to the rescue 🙂

DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth

Hope it helps