You are on page 1of 9

7/10/2019 Fix Windows Update errors by using the DISM or System Update Readiness tool

Fix Windows Update errors by using the


DISM or System Update Readiness tool
Applies to: Windows 10, Windows 8.1, Windows Server 2012 R2 Datacenter, 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 page:

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
https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness 1/9
7/10/2019 Fix Windows Update errors by using the DISM or System Update Readiness tool

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. Note This tool is not available in every
supported language. Check the link below to see if it is available in
your language.
 
Operating system Download link
x86-based (32-bit) versions of
 Download the package now.
Windows 7 SP1 and Windows 7
x64-based (64-bit) versions of
 Download the package now.
Windows 7 SP1 and Windows 7

https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness 2/9
7/10/2019 Fix Windows Update errors by using the DISM or System Update Readiness tool

x64-based (64-bit) versions of  Download the package now.


Windows Server 2008 R2 SP1
Itanium-based versions of
 Download the package now.
Windows Server 2008 R2 SP1
x86-based (32-bit) versions of
Windows Vista SP2 and Windows  Download the package now.
Vista SP1
x64-based (64-bit) versions of
Windows Vista SP2 and Windows  Download the package now.
Vista SP1
x86-based (32-bit) versions of
 Download the package now.
Windows Server 2008 SP2
x64-based (64-bit) versions of
 Download the package now.
Windows Server 2008 SP2
Itanium-based versions of
 Download the package now.
Windows Server 2008 SP2

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.

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.

https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness 3/9
7/10/2019 Fix Windows Update errors by using the DISM or System Update Readiness tool

4. When you see Installation complete, click Close.

 
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

https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness 4/9
7/10/2019 Fix Windows Update errors by using the DISM or System Update Readiness tool

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.

 
2. In the search box, input the update number that you want to
download. In this example, input 3006137. Then, click 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.

 
4. Click view basket to open your basket.

5. Click Download to download the update in your basket.

https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness 5/9
7/10/2019 Fix Windows Update errors by using the DISM or System Update Readiness tool

 
6. Click Browse to choose a location for the update you are
downloading, and then click Continue.
 

 
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
ERROR_FILE_NOT_FOU The system cannot find
0x80070002
ND the file specified.
0x8007000D ERROR_INVALID_DATA The data is invalid.
0x800F081F CBS_E_SOURCE_MISSIN The source for the
https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness 6/9
7/10/2019 Fix Windows Update errors by using the DISM or System Update Readiness tool

G package or file not


found.
ERROR_SXS_COMPONE The component store is
0x80073712
NT_STORE_CORRUPT in an inconsistent state.
A component's file
does not match the
ERROR_SXS_FILE_HASH
0x800736CC verification information
_MISMATCH
present in the
component manifest.
ERROR_XML_PARSE_ER Unable to parse the
0x800705B9
ROR requested XML data.
ERROR_ILLEGAL_CHAR An invalid character
0x80070246
ACTER was encountered.
ERROR_SXS_IDENTITY_ An identity string is
0x8007370D
PARSE_ERROR malformed.
The name of an
ERROR_SXS_INVALID_I
attribute in an identity
0x8007370B DENTITY_ATTRIBUTE_N
is not within the valid
AME
range.
The value of an
ERROR_SXS_INVALID_I
attribute in an identity
0x8007370A DENTITY_ATTRIBUTE_V
is not within the valid
ALUE
range.
ERROR_INVALID_PARA The parameter is
0x80070057
METER incorrect.
TRUST_E_NOSIGNATUR No signature was
0x800B0100
E present in the subject.
An error occurred while
0x80092003 CRYPT_E_FILE_ERROR Windows Update reads
or writes to a file.
A required certificate is
not within its validity
period when verifying
0x800B0101 CERT_E_EXPIRED against the current
system clock or the
time stamp in the
signed file.
One or more required
ERROR_SXS_TRANSACT
members of the
0x8007371B ION_CLOSURE_INCOMP
transaction are not
LETE
present.
Windows could not
0x80070490 ERROR_NOT_FOUND
search for new updates.
0x800f0984 PSFX_E_MATCHING_BIN Matching component
ARY_MISSING directory exist but
binary missing
https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness 7/9
7/10/2019 Fix Windows Update errors by using the DISM or System Update Readiness tool

PSFX_E_APPLY_FORWA Applying forward delta


0x800f0986
RD_DELTA_FAILED failed
PSFX_E_MATCHING_CO Can not identify
0x800f0982 MPONENT_NOT_FOUN matching component
D for hydration

What does the System Update Readiness Tool do

Show all

 Verify the integrity of resources


 Logging

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~31bf3856ad364
e35~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.

https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness 8/9
7/10/2019 Fix Windows Update errors by using the DISM or System Update Readiness tool

Last Updated: May 9, 2019

What's new Microsoft Education Enterprise Developer Company


Store
Surface Pro 6 Microsoft in Azure Microsoft Visual Careers
Account profile education Studio
Surface Laptop 2 AppSource About
Download Office for Windows Dev Microsoft
Surface Go Center students Automotive Center
Company news
Xbox One X Microsoft Store Office 365 for Government Developer
support schools Network Privacy at
Xbox One S Healthcare Microsoft
Returns Deals for TechNet
VR & mixed reality students & Manufacturing Investors
Order tracking parents Microsoft
Windows 10 apps Financial services developer Diversity and
Store locations Microsoft Azure program inclusion
Office apps in education Retail
Buy online, pick Channel 9 Accessibility
up in store
Office Dev Security
Center

Microsoft
Garage

 English (United States)

Contact us Terms of use Privacy and cookies Trademarks Safety & eco © Microsoft 2019

https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness 9/9

You might also like