Safe to Delete

SoftwareDistribution DataStore Folder (DataStore.edb)

Quick Answer: DataStore.edb stores Windows Update history and database logs. Deleting DataStore is safe and resolves Windows Update database bloat.

Bottom Line: You can safely clear the DataStore folder and DataStore.edb file after stopping the Windows Update service. Clearing it will reset your Windows Update history list, but will not harm your PC or un-install any updates.


What is the SoftwareDistribution DataStore Folder?

Located at C:\Windows\SoftwareDistribution\DataStore, this subfolder contains DataStore.edb, an ESE database file used by Windows Update.

Windows Update uses DataStore.edb to record:

  • Update History: The list of past Windows updates, security patches, and driver updates installed on your PC.
  • Scan Cache: Temporary database records used when checking Microsoft servers for new updates.

Over time, as Windows Update runs continuously, DataStore.edb can expand to 3 GB, 5 GB, or 10 GB+, often causing high CPU usage by SYSTEM or svchost.exe.


Can You Delete DataStore.edb?

✅ Yes, it is safe to clear.

  • Updates remain installed: Removing DataStore.edb does NOT roll back or uninstall any existing Windows updates.
  • Auto-rebuilds: Windows Update will automatically generate a fresh, small DataStore.edb database the next time it checks for updates.
  • Only trade-off: Your past update history list in Settings > Windows Update > Update History will be reset to clear.

How to Safely Clean Up DataStore.edb

Method 1: Delete via Command Prompt (Admin)

  1. Open Start, search cmd, right-click Command Prompt, and select Run as administrator.
  2. Stop the Windows Update service:
    net stop wuauserv
  3. Delete the contents of the DataStore directory:
    del /f /q C:\Windows\SoftwareDistribution\DataStore\*.*
  4. Restart the Windows Update service:
    net start wuauserv

Discussion

Loading authentication...

Related in windows

Chia Blockchain Mainnet Database (~/.chia/mainnet/db)

The Chia mainnet db folder stores full node blockchain blocks (blockchain_v2_mainnet.sqlite). Deleting forces re-sync.

Use Caution

How to Force Delete a Locked File or Folder in Windows 11 / 10

Fix 'The action cannot be completed because the file is open in another program' with Command Prompt, PowerShell, and Task Manager.

Safe to Delete

Why Is My Hard Drive Full But No Files Are Showing? (Hidden Bloat Solved)

Fix hard drives that appear full despite selecting all files showing low storage. Discover hidden shadow copies, System Volume Information, and pagefiles.

Safe to Delete
Back to all files