Fix Windows Update errors via DISM or System Update Readiness tool - Windows Server (2024)

  • Article

This article offers you advanced manual methods to fix problems that prevent Windows Update from installing successfully by using the System Update Readiness Tool or the Deployment Image Servicing and Management (DISM) tool.

Note

This article is intended for use by support agents and IT professionals. If you're home users and looking for more information about fixing Windows update errors, see Fix Windows Update errors.

Original KB number: 947821

Common corruption errors

Windows updates may fail to install if there are corruption errors. The following table lists the possible error codes for Windows Update for your reference:

CodeErrorDescription
0x80070002ERROR_FILE_NOT_FOUNDThe system cannot find the file specified.
0x8007000DERROR_INVALID_DATAThe data is invalid.
0x800F081FCBS_E_SOURCE_MISSINGThe source for the package or file not found.
0x80073712ERROR_SXS_COMPONENT_STORE_CORRUPTThe component store is in an inconsistent state.
0x800736CCERROR_SXS_FILE_HASH_MISMATCHA component's file does not match the verification information present in the component manifest.
0x800705B9ERROR_XML_PARSE_ERRORUnable to parse the requested XML data.
0x80070246ERROR_ILLEGAL_CHARACTERAn invalid character was encountered.
0x8007370DERROR_SXS_IDENTITY_PARSE_ERRORAn identity string is malformed.
0x8007370BERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAMEThe name of an attribute in an identity is not within the valid range.
0x8007370AERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUEThe value of an attribute in an identity is not within the valid range.
0x80070057ERROR_INVALID_PARAMETERThe parameter is incorrect.
0x800B0100TRUST_E_NOSIGNATURENo signature was present in the subject.
0x80092003CRYPT_E_FILE_ERRORAn error occurred while Windows Update reads or writes to a file.
0x800B0101CERT_E_EXPIREDA required certificate is not within its validity period when verifying against the current system clock or the time stamp in the signed file.
0x8007371BERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETEOne or more required members of the transaction are not present.
0x80070490ERROR_NOT_FOUNDWindows could not search for new updates.
0x800f0984PSFX_E_MATCHING_BINARY_MISSINGMatching component directory exist but binary missing
0x800f0986PSFX_E_APPLY_FORWARD_DELTA_FAILEDApplying forward delta failed
0x800f0982PSFX_E_MATCHING_COMPONENT_NOT_FOUNDCan't identify matching component for hydration

For example, an update might not install if a system file is damaged. The DISM or System Update Readiness tool may help you fix some Windows corruption errors.

Check this page for Windows Update troubleshooting scenarios.

Solution 1: Use DISM

Note

The solution mentioned in this section applies to Modern Windows versions like Windows 11, Windows 10, Windows Server 2016, or later.For Windows 7 and Windows Server 2008 R2, check Solution 2: Use the System Update Readiness tool.

To resolve this problem, use the DISM tool. Then, install the Windows update or service pack again.

  1. Open an elevated command prompt. To do this, open the Start menu or Start screen, type Command Prompt, right-click Command Prompt, and then select Run as administrator. If you're prompted for an administrator password or for a confirmation, type the password, or select Allow.

  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

    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.

  3. Type the sfc /scannow command and press Enter. It may take several minutes for the command operation to be completed.

  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.

Note

The solution mentioned in this section is applicable for Windows 7 and Windows Server 2008 R2.For Modern Windows versions like Windows 11, Windows 10, Windows Server 2016, or later, check Solution 1: Use DISM.

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.

    Go to Microsoft Update Catalog and download the tool that corresponds to the version of Windows that's running on your computer. For more information about how to find the version of Windows that you installed, see Find out if your computer is running the 32-bit or 64-bit version of Windows.

    Note

    This tool is updated regularly, and we recommend that you always download the latest version. This tool isn't available in every supported language.

  2. Install and run the tool.

    1. Select Download on the Download Center webpage, and then do one of the following:

      • To install the tool immediately, select Open or Run, and then follow the instructions on your screen.
      • To install the tool later, select Save, and then download the installation file to your computer. When you're ready to install the tool, double-click the file.
    2. In the Windows Update Standalone Installer dialog box, select Yes.

      Fix Windows Update errors via DISM or System Update Readiness tool - Windows Server (1)

  3. When the tool is installed, it automatically runs. Although it typically takes less than 15 minutes to run, it might take much longer on some computers. Even if the progress bar seems to have stopped, the scan is still running, so don't select Cancel.

    Fix Windows Update errors via DISM or System Update Readiness tool - Windows Server (2)

  4. When you see Installation complete, select Close.

    Fix Windows Update errors via DISM or System Update Readiness tool - Windows Server (3)

  5. Reinstall the update or service pack you were trying to install previously.

