Try updating your windows system

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

Original product version: В Windows 10, version 1809 and later versions, Windows 8.1, Windows Server 2012 R2, Windows 7 Service Pack 1, Windows Server 2008 R2 Service Pack 1
Original KB number: В 947821

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.

This article is intended for Support agents and IT professionals. If you are home users and looking for more information about fixing Windows update errors, see Fix Windows Update errors.

Resolution for Windows 8.1, Windows 10 and Windows Server 2012 R2

To resolve this problem, use the inbox Deployment Image Servicing and Management (DISM) tool. Then, install the Windows update or service pack again.

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

Type the following command, and then press Enter. It may take several minutes for the command operation to be completed.

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:

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.

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

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.

Resolution for Windows 7 Service Pack 1 (SP1) and Windows Server 2008 R2 SP1

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

Download the System Update Readiness tool.

select the download link in the following table that corresponds to the version of Windows that is 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.

This tool is updated regularly, we recommend that you always download the latest version. 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 Windows 7 SP1 Download the package now.
x64-based (64-bit) versions of Windows 7 SP1 Download the package now.
x64-based (64-bit) versions of Windows Server 2008 R2 SP1 Download the package now.
Itanium-based versions of Windows Server 2008 R2 SP1 Download the package now.

Install and run the tool.

Select Download on the Download Center webpage, 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-select the file.

In the Windows Update Standalone Installer dialog box, select Yes.

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 select Cancel.

When you see Installation complete, select Close.

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

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

Resolution — 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 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:

Open Microsoft Update Catalog in Internet Explorer.

In the search box, input the update number that you want to download. In this example, input 3006137. Then, select Search.

Find the update that applies to your operating system appropriately in the search results, and then select Add to add the update to your basket.

Select view basket to open your basket.

Select Download to download the update in your basket.

Select Browse to choose a location for the update you are downloading, and then select Continue.

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.

Open the folder, and then double-select 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.

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.
0x800f0984 PSFX_E_MATCHING_BINARY_MISSING Matching component directory exist but binary missing
0x800f0986 PSFX_E_APPLY_FORWARD_DELTA_FAILED Applying forward delta failed
0x800f0982 PSFX_E_MATCHING_COMPONENT_NOT_FOUND Can’t identify matching component for hydration

What does the System Update Readiness tool do

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:

How to fix errors that are 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:

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

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

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

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

«Failure configuring Windows updates. Reverting changes.» error when you try to install Windows updates

Symptoms

When you try to install Windows updates, you get the following error:

Failure configuring Windows updates. Reverting changes. Do not turn off your computer.

Note If this issue occurs, it may take about 30 minutes to revert the changes, and then the system will show the Windows logon screen.

Resolution

To resolve this issue, use the following methods starting with the first method below. If that doesn’t resolve your issue, click next method.

Method 1: Restart Windows and install Windows updates in a clean boot state

To perform a clean boot in Windows, see how to perform a clean boot to troubleshoot a problem in Windows 8, Windows 7, or Windows Vista. And then, install Windows Updates according to your operating system.

Open Windows Update by swiping in from the right edge of the screen (or, if you’re using a mouse, by pointing to the lower-right corner of the screen and moving the mouse pointer up), then selecting Settings > Change PC settings.

Select Update and recovery > Windows Update.

Try to install Windows Updates again.

Select the Start button. In the search box, enter Update, and then, in the list of results, select Windows Update.

Try to install Windows Updates again.

Note Installing Windows updates in a clean boot state will avoid the Windows updates installation being blocked by some other applications and services that are installed in Windows.

Method 2: Run the Windows Update Troubleshooter

Download the Windows Update Troubleshooter, and then select O pen or Save in the pop-up window. And then, select Next and follow the steps in the wizard to find and fix problems with Windows Update .

If you don’t have an Internet connection in Windows 8, you can open the Windows Update troubleshooter that’s included in Windows 8. However, that troubleshooter does not perform all the troubleshooting steps that the linked troubleshooter above does.

Open the Windows Update troubleshooter by swiping in from the right edge of the screen, tapping Search (or if you’re using a mouse, pointing to the upper-right corner of the screen, moving the mouse pointer down, and then clicking Search).

Type Troubleshooting, tap or click on Settings, and then tap or click Troubleshooting.

Under System and Security, tap or click Fix Problems with Windows Update, and then select Next.

Download the Windows Update Troubleshooter, and then select O pen or Save in the pop-up window.

