Fix Windows Update corruptions and installation failures - Windows Server (2024)

  • Article

This article offers you advanced manual methods to fix problems that prevent Windows Update from installing successfully by using 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. You can check the Setup event log for 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.
0x800f0831CBS_E_STORE_CORRUPTIONCBS store is corrupted.
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 may help you fix some Windows corruption errors.

Check this page for Windows Update troubleshooting scenarios.

Using DISM to repair Windows Update corruptions

Note

The solution mentioned in this section applies to Modern Windows versions like Windows 11, Windows 10, Windows Server 2016, or later.

To resolve Windows Update corruptions and address update installation failures, use the DISM tool. Then, install the Windows Update.

  1. Open an elevated command prompt. To do this, open the Start menu, 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 Yes.

  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

    DISM repair works best when you connect to Microsoft Update servers to fetch missing or corrupted files. When you use the proceeding command, DISM gets the files needed to fix any corruptions from Windows Update. However, if your computer can't connect to Windows Update, you can alternatively use a working Windows installation as the repair source, or you can use files from a Windows folder on a network or from a USB or DVD. Instead, use this command:

    DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:\\<servername>\c$\winsxs /LimitAccess

    Note

    Replace <servername> with the computer name of the computer you are using as a repair source. The repair source computer must be running the same operating system version. For more information about using the DISM tool to repair Windows, reference Repair a Windows Image. If the scan result is "The restore operation completed successfully", go to the next step. If not, try to analyze the CBS.log file and fix errors.

  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.

How does DISM Repair work?

DISM is a command-line tool that is used to service and repair Windows images, including the Windows Recovery Environment, Windows Setup, and Windows PE (WinPE). It can also be used to repair the local Windows image on your computer.

To give you a better understanding, here's a summary of the resources that the DISM tool checks for integrity:

  • 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 DISM detects incorrect manifests, Cabinets, or registry data, it may replace the incorrect data with a corrected version.

Logging

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

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

Advanced guide to fix CBS corruption manually using DISM utility

Step 1: Analyze the CBS.log file

After running the DISM commands, go to %WinDir%\Logs\CBS\CBS.log to view the results. The log file provides a summary of the scan and details of any errors found.

Here's an example of the log summary:

Checking System Update Readiness. (p) CSI Payload Corrupt (n) amd64_microsoft-windows-a..modernappmanagement_31bf3856ad364e35_10.0.19045.3636_none_23b3b3ece690d77b\EnterpriseModernAppMgmtCSP.dll (p) CBS MUM Missing (n) Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~10.0.19045.4291 (p) CSI Manifest Corrupt (w) (Fixed) wow64_microsoft-windows-audio-mmecore-acm_31bf3856ad364e35_10.0.19045.1_none_a12b40f4b4c7b751 (p) CSI Manifest Corrupt (n) wow64_microsoft-windows-audio-volumecontrol_31bf3856ad364e35_10.0.19045.3636_none_4514b27cf12f35d5Summary:Operation: Detect and Repair Operation result: 0x800f081fLast Successful Step: Remove staged packages completes.Total Detected Corruption: 2 CBS Manifest Corruption: 2 CBS Metadata Corruption: 0 CSI Manifest Corruption: 0 CSI Metadata Corruption: 0 CSI Payload Corruption: 0Total Repaired Corruption: 1 CBS Manifest Repaired: 1 CSI Manifest Repaired: 0 CSI Payload Repaired: 0 CSI Store Metadata refreshed: FalseStaged Packages: CBS Staged packages: 0 CBS Staged packages removed: 0

Note

CSI Payload Corruption: This indicates that the payload file EnterpriseModernAppMgmtCSP.dll is corrupt.

CBS MUM Missing: A required MUM file is missing from the package (Microsoft-Windows-Client-Features-Package).

CSI Manifest Corruption: There were two instances of manifest corruption. One was fixed (wow64_microsoft-windows-audio-mmecore-acm), and the other (wow64_microsoft-windows-audio-volumecontrol) remains corrupt.

