Fix 1: Run DISM to Repair Windows Image
The Deployment Image Servicing and Management (DISM) tool repairs the Windows component store — the underlying source that SFC and Windows Update both rely on. If the component store itself is damaged, SFC and the Update Troubleshooter cannot fix the problem on their own. DISM reaches out to Windows Update servers to pull down uncorrupted replacement files.Open Command Prompt as Administrator
Check the image health
Restore the Windows image
Restart and run Windows Update
Fix 2: Reset Windows Update Components Manually
Sometimes the Windows Update services and associated folders become locked in a broken state that automated tools cannot fix. Manually stopping all related services, renaming the corrupted cache folders, and restarting the services gives Windows Update a completely clean slate.Open an elevated Command Prompt
Stop all Windows Update related services
Retry Windows Update
Fix 3: Re-register Windows Update DLLs
Corrupted or unregistered Windows Update DLL files can prevent the update service from functioning correctly, triggering error 0x80070002. Runningregsvr32 against each of these files forces Windows to re-register them, restoring the component linkages that the update process depends on.
Open Command Prompt as Administrator
Re-register all Windows Update DLL files
Restart your PC
Run Windows Update
Fix 4: Check and Repair Registry Entries
Damaged or missing registry entries in the Windows Update configuration key can cause error 0x80070002. You can inspect and correct these entries using the Registry Editor. Navigate to the following key in Registry Editor:AccountDomainSid, PingID, and SusClientId are present and correctly formed. If you see any values that appear blank, contain garbled characters, or are missing entirely compared to a reference system, delete the affected values and allow Windows Update to regenerate them automatically on its next run. After making any changes, close Registry Editor and restart your PC before testing Windows Update again.
Fix 5: Perform a Windows Repair Install (In-place Upgrade)
A Windows repair install — also called an in-place upgrade — reinstalls Windows system files over your existing installation while keeping all your personal files, apps, and settings intact. This is one of the most thorough fixes available because it replaces every core Windows file without requiring you to back up and restore your data.Download the Windows Media Creation Tool
Choose 'Upgrade this PC now'
Select 'Keep personal files and apps'
Complete the upgrade
Fix 6: Reset Windows Update via PowerShell Script
If you prefer to run a single script that handles service management and cache clearing in one pass, use the following PowerShell commands. Open PowerShell as Administrator (Win + X → Windows Terminal (Admin)) and run the block below:Frequently Asked Questions
Will these fixes delete my personal files?
Will these fixes delete my personal files?
How long does DISM take to run?
How long does DISM take to run?
CheckHealth command completes in under a minute. The RestoreHealth command typically takes 20–45 minutes on average, though it can take longer on slower internet connections or heavily damaged installations. Keep your PC plugged in and connected to the internet while it runs.What if none of these fixes work?
What if none of these fixes work?