Syntaxfeed

[Demo] Fix Windows Update Error 0x80070002 Without Losing Apps

Ermine1 min read
Administrator Windows PowerShell console running DISM component store repair

Clear stalled SoftwareDistribution caches and verify component store integrity when Windows Update fails with 0x80070002.

Quick Answer

Error 0x80070002 appears when Windows Update expects a downloaded payload inside C:\Windows\SoftwareDistribution that is missing or unreadable. Stopping update services, renaming the cache folder, and running DISM resolves the error without removing installed apps.

net stop wuauserv
net stop bits
Rename-Item -Path "$env:SystemRoot\SoftwareDistribution" -NewName "SoftwareDistribution.bak"
net start bits
net start wuauserv
DISM /Online /Cleanup-Image /RestoreHealth

Sources & Primary References

Ermine

View all →