In the DataStore folder there's a file named DataStore.edb. That's the
file that shows the update history on the Windows/Microsoft Update
sites. Unfortunately, said file can become corrupted or damaged and
cause issues doing updates. So, you could try preserving that file by
copying it out of SoftwareDistribution\DataStore after stopping the AU
service, then delete ALL contents of the subfolders of SoftwareDistribution
Move DataStore.edb back to the DataStore subfolder
Restart the AU service
Now see if that resolved the issue
If it did not, the DataStore.edb is definitely the cause of the issue
If this is XP Home, stop the AU service first, then try running these
commands at a Command Prompt, pressing Enter after entering each one and
allowing the operations to complete prior to entering the next one -
esentutl /d %windir%\SoftwareDistribution\Datastore\datastore. edb
[This command defragments the DataStore.edb]
esentutl /r %windir%\SoftwareDistribution\Datastore\datastore. edb
[This command performs recovery, bringing all databases to a
consistent state]
esentutl /p %windir%\SoftwareDistribution\Datastore\datastore. edb
[ This command attempts to repair the damaged database ]
If the OS is XP Pro then you do not have to stop the AU service to run
the commands.
MowGreen [MVP 2003-2007]
===============
*-343-* FDNY
Never Forgotten
===============
Mesmurized wrote:
> This enabled update to work but had the unfortunate result of deleting all
> update history (stored in sub-dir DataStore). To recover the history I tried
> this: Stopped the service, copied the DataStore sub-dir (from Sdold) into
> the newly created Software Distribution dir, then re-enabled the service.
> Only 50% successful
The history returned, but the problem with update
> also returned.
>
> Q: Can the update history be successfully re-integrated?