Software updates

0x80240022: The operation failed for all the updates

Every update in the batch failed to install. This is a summary code, so the real error for each update is in the logs.

Hex code0x80240022
Decimal-2145124318
NameWU_E_ALL_UPDATES_FAILED
Logs to readWUAHandler.log, UpdatesHandler.log, UpdatesDeployment.log, CBS.log, WindowsUpdate.log

What 0x80240022 means

The Windows Update Agent tried a group of updates and none of them installed. You see the code in Software Center and in the deployment status under Monitoring.

This code is a summary. It does not name the real problem. Each update in the batch has its own error, and you must find that one.

Common causes

  • Each update failed with its own error, such as a damaged component store.
  • A pending restart blocks every new install.
  • The downloaded files in the SCCM cache are missing or damaged.
  • The drive is too full to unpack the updates.
  • The Windows Update service or Windows Modules Installer is not healthy.

How to fix 0x80240022

  1. Find the real error for each update

    Open WUAHandler.log and UpdatesHandler.log in C:\Windows\CCM\Logs. Search for the time of the failure. Note the error code next to each update. Then open C:\Windows\Logs\CBS\CBS.log and search for the KB number. Fix that code, not this one.

  2. Restart and retry

    Restart the computer to clear any pending operations. Then select Install in Software Center again. If one update now installs, the pending restart was the block.

  3. Test one update by itself

    Deploy a single failing update to one test client. A batch hides which update breaks first. One update gives one clear error in the logs.

  4. Check disk space and the cache

    Make sure drive C has several gigabytes free. If the content looks damaged, delete the update from the SCCM cache through the Configuration Manager control panel, Cache tab. The client downloads it again on the next attempt.

  5. Repair the component store

    If CBS.log shows corruption, run the repair commands below from an elevated prompt. Restart, then retry the updates.

Commands that help

Repair the Windows component store · Command Prompt
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
Got a different code?

Turn any hex or decimal error code into its meaning, or search every code on this site.

Error code lookup All SCCM error codes

✉

Get new articles in your inbox

SCCM guides, AI tools, automation tips — sent when published. No spam.