Repair Windows Update and Service Pack Errors

Corrupted Windows files can cause Windows updates and Service Packs to not install. Windows 8, 8.1 and 10 systems can use the DISM tool to check and repair the servicing store.

Windows 10, Windows 8.1, Windows 8, Windows Server 2012 R2 or Windows Server 2012

    To resolve this problem, use the inbox Deployment Image Servicing and Management (DISM) tool. Then, install the Windows update or service pack again.
  1. Open an elevated command prompt. To do this, swipe in from the right edge of the screen, and then tap Search. Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search. Type Command Prompt in the Search box, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow. Windows 8.1 and above, Right-click the start menu icon and select Command Prompt (Admin from the list.
  2. Type the following command, and then press Enter.
    It may take several minutes for the command operation to be completed.
    DISM.exe /Online /Cleanup-image /Restorehealth
  3. Important When you run this command, DISM uses Windows Update to provide the files that are required to fix corruptions. However, if your Windows Update client is already broken, use a running Windows installation as the repair source, or use a Windows side-by-side folder from a network share or from a removable media, such as the Windows DVD, as the source of the files. To do this, run the following command instead:
    DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess
    Note: Replace the C:\RepairSource\Windows placeholder with the location of your repair source. For more information about using the DISM tool to repair Windows, reference Repair a Windows Image.
  4. Close the command prompt, and then run Windows Update again.

DISM creates a log file (%windir%/Logs/CBS/CBS.log) that captures any issues that the tool found or fixed. %windir% is the folder in which Windows is installed. For example, the %windir% folder is C:\Windows.

Windows 7, Windows Vista, Windows Server 2008 R2 or Windows Server 2008

    To resolve this problem, use the System Update Readiness tool. Then, install the Windows update or service pack again.
  1. Download the System Update Readiness tool.
  2. Windows 7 x86 http://www.microsoft.com/en-us/download/details.aspx?id=3132
  3. Windows 7 x64 http://www.microsoft.com/en-us/download/details.aspx?id=20858
  4. All other Windows versions https://support.microsoft.com/en-us/kb/947821