What is DataStore.edb and is it safe to delete?

What is DataStore.edb?

The DataStore.edb file is some kind of log file, it keeps the history of Windows updates and it is located under SoftwareDistribution folder (C:WindowsSoftwareDistributionDataStoreDataStore.edb). Its size will grow for every Windows Update check.

Is it safe to delete?

Yes, it is safe to delete, but the next time when Windows checks for updates, it will basically start from scratch and check everything. There’s no point in deleting DataStore.edb since it will just be rebuilt the next time Windows checks for updates. If you are just looking for stuff to delete you can empty the SoftwareDistributionDownload folder.

You can also refer following links for more information: 

http://superuser.com/questions/539411/pc-boots-then-writes-giant-datastore-edb-file-slowing-the-computer-down
https://in.answers.yahoo.com/question/index?qid=20110218143222AA4lzw4
http://juneyourtech.blogspot.com/2013/06/datastoreedb-and-windows-vista.html

Advertisement

5 thoughts on “What is DataStore.edb and is it safe to delete?”

  1. I installed only about 10 network-related updates on a fresh system (they should have partly overwritten one another and consumed very little additional space – ideally) but Datastore.edb had grown over 500 MB. For no practical reason, this file is in text/xml format. On top of that, it is in Unicode and thus double the size it would otherwise be, even though the file only stores technical identifiers and not natural language. If this isn't an example of BLOAT then nothing is. Microsoft can't excuse themselves with "hardlinks" here.

    Since I don't intend to further update my system (and grow the winsxs directory, and risk installing unwanted nagware like GWX), it makes sense to stop the Windows Update service and delete this file. I also deleted everything under Download.

    Reply
  2. Hi Mr. Morgan.

    Here, Win7.

    I'm game. I wanted to see what would happen if I deleted DataStore.edb and then have it rebuild itself.

    I found out from a technet.microsoft.com article that you have to 1) Stop the Update Service and then restart it, and THEN 2) Run Windows Update. Only then will the .edb file spontaneously rebuild. You can have the SoftwareDistribution folder open and watch the file start to build up immediately as soon as you start Windows Update as Step 2).

    https://social.technet.microsoft.com/Forums/ie/en-US/d1816c14-f953-4068-b3f0-e49558fe0845/datastoreedb-file

    Let's say you delete the file, and then you run Windows Update without first toggling the service off-and-on, then the file won't rebuild. At least it didn't for me.

    My 9-year-old DataStore.edb file was originally 1.8 GB. After deleting it and letting it rebuild, it was down to 1.6 GB. A little savings.

    At one point, I got scared and tried to move the old file from the Recycle Bin back to its original location. Windows told me that I don't have permission to do that, or something like that, even though I'm running an administrator account. I hate it when windowz does that. So I'm glad when the file actually started to rebuild, like magic.

    Windows 7 is dead; long live Windows 7.

    Reply

Leave a Comment