- Fix Windows Update errors
- Fix Windows Update errors by using the DISM or System Update Readiness tool
- Symptom
- Resolution for Windows 8.1, Windows 10 and Windows Server 2012 R2
- Resolution for Windows 7 Service Pack 1 (SP1) and Windows Server 2008 R2 SP1
- Resolution — Download the package from Microsoft Update Catalog directly
- Description of the common corruption errors
- What does the System Update Readiness tool do
- Verify the integrity of resources
- Logging
- How to fix errors that are found in the CheckSUR log file
- Troubleshoot problems updating Windows 10
- Have issues installing Windows updates? Start here.
- Still stuck?
Fix Windows Update errors
What does this guided walk-through do?
This guided walk-through provides steps to fix problems with Windows Updates for Windows 8.1 and 7, such as taking a long time to scan, or error codes while installing updates.
For help with Windows Update issues in Windows 10, see Troubleshoot problems updating Windows 10 instead.
A common cause of errors is inadequate drive space. If you need help freeing up drive space, see Tips to free up drive space on your PC.
Common error codes
The steps in this guided walk-through should help with all Windows Update errors and other issues— you don’t need to search for the specific error to solve it. As an example, here are some commonly seen error codes: 0x0xc1900223223; 0x80240034; 0x8007000E, 0x80242006, 0x80244018, 0x80D02002, 0x80246017, 0x80240438, 0x80070070, 0x8007000D, 0x80246008, 0x80096004, 0x80070020.
The steps provided here should help fix any errors that come up during the Windows Update process.
How does it work?
We’ll begin by asking you questions about the Windows version you’re using and the issue you’re experiencing. Next, we’ll take you through a series of troubleshooting steps that are specific to your situation. At the end of each step, you’ll be asked “Did this resolve the issue?” If it’s resolved, select Yes, and you’re done! If it isn’t resolved, select No and continue with the guided walk-through.
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.
Troubleshoot problems updating Windows 10
In Windows 10, you decide when and how to get the latest updates to keep your device running smoothly and securely. This article will help you answer questions and troubleshoot common problems with your Windows 10 update.
If you’re looking for info on how to activate Windows 10 or to verify that your installation of Windows 10 is activated, see Activate Windows 10.
Have issues installing Windows updates? Start here.
Your device may not be able to update to the latest version of Windows 10 for a few reasons. The following tips can help you pinpoint the issue affecting your device.
Before you begin, make sure your device is plugged into a power source and connected to the internet. Then, try the steps listed below to get your PC to update.
Some updates require administrator access. If your account doesn’t have administrator access, see Create a local user or administrator account in Windows 10. Or if someone else at home or in your office has an administrator account on your device, try asking them to install the updates.
Before trying any of the solutions below, make sure you back up your personal files. You can use File History to back up your files to another drive, or insert a USB drive and use File Explorer to drag and copy important files to the USB drive. If you’re signing into Windows with a Microsoft account, your system settings will be automatically restored after updating, once you’re connected to the internet.
You can also back up your files with OneDrive. For more info, go to Back up your Documents, Pictures, and Desktop folders with OneDrive.
Make sure that your device has enough space. Your device requires at least 16 GB of free space to upgrade a 32-bit OS, or 20 GB for a 64-bit OS. If your device has a small hard drive, you may need to insert a USB drive to update it.
If your PC is running low on storage, try the techniques at Free up drive space in Windows 10.
Many updates require you to restart your device. Save your work and close all open applications. Then, select Start > Power , and select either Update and restart or Update and shut down.
Even if you have downloaded some updates, there may be more available. After trying the preceding steps, run Windows Update again by selecting Start > Settings > Update & Security > Windows Update > Check for updates. Download and install any new updates.
Remove any external storage devices and drives, docks, and other hardware plugged into your device that aren’t needed for basic functionality. Then try to run updates again and see if this resolved your issue. If it didn’t, continue to the next tip.
If you’ve added hardware to your device, check for third-party driver updates and installation instructions on the hardware manufacturer’s website. Update any drivers, then try to run updates again and see if this resolved your issue. If it didn’t, continue to the next tip.
In the search box on the taskbar, type device manager, then select Device Manager from the list of results.
In the window that appears, look for any device with a yellow exclamation mark next to it. (You may have to select each category to view the list of devices.) Select the device name.
Select Action, and then choose either Update driver or Uninstall to correct the errors.
Common troubleshooting questions
If you are receiving an error message with a specific error code, try running the Windows Update Troubleshooter. If that doesn’t resolve the issue, see Fix Windows Update errors and follow the instructions to help resolve common update issues.
The time required to download and install updates depends on connection speed, network settings, and the size of the update. If the installation remains stuck at the same percentage, try checking for updates again or running the Windows Update Troubleshooter.
To check for updates, select Start > Settings > Update & Security > Windows Update > Check for updates.
To get help, in the search box on the task bar, type get help, then select Get Help from the list of results. To leave feedback if you run into further problems, in the search box on the taskbar, type feedback hub, then select Feedback Hub from the list of results.
Windows 10 is the most secure Windows ever, and we recommend you stay updated to protect your PC from security risks and to keep it running smoothly. However, you can temporarily pause updates as well as schedule a restart to install updates at a time that’s convenient for you.
Learn how to temporarily pause updates
Find out how to schedule a restart to install updates at a convenient time
You will only receive a notification when it’s time to restart your computer to apply the installed updates.
If you need to know where you left off in your work after an update, use Timeline to jump back in.
To get started with Timeline, select Task View on the taskbar, or press the Windows logo key +Tab and select the activity you want to resume.
Monthly quality updates on Windows 10 are quite small and have a minimal impact on data usage. Feature updates typically happen twice per year, and you can control when to install them. They require more data but are less frequent.
If you’re on a metered connection, some updates for Windows won’t be installed automatically. Metered connections in Windows 10
Your computer might be slow for a number of reasons, but updating to the latest version of Windows 10 can improve its performance. For help with a slow computer, see Tips to improve PC performance in Windows 10.
If you’re having trouble finding your files after an upgrade, see Find lost files after the upgrade to Windows 10 for other things to try.
Warning: Microsoft only recommends trying the procedures in this section if you’re comfortable working in the command line. These procedures require administrator permissions on your device.
In the search box on the taskbar, type command prompt, then select Run as administrator from the list of options. Select Yes. Next, in the window that appears, type the following commands one at a time, including the spaces as shown. After you type each command, press Enter. Then let each command complete before you type the next command.
net stop wuauserv
ren %systemroot%\softwaredistribution softwaredistribution.bak
ren %systemroot%\system32\catroot2 catroot2.bak
net start wuauserv
After all these commands are completed, close the Command Prompt window and restart your computer.
In some instances, third-party antivirus or security software can cause errors when you try to update to the latest version of Windows 10. You can temporarily uninstall this software, update your PC, and then reinstall the software after your device is up to date. We recommend using third-party antivirus or security software that’s compatible with the latest version of Windows 10. You can check compatibility by visiting the software manufacturer’s website.
Note: Before uninstalling software, make sure you know how to reinstall your programs and that you have any necessary product keys.
In the search box on the taskbar, type command prompt, and then select Run as administrator from the list of options. Select Yes. In the window that appears, type the following command, including the space as shown:
chkdsk/f C:
and then press Enter. Repairs will automatically start on your hard drive, and you’ll be asked to restart your device.
A clean restart starts Windows with a minimal set of drivers and startup programs. This helps eliminate software conflicts that occur when you install a program or an update that may cause issues updating your PC.
Learn how to do a clean restart
In the search box on the taskbar, type command prompt, then select Run as administrator from the list of options.
In the window that appears, type this command including spaces as shown:
DISM.exe /Online /Cleanup-image /Restorehealth
Press Enter. When the command operation has run successfully, you’ll see a confirmation message from Command Prompt that says, “The restore operation completed successfully” or “The operation completed successfully”.
Note: If you don’t see a confirmation message, retype the command and try again.
Next, type this command, including the space as shown:
sfc /scannow
Press Enter. Wait until the sfc scan verification reaches 100% completion, and then close Command Prompt.
Try running the Windows Update again.
Go to the software download page and select Download tool now to download the clean installation tool. Make sure to carefully read the notes on the software download page before using the tool.
Still stuck?
Contact Microsoft support if you continue to have problems with your Windows updates.