Windows 10 22H2 update failed to install: how to fix it
There is no single "22H2 failed" error. Windows shows a specific hex code, and that code points to the cause: a damaged update cache, low disk space, corrupt system files, security software or a driver. Start with the basics (restart, free 20 GB, clear the update cache), then repair system files with DISM and SFC.
On this page
What it means
When the update to Windows 10, version 22H2 fails, Windows usually tells you in one of two ways. Either Windows Update shows "Failed to install" with a hex code, or the PC restarts, says "We couldn't complete the updates, undoing changes", and goes back to where it was. The same happens with later cumulative updates on 22H2.
The important part is the code. 22H2 does not have one error of its own, so the fix depends on which code you see. The most common ones are listed below with the cause behind them. If your code is not listed, the generic steps (clear the update cache, DISM and SFC, then reading CBS.log) are the right place to start.
If your PC is on version 2004, 20H2, 21H1 or 21H2, 22H2 arrives as a small enablement package (KB5015684) and needs a recent servicing stack update plus the July 2022 cumulative update (KB5015878, build 19041.1865) or later already installed. On version 1909 or earlier you get the full feature update instead.
Symptoms and causes
You are likely dealing with this problem if:
- Windows Update shows "Failed to install" for Feature update to Windows 10, version 22H2, usually with a code starting 0x.
- The PC restarts, shows "We couldn't complete the updates, undoing changes", and returns to the old version.
- The same update is offered again and again after each failure.
C:\Windows\Logs\CBS\CBS.logcontains the error code.
The usual causes, most common first:
- Corrupt or incomplete download, or a damaged update cache
- Microsoft's advice is to download the update again after clearing the cache.
- Not enough free disk space
- Code 0x800f0922 can come from low space. Microsoft asks for 20 GB free on 64-bit Windows and 16 GB on 32-bit. An active VPN is also listed as a cause of 0x800f0922.
- Component store or system file corruption
- Microsoft's Common Windows Update errors page lists 0x800f081f, 0x80073701, 0x800f0831 and 0x80070570 for this. DISM and SFC are the intended repair.
- Third-party antivirus or filter drivers
- Codes 0x80070020 and 0x80240022 can mean security software is blocking files the update needs.
- Permissions, stopped services or connection problems
- 0x80070005 (access denied), 0x80070422 (Windows Update service not running), and 0x800705b4 or 0x80072EFE (connection or firewall interruptions).
- Pending restart or stuck servicing transaction
- Codes 0x80070BC9 and 0x80242014. An earlier update left something half finished.
- Missing prerequisites for the enablement package
- The PC lacks the servicing stack update from September 2020 or later, or the July 2022 cumulative update (KB5015878) or later.
How to fix it
Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.
1.Do the basic checks and run the troubleshooter
Many failures come from a small thing: low space, a USB device, a VPN or a wrong clock. These steps cost nothing.
- Restart the PC, plug in the charger if it is a laptop, and make sure you are online.
- Sign in with an administrator account.
- Unplug non-essential USB drives, docks and other external devices.
- Disconnect any VPN.
- Free up at least 20 GB on the system drive, and update third-party drivers from your PC maker.
- Open Settings > Update & Security > Troubleshoot > Additional troubleshooters, select Windows Update, then Run the troubleshooter. Restart and try the update again.
2.Clear the Windows Update cache
A damaged or partial download keeps failing until the cached files are removed. It is also a sensible generic step for codes with no specific explanation.
Before you start: This only removes downloaded update files, which Windows fetches again. Your documents are not touched. Close other programs first.
- Open Command Prompt as administrator and stop the update services.
net stop wuauserv net stop bits - In File Explorer, open
C:\Windows\SoftwareDistributionand delete everything inside it (not the folder itself). - Start the services again.
net start wuauserv net start bits - Restart, then check for updates again in Settings > Update & Security > Windows Update.
3.Repair system files with DISM and SFC
Codes 0x800f081f, 0x80073701, 0x800f0831 and 0x80070570 are listed by Microsoft for a damaged component store. These built-in tools repair it, and they are also a reasonable generic step for unexplained codes. DISM needs an internet connection and can take a while.
- Open Command Prompt as administrator and run DISM first. Let it finish even if it seems stuck for a few minutes.
DISM.exe /Online /Cleanup-Image /RestoreHealth - Then run System File Checker.
sfc /scannow - Restart the PC and retry the update.
4.Check the disk for errors
File system errors can make files unreadable during the update.
Before you start: Back up important files first. Windows may ask to schedule the scan for the next restart because the system drive is in use.
- In an administrator Command Prompt, run the check and accept the prompt to run it at next restart.
chkdsk /f C: - Restart, wait for the scan to finish, then retry the update.
5.Rule out security software and drivers
Third-party antivirus can block update files (0x80070020, 0x80240022).
Before you start: If you remove security software to test, install it again as soon as the update has run. Do not leave the PC without protection longer than needed.
- Temporarily uninstall your third-party security software using its own uninstaller, and retry the update.
- Reinstall or re-enable your security software afterwards.
6.Fix service and permission problems
Applies to 0x80070422 (update service not running) and 0x80070BC9 (services forced to a startup type by policy).
Before you start: Changing Group Policy on a work or school PC may be restricted by your administrator. Ask them first on managed devices.
- For 0x80070422, press WinR, type
services.msc, and open Windows Update. Set Startup type to Automatic and select Start. - For 0x80070BC9, check that TrustedInstaller (Windows Modules Installer) and Windows Installer are not forced to a startup type by Group Policy, then restart and retry.
7.Use Microsoft's download tool or ISO, then consider your future options
This is a last resort when the built-in repair steps fail. Use only Microsoft's own Windows 10 download.
Before you start: A clean install erases the system drive. Back up your files and note your software licences first.
- Download Windows 10 installation media from Microsoft's official site and try the upgrade from it. If you choose a clean install, back up everything first.
Check that it worked
- Open Settings > Update & Security > Windows Update and check there is no failed update listed.
- Restart once more and make sure Windows does not roll back.
If it still fails
- Write down the exact hex code and search for it on Microsoft Learn's "Common Windows Update errors" page, which explains what each one means.
- Look in
C:\Windows\Logs\CBS\CBS.logfor the error around the time of the failure. - Contact Microsoft Support, or your IT department on a work PC, with the code and log details.
Questions
Do I lose my files if the update rolls back?
A rollback returns Windows to the previous state, so your files and apps should still be there. Back up important data before retrying anyway.
Sources
- Troubleshoot problems updating WindowsOfficial · Microsoft Support
- Common Windows Update errorsOfficial · Microsoft Learn
- Windows 10, version 22H2 known issues and notificationsOfficial · Microsoft Learn
- KB5015684: Enablement package for Windows 10 version 22H2Official · Microsoft Support