Follow the steps in order and make one change at a time. Back up important files or settings before any reset, registry, firmware, or administrator-level action.
Run the troubleshooter
- Open Settings → System → Troubleshoot → Other troubleshooters.
- Run Windows Update, restart, and try again.
Repair Windows files
Open Terminal as Administrator and run:
DISM /Online /Cleanup-Image /RestoreHealth; sfc /scannowReset the update cache
In Terminal (Admin), run each command separately:
net stop wuauserv; net stop bits; net stop cryptsvc; ren C:\Windows\SoftwareDistribution SoftwareDistribution.old; ren C:\Windows\System32\catroot2 catroot2.old; net start cryptsvc; net start bits; net start wuauservRestart and retry. Windows recreates the cache automatically.
If Windows will not boot
In Windows Recovery Environment, choose Troubleshoot → Advanced options → Uninstall Updates. Remove the latest quality update first.
Frequently Asked Questions
Will this remove files?
No. It resets update components only.
Check the failed KB and error code before resetting more components
Open Settings → Windows Update → Update history and note the KB number and any error code. If one specific update keeps failing while other updates install normally, investigate that update instead of repeatedly resetting the whole Windows Update stack.
Check free space and the system drive
An update can download successfully but fail during installation when the system drive is nearly full or the file system has problems. Free temporary space, restart once, and confirm the drive is not reporting errors before retrying a large feature or cumulative update.
Try a manual installation only for the exact failed update
For a normal Microsoft update with a known KB number, the Microsoft Update Catalog can sometimes bypass a damaged Windows Update download path. Match the package to the correct Windows version and architecture.
When an in-place repair makes more sense
If Windows Update continues to loop after DISM, SFC, cache repair and a clean restart, an in-place repair installation may be safer than repeatedly deleting update folders. Back up important data first.
How to verify the problem is fixed
- Restart Windows normally.
- Open Windows Update and check again.
- Confirm the failed KB shows as installed or is no longer offered.
- Restart once more and confirm Windows does not roll back to the same loop.