Step 2: Download the missing files

  1. Identify the missing or corrupted files.

    Review the CBS.log file to identify the missing or corrupted files. For example:

    (p) CSI Payload Corrupt (n) amd64_microsoft-windows-a..modernappmanagement_31bf3856ad364e35_10.0.19045.3636_none_23b3b3ece690d77b\EnterpriseModernAppMgmtCSP.dll(p) CBS MUM Missing (n) Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~10.0.19045.4291(p) CSI Manifest Corrupt (n) wow64_microsoft-windows-audio-volumecontrol_31bf3856ad364e35_10.0.19045.3636_none_4514b27cf12f35d5
  2. Determine the version.

    To determine which update has the missing files, you can use the Update Build Revision (UBR) in the file name. For example:

    • 10.0.19045.3636 is a UBR.
    • 10.0.19045.4291 is a UBR.

    You need to find updates that have these UBR numbers. For example, if you're using Windows 10, version 22H2, find the update history page and locate the UBR number (for example, 3636). Each update has a UBR number, and you can download the corresponding update.

  3. Download the missing files.

    Identify and download the update packages that contain the missing files. For example, if the log indicates that Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~10.0.19045.4291 is missing, download the respective .msu file from the Microsoft Update Catalog.

Step 3: Extract the .msu and .cab files

To address the corrupted files identified in the CBS.log file, extract the missing files into a specific folder. Follow these steps to extract the .msu and .cab files by using the provided PowerShell script, and then copy the necessary files to the C:\temp\Source folder.

  1. Create the necessary folders.

    Run the following command to create the C:\temp\Source folder if it doesn't exist:

    mkdir C:\temp\Source
  2. Use the instructions and script in Scripts: Extract .msu and .cab files to extract the .msu files by providing the destination paths of the .msu files.

Step 4: Repair the corrupted files by using the source files

  1. Copy the correct versions of the corrupted files.

    Copy the correct versions of all the corrupted files that belong to this update to the C:\temp\Source folder. For example, run the following command:

    Copy-Item "C:\path\extractedFiles\corruptedfile.dll" -Destination "C:\temp\Source"

    Repeat this process for each corrupted file identified in the log until all the corrupted files are copied to the C:\temp\Source folder.

  2. Rerun the DISM command.

    Open a command prompt as an administrator and run the following DISM command with the /Source option:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\temp\Source\ /limit

Step 5: Verify and confirm

  1. Rerun the DISM command.

    Rerun the following DISM command to verify that the issues have been resolved:

    DISM /Online /Cleanup-Image /ScanHealth
  2. Check the CBS.log file.

    Review the CBS.log file to ensure there are no remaining errors.

Example DISM command output

The output of the DISM restore command provides crucial information about the corruption that was detected and repaired:

Checking System Update Readiness.(p) CBS MUM Missing (n) Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~10.0.19045.4291Repair failed: Missing replacement mum/cat pair.(p) CBS MUM Missing (w) (Fixed) Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~10.0.19045.4412Summary:Operation: Detect and Repair Operation result: 0x800f081fLast Successful Step: Remove staged packages completes.Total Detected Corruption: 2 CBS Manifest Corruption: 2 CBS Metadata Corruption: 0 CSI Manifest Corruption: 0 CSI Metadata Corruption: 0 CSI Payload Corruption: 0Total Repaired Corruption: 1 CBS Manifest Repaired: 1 CSI Manifest Repaired: 0 CSI Payload Repaired: 0 CSI Store Metadata refreshed: FalseStaged Packages: CBS Staged packages: 0 CBS Staged packages removed: 0

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 corruptions and installation failures - Windows Server (2024)
Top Articles
Python Job Opportunities in 2024: A Complete Guide
TREASURY CONTINUES TO MAIL OUT CHECKS
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
Non Sequitur
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 6446

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.