To manually fix corruption errors that the tool detects but can't fix, see How to fix errors that are found in the CheckSUR log file.

Solution 3: Use Microsoft Update Catalog

You can also try to download the update package directly from Microsoft Update Catalog, and then install the update package manually.

For example, you may have problems when you try to install updates from Windows Update. In this situation, you can download the update package and try to install the update manually. To do this, follow these steps:

  1. Open the Microsoft Update Catalog page for KB3006137.

  2. Find the update that applies to your operating system appropriately in the search results, and then select the Download button.

    Fix Windows Update errors via DISM or System Update Readiness tool - Windows Server (4)

  3. Select the link of the file to download the update.

    Fix Windows Update errors via DISM or System Update Readiness tool - Windows Server (5)

  4. Select Close after the download process is done. Then, you can find a folder that contains the update package in the location that you specified.

  5. Open the folder, and then double-click the update package to install the update.

Verify the integrity of resources

The System Update Readiness tool verifies the integrity of the following resources:

  • Files that are located in the following directories:
    • %SYSTEMROOT%\Servicing\Packages
    • %SYSTEMROOT%\WinSxS\Manifests
  • Registry data that's located under the following registry subkeys:
    • HKEY_LOCAL_MACHINE\Components
    • HKEY_LOCAL_MACHINE\Schema
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing

This list may be updated at any time.

When the System Update Readiness tool detects incorrect manifests, Cabinets, or registry data, it may replace the incorrect data with a corrected version.

Logging

The System Update Readiness tool creates a log file that captures any issues that the tool found or fixed. The log file is located here:

  • %SYSTEMROOT%\Logs\CBS\CheckSUR.log
  • %SYSTEMROOT%\Logs\CBS\CheckSUR.persist.log

Fix errors found in the CheckSUR log file

To manually fix corruption errors that the System Update Readiness tool detects but can't fix, follow these steps:

  1. Open %SYSTEMROOT%\Logs\CBS\CheckSUR.log.

    Note

    %SYSTEMROOT% is an environment variable that saves the folder in which Windows is installed. For example, generally, the %SYSTEMROOT% folder is C:\Windows.

  2. Identify the packages that the tool can't fix. For example, you may find the following information in the log file:

    Summary:Seconds executed: 264Found 3 errorsCBS MUM Missing Total Count: 3Unavailable repair files:servicing\packages\Package_for_KB958690_sc_0~31bf3856ad364e35~amd64~~6.0.1.6.mum...

    In this case, the package that's corrupted is KB958690.

  3. Download the package from Microsoft Download Center or Microsoft Update Catalog.

  4. Copy the package (.msu) to the %SYSTEMROOT%\CheckSUR\packages directory. By default, this directory doesn't exist, and you need to create it.

  5. Rerun the System Update Readiness tool.

If you're a technical professional, see How to fix errors found in the CheckSUR.log for another option on fixing errors in the CheckSUR.log.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for deployment-related issues.

Fix Windows Update errors via DISM or System Update Readiness tool - Windows Server (2024)
Top Articles
Latest Posts
Article information

Author: Merrill Bechtelar CPA

Last Updated:

Views: 6099

Rating: 5 / 5 (70 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Merrill Bechtelar CPA

Birthday: 1996-05-19

Address: Apt. 114 873 White Lodge, Libbyfurt, CA 93006

Phone: +5983010455207

Job: Legacy Representative

Hobby: Blacksmithing, Urban exploration, Sudoku, Slacklining, Creative writing, Community, Letterboxing

Introduction: My name is Merrill Bechtelar CPA, I am a clean, agreeable, glorious, magnificent, witty, enchanting, comfortable person who loves writing and wants to share my knowledge and understanding with you.