On Windows 11, the “Windows Update database error” means Windows has lost track of its own updates. Every update check consults a local database — the DataStore, download metadata, package registrations — to decide what is installed, what is available, and what each package requires. When that database corrupts, the symptoms are distinctive: update checks fail outright, the troubleshooter reports a database error it may or may not fix, and error codes like 0x80070490 appear. Your actual installed updates are untouched; it is the record-keeping that broke.
The corruption triggers are well known: updates interrupted by force reboots, disk errors, third-party cleaner tools deleting update files, antivirus quarantines, and — on aging laptops — failing drives. The repair is a rebuild: clear the corrupted database, let Windows reconstruct it from clean metadata, and fix whatever corrupted it so it stays fixed. The seven steps below go from the quick rebuild to the deep repairs for stubborn cases.
Why this happens
- Interrupted updates. Force reboots mid-install leaving the database half-written.
- Disk errors. Bad sectors or file-system damage in the database files.
- Cleaner tool damage. Third-party optimizers deleting update database files.
- Antivirus quarantine. Update components misidentified and removed.
- DataStore corruption. The DataStore.edb file damaged beyond self-repair.
- Service registration issues. The update engine’s own registration data inconsistent.
- Failing storage. Hardware-level damage re-corrupting rebuilt databases.
How to fix it
Work through these in order — diagnose first, then act.
Fix 1: Run the troubleshooter and capture the details
Start automated, but collect the evidence you will need for manual repair.
- Run Settings > System > Troubleshoot > Other troubleshooters > Windows Update.
- Note whether it reports the database error as detected-and-fixed or detected-but-unfixed.
- Check Settings > Windows Update > Update history for the error code on recent failures (0x80070490 is the signature database code).
- If the troubleshooter fixed it, run a manual update check to confirm. An unfixed detection means the corruption exceeds automated repair — the manual rebuild in Fix 2 is next.
Fix 2: Rebuild the update database (the core repair)
Delete the corrupted database files and let Windows reconstruct them cleanly.
- Open Terminal as administrator (right-click Start > Terminal (Admin)).
- Stop the services:
net stop wuauserv net stop bits net stop cryptsvc net stop msiserver - Rename the database folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old - Restart all four services and check for updates. The first check is slower while metadata re-downloads. This single procedure fixes the large majority of database errors — if it worked, skip to Fix 7’s prevention notes.
Fix 3: Verify disk health
A corrupted database can be a symptom of a sick disk. Check the hardware.
- Run
chkdsk C: /f /relevated — reboot to let it run if prompted; allow up to an hour on large drives. - Check SMART:
wmic diskdrive get status— anything but “OK” means replace the drive. - Review chkdsk’s results for bad sectors in Windows system areas — repaired sectors there explain the corruption.
- If the disk is healthy and this was a one-time event after an interrupted update, the cause was the interruption, not hardware. If corruption recurs after Fix 2’s clean rebuild, treat the drive as suspect and back up immediately.
Fix 4: Re-register update engine components
Sometimes the database files are fine but the engine reading them is broken. Re-register its DLLs.
- In an elevated prompt, run:
regsvr32 wuapi.dll regsvr32 wuaueng.dll regsvr32 wups.dll regsvr32 wuwebv.dll - Confirm each success dialog before continuing.
- Reset BITS:
bitsadmin /reset /allusers. - Restart and check for updates. This fixes the cases where the troubleshooter reports database errors that survive a cache rebuild — the reader was broken, not the book.
Fix 5: Repair the component store with DISM
Deep corruption that survives cache rebuilds and re-registration lives in the component store.
- Run
DISM /Online /Cleanup-Image /RestoreHealthelevated (15–30 minutes, uninterrupted). - Follow with
sfc /scannowto 100%. - Restart, then redo the Fix 2 cache rebuild — healthy store first, fresh database second, in that order.
- If DISM needs a source, mount a Windows 11 ISO from Microsoft’s software download page
and use
/Source:. For the full store-repair context, our servicing stack guide covers the related machinery.
Fix 6: Eliminate the corruption source
A rebuilt database re-corrupts if the cause is still active. Remove it.
- Uninstall third-party cleaner/optimizer tools — the leading deleters of update database files.
- Test with third-party antivirus real-time protection temporarily disabled; if updates succeed, add permanent exclusions for update paths or switch to Windows Security.
- Commit to never force-rebooting during updates — interruptions are the most common corruption cause and the most avoidable.
- After removing the cause, rebuild the cache once more (Fix 2) so the new database is born clean. Our troubleshooter repair guide covers the diagnostic tools for verifying the pipeline stays healthy.
Fix 7: In-place upgrade for unkillable corruption
When the database error survives every targeted repair, rebuild Windows around your data.
- Back up important files first — the process preserves them, but verify the backup.
- Download the Windows 11 ISO from Microsoft’s software download page
, mount it, run
setup.exe, and choose Keep personal files and apps. - Let the upgrade complete — it reinstalls every system component, including the entire update database infrastructure.
- Verify with a manual update check. Corruption cannot survive an in-place upgrade; if errors persist past this point, the storage hardware is at fault (return to Fix 3 and plan a drive replacement).
Closing
The Windows 11 update database error is corrupted bookkeeping with a reliable fix sequence: rebuild the cache, check the disk, re-register the engine, repair the store, and eliminate whatever caused the corruption. The cache rebuild alone resolves most cases in minutes. And the long-term prevention is behavioral — no interrupted updates, no cleaner tools near system files, healthy disks — so the database stays clean and updates stay boring.
