0x80240022
Microsoft Windows Update
Severity: ModerateWhat Does This Error Mean?
Windows Update error 0x80240022 means Windows Update encountered an error while trying to search for or apply updates — typically because another update-related process is already running. The error code translates to WU_E_ALL_UPDATES_FAILED — all operations failed. This often happens when Windows Update services are in a conflicted or stuck state.
Affected Models
- Windows 10
- Windows 11
- Windows Server editions
Common Causes
- Windows Update services are stuck or in a corrupted state
- Another software installation or update (like Microsoft Office or a driver update) is running simultaneously
- The Windows Update database (datastore) has become corrupted
- Background apps are interfering with the Windows Update process
- A previous update attempt left Windows Update in a broken state
How to Fix It
-
Wait 10–15 minutes and try Windows Update again. Another installer may be finishing — 0x80240022 sometimes clears on its own once other processes complete.
Antivirus signature updates, Microsoft Office updates, and driver updates can all conflict with Windows Update if they run simultaneously.
-
Restart your computer fully and try Windows Update again before doing anything else.
A fresh restart clears stuck processes and often resolves 0x80240022 instantly.
-
Run the Windows Update Troubleshooter: Settings > System > Troubleshoot > Other troubleshooters > Windows Update > Run.
This automatically resets stuck Windows Update services and clears common error states.
-
Reset Windows Update components manually. Open Command Prompt as Administrator and run these commands one at a time: net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old net start wuauserv net start cryptSvc net start bits net start msiserver
This stops all update services, renames the old cache folder, and restarts the services fresh.
-
After running the commands, go to Settings > Windows Update and check for updates again.
Windows will create a new SoftwareDistribution folder and start fresh. The first scan may take a few minutes longer than usual.
When to Call a Professional
If resetting Windows Update services and clearing the cache do not fix 0x80240022, a system file repair or Windows reset may be needed. Contact a technician if you are uncomfortable running repair commands or if the issue persists after all steps.
Frequently Asked Questions
Why does 0x80240022 show on every update attempt?
If 0x80240022 appears consistently, the Windows Update component store or database is likely corrupted. The reset commands in Step 4 usually fix this. If they do not, running DISM /Online /Cleanup-Image /RestoreHealth repairs the underlying Windows image.
Is it safe to rename the SoftwareDistribution folder?
Yes — renaming it (not deleting it) is the standard Microsoft-recommended method to reset the update cache. Windows creates a new folder automatically. The renamed folder can be deleted later once updates are working correctly.
How long do the Windows Update reset commands take to run?
Each net stop and net start command takes about 5–15 seconds. The rename command is nearly instant. The full sequence takes 1–3 minutes to complete. After restarting the services, the first update scan takes a few minutes longer than normal as Windows rebuilds its data.