Microsoft Edge Try Microsoft Edge A fast and secure browser that's designed for Windows 10 Get started

Skip to main content
Microsoft
Microsoft Support
  • Office
  • Windows
  • Surface
  • Xbox
  • Deals
  • Support
      • Windows apps
      • OneDrive
      • Outlook
      • Skype
      • OneNote
      • PCs & tablets
      • Accessories
      • VR & mixed reality
      • Microsoft HoloLens
      • Xbox games
      • PC games
      • Windows digital games
      • Movies & TV
      • Books
      • Microsoft Azure
      • Microsoft Dynamics 365
      • Microsoft 365
      • Cloud platform
      • Enterprise
      • Data platform
      • .NET
      • Visual Studio
      • Windows Dev Center
      • Docs
      • Microsoft Store
      • Free downloads & security
      • Education
      • Store locations
      • Gift cards
    • View all
    0
    Sign in
    Microsoft Support

    Fix Windows Update errors by using the DISM or System Update Readiness tool

    Content provided by Microsoft

    Content provided by Microsoft

    Applies to: Windows 10Windows 8.1Windows Server 2012 R2 DatacenterWindows Server 2012 R2 StandardWindows Server 2012 R2 EssentialsWindows Server 2012 R2 FoundationWindows 8Windows Server 2012 DatacenterWindows Server 2012 DatacenterWindows Server 2012 StandardWindows Server 2012 StandardWindows Server 2012 EssentialsWindows Server 2012 FoundationWindows Server 2012 FoundationWindows 7 Service Pack 1Windows Server 2008 R2 Service Pack 1Windows Vista Service Pack 2Windows Server 2008 Service Pack 2 More


    Symptom


    Windows updates and service packs may fail to install if there are corruption errors. For example, an update might not install if a system file is damaged. The DISM or System Update Readiness tool may help you to fix some Windows corruption errors.
    Note for home users

    This article is intended for Support agents and IT professionals. If you're looking for more information about fixing Windows update errors, please go to the following Windows websites:

    Windows Update Troubleshooter Fix Windows Update errors

    Resolution


    For 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.
    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 following command and press Enter.
      It may take several minutes for the command operation to be completed.
      sfc /scannow
    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.

    For 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.
      Click the download link in the following table that corresponds to the version of Windows that is running on your computer.
      Find out if your computer is running the 32 or 64-bit version of Windows

      This tool is updated regularly, we recommend that you always download the latest version.

      Operating systemDownload link
      x86-based (32-bit) versions of Windows 7 SP1 and Windows 7
      Download icon
       Download the package now.
      x64-based (64-bit) versions of Windows 7 SP1 and Windows 7
      Download icon
       Download the package now.
      x64-based (64-bit) versions of Windows Server 2008 R2 SP1
      Download icon
       Download the package now.
      Itanium-based versions of Windows Server 2008 R2 SP1
      Download icon
       Download the package now.
      x86-based (32-bit) versions of Windows Vista SP2 and Windows Vista SP1
      Download icon
       Download the package now.
      x64-based (64-bit) versions of Windows Vista SP2 and Windows Vista SP1
      Download icon
       Download the package now.
      x86-based (32-bit) versions of Windows Server 2008 SP2
      Download icon
       Download the package now.
      x64-based (64-bit) versions of Windows Server 2008 SP2
      Download icon
       Download the package now.
      Itanium-based versions of Windows Server 2008 SP2
      Download icon
       Download the package now.
    2. Install and run the tool.
      1. Click Download on the Download Center webpage, then do one of the following:
        • To install the tool immediately, click Open or Run, and then follow the instructions on your screen.
        • To install the tool later, click 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, click Yes.

        Windows Update Standalone Installer dialog box
         
      3. When the tool is being 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 stop, the scan is still running, so don't click Cancel.

        Download and Install updates - The updates are being installed progress window

      4. When you see Installation complete, click Close.

        Download and install Updates - Installation complete
         
      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 fixed, see How to fix errors that are found in the CheckSUR.log.

    Download the package from Microsoft Update Catalog directly

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

    For example, you may have problems when you try to install update 3006137 from Windows Update in Windows 7. In this situation, you can download the update package and try to install the update manually. To do this, follow these steps:
    1. Open Microsoft Update Catalog in Internet Explorer.
      Microsoft Update Catalog in Internet Explorer
       
    2. In the search box, input the update number that you want to download. In this example, input 3006137. Then, click Search.
      Microsoft Update Catalog - Search
       
    3. Find the update that applies to your operating system appropriately in the search results, and then click Add to add the update to your basket.
      Microsoft Update Catalog
       
    4. Click view basket to open your basket.
      Microsoft Update Catalog - view basket
       
    5. Click Download to download the update in your basket.
      Microsoft Update Catalog - your basket
       
    6. Click Browse to choose a location for the update you are downloading, and then click Continue.
       
      Microsoft Update Catalog - Download Options
       

    7. Click Close after the download process is done. Then, you can find a folder that contains the update package in the location that you specified.
    8. Open the folder, and then double click the update package to install the update.

    If the Windows update or service pack installed successfully, you are finished. If the problem is not fixed, or if System Update Readiness Tool cannot find the cause, contact us for more help.

    More Information


    Description of the common corruption errors

    The following table lists the possible error code with Windows Update for your reference:
    Code Error Description
    0x80070002 ERROR_FILE_NOT_FOUND The system cannot find the file specified.
    0x8007000D ERROR_INVALID_DATA The data is invalid.
    0x800F081F CBS_E_SOURCE_MISSING The source for the package or file not found.
    0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPT The component store is in an inconsistent state.
    0x800736CC ERROR_SXS_FILE_HASH_MISMATCH A component's file does not match the verification information present in the component manifest.
    0x800705B9 ERROR_XML_PARSE_ERROR Unable to parse the requested XML data.
    0x80070246 ERROR_ILLEGAL_CHARACTER An invalid character was encountered.
    0x8007370D ERROR_SXS_IDENTITY_PARSE_ERROR An identity string is malformed.
    0x8007370B ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME The name of an attribute in an identity is not within the valid range.
    0x8007370A ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE The value of an attribute in an identity is not within the valid range.
    0x80070057 ERROR_INVALID_PARAMETER The parameter is incorrect.
    0x800B0100 TRUST_E_NOSIGNATURE No signature was present in the subject.
    0x80092003 CRYPT_E_FILE_ERROR An error occurred while Windows Update reads or writes to a file.
    0x800B0101 CERT_E_EXPIRED A required certificate is not within its validity period when verifying against the current system clock or the time stamp in the signed file.
    0x8007371B ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE One or more required members of the transaction are not present.
    0x80070490 ERROR_NOT_FOUND Windows could not search for new updates.

    What does the System Update Readiness Tool do

    Show all
    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 is 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

    How to fix errors that are found in the CheckSUR.log

    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 in the log file:
      Summary:

      Seconds executed: 264
      Found 3 errors
      CBS MUM Missing Total Count: 3
      Unavailable repair files:


      servicing\packages\Package_for_KB958690_sc_0~31bf3856ad364e35~amd64~~6.0.1.6.mum
      ...
      In this case, the package that is 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 the directory.
    5. Rerun the System Update Readiness Tool.
    If you are a technical professional, see How to fix errors found in the CheckSUR.log for a more options on fixing errors in the CheckSUR.log.

    Last Updated: Apr 17, 2018
    • Email
    • Print
    Thanks! Your feedback will help us improve the support experience.

    What's new

    • Surface Book 2
    • Surface Pro
    • Xbox One X
    • Xbox One S
    • VR & mixed reality
    • Windows 10 apps
    • Office apps

    Store & Support

    • Account profile
    • Download Center
    • Sales & support
    • Returns
    • Order tracking
    • Store locations
    • Support
    • Buy online, pick up in store

    Education

    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education

    Enterprise

    • Microsoft Azure
    • Enterprise
    • Data platform
    • Find a solutions provider
    • Microsoft partner resources
    • Microsoft AppSource
    • Manufacturing & resources
    • Financial services

    Developer

    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Network
    • TechNet
    • Microsoft Virtual Academy
    • Microsoft developer program
    • Channel 9
    • Office Dev Center

    Company

    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Contact us
    • Terms of use
    • Privacy & cookies
    • Trademarks
    • © Microsoft 2018
    This site in other countries/regions
    Algérie - Français
    Argentina - Español
    Australia - English
    Belgique - Français
    België - Nederlands
    Bolivia - Español
    Bosna i Hercegovina - Hrvatski
    Brasil - Português
    Canada - English
    Canada - Français
    Chile - Español
    Colombia - Español
    Costa Rica - Español
    Crna Gora - Srpski
    Danmark - Dansk
    Deutschland - Deutsch
    Dominican Republic - Español
    Ecuador - Español
    Eesti - Eesti
    El Salvador - Español
    España - Español
    Estados Unidos - Español
    France - Français
    Guatemala - Español
    Hong Kong SAR - English
    Hrvatska - Hrvatski
    India - English
    Indonesia (Bahasa) - Bahasa
    Ireland - English
    Italia - Italiano
    Latvija - Latviešu
    Lietuva - Lietuvių
    Luxembourg - Français
    Magyarország - Magyar
    Malaysia - English
    Maroc - Français
    México - Español
    Nederland - Nederlands
    New Zealand - English
    Norge - Bokmål
    Panamá - Español
    Paraguay - Español
    Perú - Español
    Philippines - English
    Polska - Polski
    Portugal - Português
    Puerto Rico - Español
    România - Română
    Schweiz - Deutsch
    Singapore - English
    Slovenija - Slovenščina
    Slovensko - Slovenčina
    South Africa - English
    Srbija - Srpski
    Suisse - Français
    Suomi - Suomi
    Sverige - Svenska
    Tunisie - Français
    Türkiye - Türkçe
    United Kingdom - English
    United States - English
    Uruguay - Español
    Venezuela - Español
    Việt Nam - Tiếng việt
    Ísland - Íslenska
    Österreich - Deutsch
    Česká Republika - Čeština
    Ελλάδα - Ελληνικά
    България - Български
    Казахстан - Русский
    Россия - Русский
    Україна - Українська
    ישראל - עברית
    الإمارات العربية المتحدة - العربية
    المملكة العربية السعودية - العربية
    مصر - العربية
    भारत - हिंदी
    ไทย - ไทย
    中国 - 简体中文
    台灣 - 繁體中文
    日本 - 日本語
    香港特別行政區 - 繁體中文
    대한민국 - 한국어