Windows 11 · Windows Update · Error codes
Windows 11 Update Failed, Stuck or Looping: Fix It by Error Code (0x80070002, 0x80240034, 0xC1900101 and More)
A failed Windows 11 update is not one problem. It is three different shapes — failed with a code, stuck at a percentage, or installed and then rolled back — and the code on the screen tells you which cause you are dealing with. 0x80070002 means the system cannot find a file it needs. 0x80240034 means the download was interrupted. 0xC1900101 is usually a driver error. This guide works the same ladder in order for all of them — restart, troubleshooter, cache clear, DISM and SFC, the driver fix, then a repair reinstall — and tells you at each step which code that step is for.
The fast answer
Read the code first: Settings > Windows Update > Update history, find the update that failed, and note the exact code. Then work this ladder in order: restart the PC and try once more; run the Windows Update troubleshooter (in the Get Help app, or Settings > System > Troubleshoot > Other troubleshooters); clear the update cache with Microsoft Learn’s own reset commands; repair system files with DISM first, then SFC; if the code is 0xC1900101, do the driver fix (unplug extra hardware, update drivers from the manufacturer, remove third-party security software); and if nothing else works, run the repair reinstall (Settings > System > Recovery > Fix problems using Windows Update), which reinstalls the same version of Windows and keeps your apps, files and settings. One exception: if the failing update is KB5132061 with 0x80070306, 0x800f0989 or 0x800f0993, that is a different, Microsoft-confirmed incident with its own automatic repair — see our guide on Windows 11 November Update KB5132061 Won’t Install: Fix Errors 0x80070306, 0x800f0989 and 0x800f0993 instead of working this ladder.
What you are looking at, in plain words
Windows Update fails in three shapes, and Microsoft treats them differently. The first shape is a failed install with an error code — the update downloads, tries to install, and stops with a code such as 0x80070002. The second is a stuck update — the percentage stops moving, or the download never finishes. The third is a rollback — the update appears to install, the PC restarts, and then you see “We couldn’t complete the updates. Undoing changes. Don’t turn off your computer.” Microsoft says those last two messages are generic errors that can appear any time a Windows update fails, and that you need the specific error code to investigate how to fix the problem — which is why Step 0 below starts in Update history, not with a fix.
The table below is Microsoft’s own error-code table from its “Get help with Windows upgrade and installation errors” page, read in full on 14 November 2026. It lists what each code means and the first thing to try. The three codes in this guide’s title are the ones small-business PCs hit most often; the rest of the table is here so you can match whatever code your PC actually shows instead of guessing from the title.
| Code | What Microsoft says it means | First move |
|---|---|---|
| 0x80070002 | The system cannot find the file specified. | Restart, run the troubleshooter, clear the update cache, then DISM and SFC (Fixes 1–5). |
| 0x80240034 | Operation did not complete because the download was interrupted. | Check the internet connection is stable, restart the update process, and check network or firewall settings (Fixes 1–3). |
| 0xC1900101 | Usually a driver error. Applies to the whole 0xC1900101 family, including 0xC1900101-0x2000c, -0x20017, -0x30018, -0x3000D, -0x4000D and -0x40017. | The driver fix (Fix 6): free space, run Windows Update a few times, update drivers, unplug extra hardware, check Device Manager, remove third-party security software, check the disk, clean boot, DISM. |
| 0x8007000d | The data is invalid. | Run the Windows Update troubleshooter, make sure the system is fully updated, and use SFC and DISM (Fixes 2 and 5). |
| 0x80070003 | The system cannot find the path specified. | Run the Windows Update troubleshooter, reset Windows Update components, and clear the update cache (Fixes 2 and 4). |
| 0x80246007 | Downloaded update files are missing or corrupt. | Delete temporary update files, restart the Windows Update service, and use the troubleshooter (Fixes 2 and 4). |
| 0x8024000B | The update is missing or has been damaged. | Run the Windows Update troubleshooter, use DISM to repair corrupted system files, and reset Windows Update components (Fixes 2, 4 and 5). |
| 0x80070422 | The service cannot be started because it is disabled. | Make sure the Windows Update service is enabled, start it manually, and reset the Windows Update components (Fix 4 and the ladder). |
| 0x80073712 | A file needed by Windows Update is likely damaged or missing. | Repair system files with DISM (Fix 5). |
| 0xC1900223 | There was a problem downloading and installing the selected update. | Nothing to do: Windows Update will try again later. |
| 0x80200056 | The upgrade process was interrupted because you restarted the PC or signed out. | Try upgrading again, and keep the PC plugged in and turned on. |
| 0x800F0922 | Your PC couldn’t connect to the Windows Update servers, or there isn’t enough free space in the System Reserved partition. | If you use a VPN to connect to a work network, disconnect from the network, turn off the VPN software and try again (Fix 3). |
| 0xC1900107 | A cleanup operation from a previous installation attempt is still pending, and a system restart is required. | Restart the device and run setup again (Fix 1). |
| “We couldn’t complete the updates. Undoing changes.” | A generic error, not a diagnosis. | Find the specific error code in Update history (Step 0), then match it in this table. |
About this table: every meaning and first move above is quoted from Microsoft Support’s “Get help with Windows upgrade and installation errors” page, read in full on 14 November 2026. Where the table says “Fix 1” or “Fix 5”, that is the numbered fix in this guide. Microsoft’s own instruction at the top of its table is the rule for this whole guide: if you keep having problems, you need the specific error code before anything else will help.
Step 0 — Work out where you stand
- Read the exact code. Open Settings > Windows Update > Update history and find the update that did not install. Note the error code next to it, exactly as shown — including any second part after the dash, such as 0xC1900101-0x20017. Microsoft’s own instruction is that the generic “Undoing changes” message is not a diagnosis: you need the specific code to investigate how to fix the problem.
- Note which update failed. Write down the KB number (for example KB5132061) and whether it is a monthly quality update or a feature/version upgrade. That matters: 0xC1900101 is an upgrade code with a driver fix, while a monthly update failing with 0x80070002 or 0x80240034 is a download or file problem with a different first move.
- Check the KB5132061 exception before you start. If the failing update is KB5132061 and the code is 0x80070306, 0x800f0989 or 0x800f0993, stop here — that is the Microsoft-confirmed November incident with its own automatic repair, covered in our guide on Windows 11 November Update KB5132061 Won’t Install: Fix Errors 0x80070306, 0x800f0989 and 0x800f0993. Working this ladder on that incident wastes your time; the repair lands on its own.
- Check free space. For a feature upgrade, Microsoft says your device requires at least 16 GB of free space to upgrade a 32-bit OS, or 20 GB for a 64-bit OS. Open File Explorer, select This PC, and read the free space on the system drive. If it is below that line, free space first — no other fix will get an upgrade past a full drive.
- Check the PC still starts and you can sign in. Every fix in this guide runs from a working desktop. If the PC will not start at all, or it is stuck on a blue Automatic Repair screen, that is a different problem from a failed update, and this ladder does not apply — our companion guide on a PC stuck in Automatic Repair is not yet published.
- Stop clicking Retry for now. Retrying the same install without a fix step changes nothing, and for 0xC1900223 Microsoft says plainly that Windows Update will try again later and there is nothing you need to do. Work one fix, then check for updates once — that one retry is the test, not the fix.
The fixes, in order
- Restart the PC and try once more. A plain restart clears the two states Microsoft names most often: a cleanup operation from a previous attempt that is still pending (0xC1900107 — “a system restart is required to continue”), and a file locked by another process (0x80070020 — “restart your computer and try again”). Restart, then go to Settings > Windows Update > Check for updates once. Keep the PC plugged in and stay signed in while it runs — Microsoft says an upgrade can be interrupted if you restart the PC or sign out (0x80200056), and that interruption is itself a failure code.
- Run the Windows Update troubleshooter. On Windows 11, start with the automated troubleshooter in the Get Help app — Microsoft says it will automatically run diagnostics and attempt to fix most of the problems. If that does not resolve it, use the Settings path instead: Start > Settings > System > Troubleshoot > Other troubleshooters, and under Most frequent select Run next to Windows Update. Restart your device when the troubleshooter finishes, then check for updates again. If the issue continues, Microsoft says to run the troubleshooter again to check for additional errors — the second run can catch something the first run fixed around.
- Fix space and the connection. If the code is 0x80240034, Microsoft’s fix is a stable internet connection, restarting the update process, and checking network or firewall settings that could be blocking the update. If the code is 0x800F0922 and you connect to a work network over a VPN, disconnect from the network and turn off the VPN software, then try again. And if this is a feature upgrade, confirm the free-space line from Step 0 — at least 16 GB for a 32-bit OS or 20 GB for a 64-bit OS — and free space with Disk Cleanup or Settings > System > Storage if you are short.
- Clear the update cache. Downloaded update files live in
C:\Windows\SoftwareDistribution, and when the files there are damaged or half-downloaded the update cannot finish — Microsoft’s table names this directly for 0x80246007 (“downloaded update files are missing or corrupt: delete temporary update files, restart the Windows Update service”) and for 0x80070003 (“reset Windows Update components, clear Windows Update cache”). Microsoft Learn documents the quick reset as three commands from an elevated Command Prompt — open Command Prompt as administrator, run each command, and press Enter after each one:
That stops the Windows Update service, deletes the downloaded update files, and starts the service again. Windows downloads the update files again the next time you check for updates, so this costs you a re-download, not the update itself. Restart the PC afterwards, then check for updates once.net stop wuauserv rd /s /q %systemroot%\SoftwareDistribution net start wuauserv - Repair system files — DISM first, then SFC. Microsoft’s System File Checker page gives this order exactly, and warns not to reverse it: run DISM first, because DISM provides the files SFC needs to repair corrupted files. Open Command Prompt as administrator. Type the DISM command and press Enter, and wait until you see “The operation completed successfully” — Microsoft notes this step may take a few minutes to start and complete. Then type the SFC command and press Enter, and wait until you see “Verification 100% complete”:
Do not close the Command Prompt window until SFC reaches 100%. Then restart the PC and check for updates. This is Microsoft’s own fix for 0x80073712 (“a file needed by Windows Update is likely damaged or missing”) and for 0x8007000d (“the data is invalid”), and it is one of the steps Microsoft lists for 0x8024000B and for 0xC1900101.DISM.exe /Online /Cleanup-image /Restorehealth sfc /scannow - If the code is 0xC1900101, do the driver fix. An error that begins with 0xC1900101 is usually a driver error, and Microsoft’s nine steps for it are, in its own order: make sure the device has enough space (16 GB for 32-bit, 20 GB for 64-bit); run Windows Update a few times so it picks up software updates, hardware updates and some third-party drivers; check third-party drivers and download any updates from the hardware manufacturer’s website; unplug extra hardware — all external storage devices, drives, docks and other hardware not needed for basic functionality; check Device Manager for errors — look for any device with a yellow exclamation mark, then right-click it and select Update Driver or Uninstall; remove third-party security software (Windows Defender protects the PC in the meantime, and you can reinstall the software after the upgrade — keep the installer and product key); repair hard-drive errors with
chkdsk /f C:from an administrator Command Prompt, then restart; do a clean boot into Windows; and restore and repair system files with DISM (Fix 5). Work them in that order — the cheap checks (space, unplugging hardware, Device Manager) come before the destructive ones (removing security software, clean boot). - Install the update manually from the Microsoft Update Catalog. If Windows Update itself keeps failing, download the same update package by hand. The Microsoft Update Catalog is Microsoft’s own library of standalone update packages, at catalog.update.microsoft.com: type the KB number from Step 0 into the search box, pick the row that matches your Windows version and processor (x64-based Systems for most PCs, ARM64-based Systems for Snapdragon machines), select Download, then double-click the downloaded .msu file and restart when Windows asks. If the download window lists a checkpoint or prerequisite package for that update, install that one first and then the main update — that is the step our KB5132061 guide documents for that update. A manual install still runs Windows’ own checks, so it will refuse a package that does not apply to your PC; that refusal is useful information, not a failure — it means the KB number or the row you picked was wrong.
- Repair reinstall — the last step before asking Microsoft. If the update still fails because of system files or components, Windows Update may itself show the message “Reinstall your current version of Windows to repair system files and components.” Microsoft’s recovery option for exactly this situation is Fix problems using Windows Update: it reinstalls the same version of Windows already on your PC, repairs system files and components, and preserves your apps, files and settings. Go to Start > Settings > System > Recovery, and under Fix problems using Windows Update select Reinstall now. Choose whether the PC may restart automatically 15 minutes after the installation completes, select OK, and keep the PC connected to a power source and the internet for the whole reinstallation — Microsoft’s own warning. Two limits, from Microsoft: the option might be unavailable if your PC is managed by your work or school, and it needs Windows 11 version 22H2 or later with the February 2024 optional update (or a later update) installed.
Download update packages only from Microsoft’s own Catalog. The Catalog at catalog.update.microsoft.com is Microsoft’s own download library — never take a Windows update package from a third-party download site, a forum attachment or a “fixer” tool, however urgent the failure feels. A wrong or tampered package can leave the PC worse than a failed update did.
Do not run registry cleaners, “Windows Update fixer” tools or driver-updater apps on a failing update. Every step in this guide is a built-in Windows tool or a Microsoft download. Third-party tools that promise to repair Windows Update are not part of Microsoft’s troubleshooting for any of these codes, and they can change settings — such as service permissions — that the fixes above then have to undo.
For 0xC1900101, update drivers before you uninstall them. Microsoft lists checking the manufacturer’s website for driver updates before removing anything, and Device Manager offers Update Driver as well as Uninstall. Uninstalling a driver you cannot reinstall — because you have no installer and no internet on that PC — turns a failed update into a missing device.
Prove it worked
Go to Settings > Windows Update and check for updates once. The proof is in Update history: the update that kept failing should now show as Successfully installed, and the Windows Update page should say you are up to date. If it was a feature or version upgrade, confirm the version as well — open Settings > System > About and read the Windows version and OS build, and check they match the version the update was supposed to install. One clean check for updates with no error code, and the failed update listed as installed, is the whole proof. If the same code comes back on that one retry, do not keep retrying — work the “Still not working?” ladder below, which is for exactly that result.
Still not working? Work this ladder in order
- The same code comes back after Fixes 1–5. Run the troubleshooter once more — Microsoft says to run it again to check for additional errors — and then, if it still fails, use the fuller manual component reset on the same Microsoft Learn page as Fix 4: stop the BITS, Windows Update and Cryptographic services, rename the DataStore, Download and catroot2 folders to .bak so Windows rebuilds them, re-register the update files, reset Winsock, and restart the services. That is the advanced version of Fix 4; try the quick reset first and this one only if the quick reset did not work.
- 0x80070422 keeps coming back. Microsoft says this code means the service cannot be started because it is disabled. Open the Services app, find Windows Update, and check its startup type is not Disabled — set it to Manual or Automatic, start the service, and try the update again. If a work policy keeps disabling it, that is a managed-PC issue, not a broken update: ask whoever manages the PC.
- The update installs, then rolls back every time. Read the code in Update history — a rollback without a code is the generic “Undoing changes” message, and Microsoft says you need the specific code to investigate. If the code is 0xC1900101, the driver hunt in Fix 6 is the path: Device Manager, the manufacturer’s drivers, unplugging hardware, and a clean boot. If no code appears at all, Microsoft’s own instruction for its error table is to contact Microsoft Support with the KB number and the history entry.
- KB5132061 with 0x80070306, 0x800f0989 or 0x800f0993. That is not this ladder — it is the Microsoft-confirmed November incident with its own automatic repair. See our guide on Windows 11 November Update KB5132061 Won’t Install: Fix Errors 0x80070306, 0x800f0989 and 0x800f0993.
- October update KB5127648 failing with 0x800f0845. Some users reported these failures in October and November 2026, but Microsoft has not confirmed them as a known issue — do not treat them as a Microsoft-confirmed incident the way KB5132061 is. Work this ladder like any other failed update: the troubleshooter, the cache clear and DISM/SFC are Microsoft’s own steps for update failures, whatever the KB number.
- The PC will not start, or it is stuck on Automatic Repair. That is a boot problem, not an update problem, and no step in this guide runs without a working desktop. Our companion guide on a PC stuck in Automatic Repair is not yet published — do not run the update fixes from recovery mode on a guess.
- None of these fits. Take the exact error code, the KB number, and the Update history entry to Microsoft Support — that is Microsoft’s own instruction at the top of its error-code table. A support request that says “the update fails” with no code goes nowhere; the same request with the code and the KB number is the one that gets answered.
Mistakes that make it worse
- Clicking Retry over and over without a fix step in between — a retry is a test, not a fix.
- Running SFC before DISM — Microsoft’s order is DISM first, because DISM provides the files SFC repairs with.
- Deleting the update cache while the Windows Update service is still running — stop the service first, or the delete fails or leaves the cache half-gone.
- Downloading the update from a third-party site instead of Microsoft’s own Catalog.
- Uninstalling drivers for a 0xC1900101 error before checking the manufacturer for an update — and without a way to reinstall them.
- Treating “Undoing changes” as the diagnosis — it is a generic message; the code in Update history is the diagnosis.
- Working the generic ladder on KB5132061 with 0x80070306, 0x800f0989 or 0x800f0993 — that incident has its own automatic repair and its own guide.
- Starting the repair reinstall on a work-managed PC and wondering why the option is missing — Microsoft says it is unavailable on managed devices.
- Turning the PC off mid-install because the percentage has not moved — an interrupted install is itself a failure code (0x80200056).
Frequently asked questions
What does Windows Update error 0x80070002 mean?
It means the system cannot find the file specified. Microsoft's upgrade and installation errors page lists 0x80070002 with exactly that meaning. For a failed update, work the ladder in order: restart the PC, run the Windows Update troubleshooter, clear the update cache, then repair system files with DISM first and SFC second.
What does Windows Update error 0x80240034 mean?
It means the operation did not complete because the download was interrupted. Microsoft's fix is to make sure you have a stable internet connection, restart the update process, and check for network issues or firewall settings blocking the update. A VPN to a work network can also be the cause: disconnect it and try again.
What does Windows Update error 0xC1900101 mean?
An error that begins with 0xC1900101 is usually a driver error. Microsoft's nine steps for it are: make sure the device has enough free space (16 GB for a 32-bit OS, 20 GB for a 64-bit OS); run Windows Update a few times; check third-party drivers on the manufacturer's website; unplug extra hardware; check Device Manager for devices with a yellow exclamation mark; remove third-party security software; repair hard-drive errors with chkdsk /f C:; do a clean boot; and repair system files with DISM.
My update is stuck at a percentage and has not moved. What do I do?
First, check whether it has actually failed: open Settings, then Windows Update, then Update history and look for an error code. If the percentage has not moved for a long time and the update then fails with 0x80240034, the download was interrupted, so restart the PC, check the connection is stable, and check for updates again. Do not turn the PC off mid-install: an interrupted install is itself a failure code (0x80200056).
The update installs, then says "Undoing changes. Don't turn off your computer." What now?
That message is a generic error, not a diagnosis. Microsoft says you need the specific error code to investigate how to fix the problem, and you find it in Settings, then Windows Update, then Update history: look for the update that was not installed and note its code. Then match that code in the table in this guide and work the fix for it.
Is it safe to delete the SoftwareDistribution folder?
Yes, done Microsoft's way. Microsoft Learn documents the quick reset as three commands from an elevated Command Prompt: net stop wuauserv, then rd /s /q %systemroot%\SoftwareDistribution, then net start wuauserv. That stops the Windows Update service, deletes the downloaded update files, and starts the service again, and Windows downloads the files again on the next check. Stop the service first: deleting the cache while the service is running can fail or leave the cache half-gone.
Will the repair reinstall delete my files or apps?
No. Microsoft says Fix problems using Windows Update reinstalls the same version of Windows already on your PC, repairs system files and components, and preserves your apps, files and settings. It needs Windows 11 version 22H2 or later with the February 2024 optional update or a later update installed, and it may be unavailable if your PC is managed by your work or school. Keep the PC connected to a power source and the internet for the whole reinstallation.
The failing update is KB5132061 with error 0x80070306. Is that the same thing?
No. That is a different, Microsoft-confirmed incident: the November 2026 security update KB5132061 fails to install on some PCs with errors 0x80070306, 0x800f0989 or 0x800f0993, and Microsoft is rolling out an automatic repair for it. See our guide on Windows 11 November Update KB5132061 Won't Install: Fix Errors 0x80070306, 0x800f0989 and 0x800f0993 instead of working this ladder.
Sources
Microsoft Support — Get help with Windows upgrade and installation errors (0xC1900101 is usually a driver error, with nine fix steps; 0x80240034 is an interrupted download; 0x80070002 is “the system cannot find the file specified”; the full error-code table, including 0x8007000d, 0x80070003, 0x80246007, 0x8024000B, 0x80070422, 0x80073712, 0xC1900223, 0x80200056, 0x800F0922 and 0xC1900107; the “Undoing changes” generic errors and the Update history path; 16 GB / 20 GB free space for an upgrade) · Microsoft Support — Windows Update Troubleshooter (the automated troubleshooter in the Get Help app on Windows 11; Settings > System > Troubleshoot > Other troubleshooters, Run next to Windows Update; restart when it finishes; run it again if the issue continues) · Microsoft Support — Using System File Checker in Windows (DISM first, then SFC; the exact commands; “The operation completed successfully” and “Verification 100% complete”) · Microsoft Support — Fix issues by reinstalling the current version of Windows (Fix problems using Windows Update reinstalls the same version, repairs system files and components, and preserves apps, files and settings; Settings > System > Recovery > Reinstall now; keep the PC on power and the internet; unavailable on managed PCs; needs Windows 11 22H2 or later with the February 2024 optional update) · Microsoft Learn — Additional resources for Windows Update (the quick reset: net stop wuauserv, rd /s /q %systemroot%\SoftwareDistribution, net start wuauserv; the fuller manual reset: stop BITS, Windows Update and Cryptographic services, rename DataStore, Download and catroot2 to .bak, re-register the update files, reset Winsock, restart the services) · Microsoft Update Catalog — catalog.update.microsoft.com (Microsoft’s own library of standalone update packages; search by KB number, match the row to your Windows version and processor, download the .msu) · Merroway — Windows 11 November Update KB5132061 Won’t Install: Fix Errors 0x80070306, 0x800f0989 and 0x800f0993 (live guide; the Microsoft-confirmed November incident and its automatic repair).
Did this fix work for you?
Your reaction is stored only in your own browser — it is not sent to us.