Independent guides. Not affiliated with Microsoft. We never ask you to call, pay, or let anyone connect to your PC.

How we work
Fixpath

FixWindows Update

Windows Update failed to install

Applies to
Windows 11 and Windows 10
Difficulty
Moderate
Time
About 60 min
Risk
Changes settings
Reviewed

Quick answer

Note the error code, restart and select Retry. If it fails again, run the Windows Update troubleshooter, make room on drive C:, reset the update components, and as a last step install the update yourself from Microsoft's Update Catalog.

Fix 1Note the error code, restart and retry

Many failures are one-offs: a dropped connection, a busy server, or an earlier update still waiting for a restart. The error code tells you which kind of problem it is if it happens again.

  1. Open Settings then Windows Update (on Windows 10, Settings then Update & Security then Windows Update). A failed update shows an error code starting with 0x. Write it down.
  2. For older failures, open Update history (on Windows 10, View update history). Failed updates are marked as failed, with the code beside them.
  3. Restart your PC from Start > Power > Restart, then select Retry or Check for updates.
  4. If it fails with the same code, look it up in our error code list. Common ones are 0x80070002, 0x800f0922 and 0x800f081f.

Fixed? You can stop here. Still happening: go to Fix 2

Fix 2Run the Windows Update troubleshooter

The built-in troubleshooter checks the update services and settings and resets the common problems for you. It changes nothing else.

On Windows 11

  1. Open Settings then System then Troubleshoot then Other troubleshooters.
  2. Next to Windows Update, select Run. On recent versions this opens the Get Help app, which runs the checks.
  3. Restart and try the update again.

On Windows 10

  1. Open Settings then Update & Security then Troubleshoot then Additional troubleshooters.
  2. Select Windows Update, then Run the troubleshooter.
  3. Restart and try the update again.

Fixed? You can stop here. Still happening: go to Fix 3

Fix 3Clear the usual obstacles

Microsoft's own checklist for failed updates starts with the basics: enough free space, no extra hardware attached, the right date and time, and nothing filtering the connection.

  1. Check free space in Settings then System then Storage. Microsoft says a 64-bit PC needs about 20 GB free for a version upgrade. Monthly updates need less, but a nearly full drive C: still causes failures. See free up disk space safely.
  2. Unplug external drives, docks and other devices you don't need.
  3. Turn off any VPN while you update.
  4. In Settings then Time & language then Date & time, turn on Set time automatically and select Sync now.
  5. If you use third-party antivirus, Microsoft suggests uninstalling it temporarily, updating, then reinstalling it. Microsoft Defender Antivirus switches on by itself while it's gone.

Fixed? You can stop here. Still happening: go to Fix 4

Fix 4Reset the Windows Update components

Windows keeps downloaded updates in the SoftwareDistribution folder and update signatures in the catroot2 folder. If either is damaged, the same update fails every time. Renaming them makes Windows rebuild both from scratch. Installed updates are not removed.

  1. Select Start, type cmd, right-click Command Prompt and select Run as administrator.
  2. Stop the three services that use those folders, one command at a time. Each should report that it stopped or wasn't started. If you're asked whether to stop other services too, type Y and press Enter.
    Command Prompt as administrator
    net stop wuauserv
    How do I open Command Prompt as administrator?

    Select Start and type cmd. Right-click Command Prompt, select Run as administrator, then select Yes.

    Command Prompt as administrator
    net stop bits
    Command Prompt as administrator
    net stop cryptsvc
  3. Rename the two folders. No message means success.
    Command Prompt as administrator
    ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
    Command Prompt as administrator
    ren %systemroot%\System32\catroot2 catroot2.old
    If you see Access is denied, run the matching net stop command again and retry straight away. If a .old folder already exists from an earlier attempt, use .old2 instead.
  4. Start the services again.
    Command Prompt as administrator
    net start cryptsvc
    Command Prompt as administrator
    net start bits
    Command Prompt as administrator
    net start wuauserv
  5. Restart, then select Check for updates. The update downloads again from the start.

Fixed? You can stop here. Still happening: go to Fix 5

Fix 5Repair Windows system files

Many install errors come from damage in Windows' component store, the library of system files that updates build on. DISM repairs the store, then System File Checker (SFC) repairs files from it. Microsoft recommends this order.

  1. In Command Prompt as administrator, run DISM. It can take 10 minutes or more.
    Command Prompt as administrator
    DISM.exe /Online /Cleanup-image /Restorehealth
    It should end with The restore operation completed successfully.
  2. Then run SFC.
    Command Prompt as administrator
    sfc /scannow
    "Did not find any integrity violations" or "successfully repaired them" are both good results.
  3. Restart and try the update again.

Fixed? You can stop here. Still happening: go to Fix 6

Fix 6Install the update from the Microsoft Update Catalog

The Microsoft Update Catalog is Microsoft's own site for downloading individual updates. Installing the file yourself skips the parts of Windows Update that may be failing.

  1. In Update history, note the failed update's number: "KB" followed by seven digits.
  2. Open Settings then System then About and note your Version (for example 24H2) and System type. Most PCs are x64; some laptops are Arm (arm64). See find your Windows version.
  3. Go to catalog.update.microsoft.com and search for the KB number.
  4. Pick the row that names your Windows version and system type, select Download, then select the link in the window that opens.
  5. Double-click the downloaded file to install it, then restart. If the window listed more than one file, install them in the order given on that update's Microsoft Support page.

If the installer says the update doesn't apply to your computer, it's either the wrong row for your version or the update is already installed.

Fixed? You can stop here. Still happening: go to Fix 7

Fix 7Reinstall Windows and keep your files and apps

If updates still fail, a repair install replaces all of Windows' system files with fresh copies while keeping your files, apps and settings. It fixes damage that the tools above can't reach.

On Windows 11

  1. Open Settings then System then Recovery. Under Fix problems using Windows Update, select Reinstall now, then OK. Keep the PC plugged in and online until it's done.
  2. If that option isn't shown, download the Windows 11 disk image (ISO) from Microsoft's Windows 11 download page. Double-click the ISO to open it, run setup.exe, select Change what to keep, choose Keep personal files and apps, then select Next and Install.

On Windows 10

  1. Download the Media Creation Tool from Microsoft's Windows 10 download page and run it.
  2. Choose Upgrade this PC now. When asked what to keep, choose Keep personal files and apps, then select Install.

Fixed? You can stop here. Still happening: what to do next

If none of these worked

Stop here rather than trying riskier changes. These are the right places to go next:

Never call a phone number shown in a pop-up, or let someone you don't know connect to your PC. Microsoft doesn't put phone numbers in error messages. How to spot a tech-support scam

Sources and review

Checked against Microsoft's own documentation:

Last reviewed . Spotted a step that doesn't match your screen? Tell us and we'll check it.