Might try clearing out the \temp folders. Also try
sfc /scannow
dism /online /cleanup-image /restorehealth
also the manual steps here.
https://learn.microsoft.com/en-us/windows/deployment/update/windows-update-resources#reset-windows-update-components-manually
--please don't forget to Accept as answer
if the reply is helpful--