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.edbdoes NOT roll back or uninstall any existing Windows updates. - Auto-rebuilds: Windows Update will automatically generate a fresh, small
DataStore.edbdatabase 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)
- Open Start, search
cmd, right-click Command Prompt, and select Run as administrator. - Stop the Windows Update service:
net stop wuauserv - Delete the contents of the DataStore directory:
del /f /q C:\Windows\SoftwareDistribution\DataStore\*.* - Restart the Windows Update service:
net start wuauserv
Related Guides
- Learn about cleaning SoftwareDistribution Download files.
- How to clean up WinSxS Component Store.
- Check if you can clean Catroot2 folder.
Discussion
Loading authentication...