Fix Windows Update
Reset the components when updates stay stuck.
- Try the troubleshooter first: Settings → System → Troubleshoot → Other troubleshooters → Windows Update.
- Otherwise, in an administrator terminal, stop the services:
net stop wuauserv net stop bits
- Rename the download cache folder:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
- Restart the services:
net start wuauserv net start bits
- If the problem persists, repair the system image:
DISM /Online /Cleanup-Image /RestoreHealth sfc /scannow
- Search for updates again.