Windows Update says an update didn't install, often with Install error or Download error and a code that starts with 0x. Your PC is still safe to use, and Windows will usually try again by itself. If the same update keeps failing, these fixes go from the gentlest to the most thorough.

Fix 1: Restart, then select Retry

10 minutesSafe

Many updates fail because something else was busy, such as another update waiting for a restart. A restart finishes that work, and a second attempt often goes through.

  1. Save your work. Select Start, then Power, then Restart (or Update and restart if you see it).
  2. Open Settings, then Windows UpdateSettings, then Update & Security, then Windows Update.
  3. Select Retry beside the failed update, or Check for updates.
  4. Keep a laptop plugged in and stay online until it finishes.

Did that fix it?

No, try fix 2

Fix 2: Run the Windows Update troubleshooter

10 minutesSafe

The troubleshooter checks the services Windows Update relies on and resets any that have stopped or stalled. It is Microsoft's first suggestion for most update errors.

Windows 11

  1. Open Settings, then System, then Troubleshoot, then Other troubleshooters.
  2. Beside Windows Update, select Run. On recent versions of Windows 11 this opens the Get Help app.
  3. Follow the questions, restart, and try the update again.

Windows 10

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

Did that fix it?

No, try fix 3

Fix 3: Make room, and unplug extra drives

15 to 30 minutesSafe

Feature updates (the big yearly versions) need a lot of free space: Microsoft suggests at least 20 GB on a 64-bit PC. Extra drives can also confuse the installer, which may try to use them or fail to find a file. Microsoft suggests unplugging hardware you don't need while updating.

  1. Open File Explorer, select This PC and check the free space on Local Disk (C:). If it is low, follow Free up disk space.
  2. Unplug USB drives, memory cards, external hard drives, printers and docks you don't need. Leave the keyboard, mouse and power cable.
  3. Restart and try the update again.

Did that fix it?

No, try fix 4

Fix 4: Reset the Windows Update components

15 minutesChanges settings

Windows keeps update downloads and their signatures in two folders. If either is damaged, the same update fails every time. Renaming both makes Windows build fresh copies and download the update again.

  1. Open Command Prompt as administrator.
  2. Type each line and press Enter after each one:
    Type this in Command Prompt, as administrator
    net stop wuauserv
    net stop bits
    net stop cryptsvc
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.bak
    ren C:\Windows\System32\catroot2 catroot2.bak
    net start cryptsvc
    net start bits
    net start wuauserv
    How do I open Command Prompt as administrator?

    Select Start and type cmd. Right-click Command Prompt in the results and choose Run as administrator. Select Yes if Windows asks for permission.

  3. Restart the PC and try the update again.

If a line gives an error, the full version of this fix explains what the common messages mean.

Did that fix it?

No, try fix 5

Fix 5: Repair Windows system files with DISM and SFC

20 to 40 minutesSafe

Many update error codes mean Windows' own files are damaged, so the update has nothing sound to build on. DISM repairs the store of files Windows uses for repairs, then SFC replaces damaged system files from it. Microsoft recommends this order.

  1. Open Command Prompt as administrator.
  2. Run this command and wait until it says the operation completed. It can pause at one percentage for several minutes.
    Type this in Command Prompt, as administrator
    DISM.exe /Online /Cleanup-image /Restorehealth
  3. Then run this command and wait until it reaches 100%:
    Type this in Command Prompt, as administrator
    sfc /scannow
  4. Restart the PC and try the update again.

Did that fix it?

No, try fix 6

Fix 6: Install the update yourself from the Microsoft Update Catalog

20 to 40 minutesChanges settings

The Microsoft Update Catalog is Microsoft's own website for individual update files. Installing the file yourself skips the part of Windows Update that keeps failing. You need the KB number you wrote down and your PC's system type.

  1. Find your system type: open Settings, then System, then About and look at System type. Most PCs say x64-based processor. Some newer laptops say ARM-based processor, and some older Windows 10 PCs say x86-based processor (32-bit).
  2. Find your Windows version: see Find out which Windows version you have. You need the version name, such as 24H2 or 22H2.
  3. Go to the Microsoft Update Catalog, type the KB number in the search box and select Search.
  4. In the results, pick the row whose title names your Windows (for example "Windows 11 Version 24H2"), your version, and your system type ("x64-based Systems", "arm64-based Systems" or, for 32-bit, "x86-based Systems").
  5. Select Download on that row, then select the link in the window that opens. If the window lists more than one file, check the update's own page on Microsoft's support site (search for the KB number) for the order to install them.
  6. Open the downloaded file from your Downloads folder and follow the prompts. Restart when asked.

If the installer says the update doesn't apply to your computer, you picked a different version or system type, or the update is already installed.

Did that fix it?

No, try fix 7

Fix 7: Reinstall Windows through Windows Update (Windows 11)

1 to 2 hoursChanges settings

Windows 11 can download and reinstall your current version of Windows to repair its system files and update components. Microsoft says this keeps your apps, files and settings, and it is designed for updates that keep failing. Windows 10 has no such option in Settings.

Windows 11

  1. Open Settings, then System, then Recovery.
  2. Beside Fix problems using Windows Update, select Reinstall now.
  3. Choose whether the PC may restart by itself after installing, then select OK.
  4. Windows Update downloads and installs a repair copy. Restart when asked, then check for updates again.

This option needs Windows 11 version 22H2 or later and may be missing on work or school PCs.

Windows 10

First check that your PC still receives updates at all. Windows 10 reached the end of support in October 2025: see Windows 10 end of support, explained.

If it does and updates still fail, Microsoft's own support site describes a repair reinstall that keeps your files and apps: Reinstall Windows with the installation media. Back up first, and choose Keep personal files and apps when setup asks what to keep.

Did that fix it?

Why updates fail

An update can fail because there wasn't enough room, the download was damaged, another program was holding a file Windows needed, or a Windows file was already broken. The code in Update history points to which one, which is why it's worth writing down first. If updates don't fail but sit still for hours instead, read Windows Update is stuck.