Resolving Windows Update issues with DISM or System Update Readiness

To fix Windows Update issues, Windows 8 and newer have the built-in DISM command. Windows 7 has a System Update Readiness tool that can be downloaded.

This page has information on both tools.