Select Next and follow the steps in the wizard to find and fix problems with Windows Update.

Method 3: Unplug your removable media from the computer

Check if any removable media is not removed from the computer, such as removable disks (Blu-ray disks, DVDs, CDs), memory cards (CompactFlash card, Secure Digital card, Memory Stick), and USB flash drives.

Unplug all the removable media.

Note These removable media may cause this issue during the restart of Windows.

Method 4: Perform a system restore When you start your computer by using the Windows installation disc, you can perform system recovery options on startup. To do this, follow these steps:

Insert the Windows 8 installation disc in the drive, and then restart the computer.

When you are prompted to start from the disc, press any key.

Tap or click Repair your computer.

Tap or click Troubleshoot, and then tap or click Advanced options.

Tap or click your version of Windows 8, tap or click System Restore, tap or click the restore point you want, and then tap or click Next.

Follow the onscreen instructions to perform the System Restore, and when prompted, restart your computer.

Insert the Windows Vista or Windows 7 installation disc in the drive, and then restart the computer.

When you are prompted to start from the disc, press any key.

When you are prompted, configure the Language to install, Time and currency format, and Keyboard or input method options that you want, and then select Next.

Select Repair your computer.

On the System Recovery Options page, click the version of the Windows operating system that you want to repair, and then select Next.

On the System Recovery Options page, select System Restore.

On the System Restore page, select Next.

Select a restore point at which you know that the operating system was working, and then select Next.

The restore point should be a date before the first time that you experienced the error. To select a date, use the Choose a different restore point option, and then select Next.

If you are prompted to specify which disk to restore, select the hard disk, and then select Next.

On the Confirm your restore point page, select Finish.

When the restoration process is complete, select Restart.

Note You must be logged on to Windows with an administrator account to complete this method. If this is a computer that is part of a network at work, you should ask the system administrator for help. For information about how to log into Windows as an administrator, click one of the following links, depending on the version of Windows that you’re running:

Note If your computer is not configured to start from a CD or from a DVD, or if Windows came preinstalled on your computer without the CDs or DVDs, see the documentation that was included with the computer for instruction about how to continue, or skip to the next method.

Method 5: Perform an in-place upgrade (reinstallation) (Windows 7 and Windows Vista)

Performing an in-place upgrade will restore the current Windows installation to the version of the installation DVD. This also requires the installation of all updates that are not included on the installation DVD. If your computer came with Windows pre-installed, review your computer’s documentation for instructions on how to do an in-place upgrade. Otherwise, follow these steps.

Insert the Windows Vista or Windows 7 DVD in the computer’s DVD drive.

In the Setup window, select Install Now.

Note If Windows does not automatically detect the DVD, follow these steps:

Select Start, and then type Drive:\setup.exe in the Start Search box. Note The Drive placeholder is the drive letter of the computer’s DVD drive, usually D:\.

In the Programs list, select Setup.exe.

In the Setup window, select Install Now.

Select Go online to obtain the latest updates for installation (recommended).

Type the CD key if you are prompted to do this.

Select the operating system in the Install Windows page you want to upgrade.

Select Yes to accept the Microsoft Software License Terms.

On the Which type of installation do you want? screen, select Upgrade.

When the installation is complete, restart your computer.

Note We strongly recommend that you back up all your personal files. For information, see how to back up your files.

If these methods did not fix the issue, you can use the Microsoft Customer Support Services Web site to find other solutions to your problem. Some services that the Microsoft Customer Support Services Web sites provide include the following:

Searchable Knowledge Base: Search technical support information and self-help tools for Microsoft products.

Solution Centers: View product-specific frequently asked questions and support highlights.

Other Support Options: Use the Web to ask a question, contact Microsoft Customer Support Services, or provide feedback.

If you continue to have problems, you might want to contact Microsoft Support.

How to restore or repair your Windows installation

Note These sites include options to use when the manufacturer has installed the System Recovery options on the computer.

How to avoid this problem in Windows Vista

To avoid this problem in Windows Vista, obtain and install update 937287 from the Microsoft Download Center separately from all other updates on the Windows Update site. Install the update that applies to your version of Windows Vista so that you can successfully install future updates.

The following files are available for download from the Microsoft Download Center:

Windows Vista x86-based systems Download the Windows6.0-KB937287-x86.msu package now.

Windows Vista x64-based systems Download the Windows6.0-KB937287-x64.msu package now.

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.

Читайте также:  Debian gnu linux kernel
Оцените статью