Potential errors in the Windows update database – Part 2

[German]In Part 1 I had taken up a reader's note that after Windows fails to install updates, there are potential errors in the Windows Update database which can't be repaired by Update trouble shooter. In part 2 I describe further diagnosis steps, a root cause for the issues and a repair approach.


Advertising

From Part 1 there was the suspicion that a driver install issues may be involved the Windows Update database error reported by the troubleshooter. The suspicion is: Does the troubleshooter report something wrong because the error is in the event logs?

Is the troubleshooter reporting something false?

For Andi, the findings from part 1 were followed by the question: "Is it conceivable that the troubleshooter reports "potential errors in the update database" as a false diagnosis and instead the text "potential errors in the event viewer" should be displayed?

Therefore he decided to selectively delete the event logs. This is not a problem, since the log could be saved before the events were deleted. And if any errors that occurs are logged as events again. Once the error is gone, no new entry is written in the event display, of course.

Event Viewer entries

The Event Viewer display is structured hierarchically. The entries relevant for the following test are located in the Windows Logs branch (see figure above). The entries are divided into various categories.


Advertising

The entries can be deleted in the Windows Logs branch of the Event Viewer running with administrative rights via the context menu or in the Action/Delete menu.

#1 Delete events under Application

In the first step, Andi deleted the entries in the Windows Logs\Application branch of the Event Viewer. Then the troubleshooter was executed. The result was the message: "potential errors in the Windows Update database", which was actually to be expected.

#2 Delete events under Security

In the next step, the entries in the Windows Logs\Security branch of the Event Viewer were deleted. Afterwards, the troubleshooter was performed, which returned the message: "potential errors in the Windows Update database". This was also to be expected, since errors in the update database should not have anything to do with security events.

#3  Delete events under Installation

There is another branch called Installation in the Event Viewer. This should be a 'hot candidate' for a test, as it's where problems that occur during the installation of components in Windows are entered. So in a further step in the Event Viewer, delete the entries in the Windows Logs\Installation branch.

Then the Windows Update troubleshooter was launched to analyze the data base for errors. And Bingo, there was a change! The troubleshooter suddenly reported: "The problem could not be identified by the troubleshooter" (see figure below).

Note: In the following text, Andi suggests deleting the entries in the System branch instead of the Installation branch. My recommendation here would be to successively delete the individual branches under Windows Logs, if necessary.

Verifying the process again

After these steps Andi decided to run all tests again to document this. In the German screenshots below, he shows the date and time in the background (taken from as time service).

Start with no Windows Update database error

The test was started in a state that the troubleshooter does not report an error in the Windows Update database.

Windows Update-Problemebehandlung mit nicht identifiziertem Fehler

So first, Andi checked what the troubleshooter determines about the state of the update database. This ended with the result shown in the figure above. The troubleshooter reported: "The problem could not be identified by the troubleshooter".

Uninstalling and reinstalling drivers

Then Andi uninstalled the Intel Wireless Bluetooth driver in Device Manager (see the following figure).

Treiber im Geräte-Manager deinstallieren

He then had Windows Update check for updates. During this step a driver should be found and installed.

Bluetooth-Treiber-Update

A driver was found (see figure above) and he had it installed. Then it was checked whether the Bluetooth driver was installed.

Treiber im Geräte-Manager prüfen

Check the update database for errors

Exciting question: What does the troubleshooter will report after installing the Bluetooth driver initiated by Windows Update?

Problembehandlung meldet Fehler in Windows Update

The troubleshooter reports again and as expected, an error in the Windows Update database.

''Repair' the update database via the Event Viewer

So the next step is to repair the Windows Update database by 'Delete the event logs'. To do this, you can access the event viewer by either searching the taskbar or right-clicking on the Windows logo in the left corner of the taskbar, followed by a left-click on "Event Viewer".

Ereignisanzeige: Protokolle leeren

Then double-click on the Windows Logs branch in the left column. Right-click on System to open the context menu and choose the context menu command Delete Log… is selected. Confirm the deletion in the dialog box shown.

Andi wrote: The cmd window unfortunately disappeared after clicking on the event viewer. Therefore no proof of the Windows version is possible here. And he deleted here entries in System instead of Installation. It's mandatory to try, which Event viewer branch need to be deleted to fix the database error.

Repair of the Windows Update database was successful after this step, as the troubleshooting diagnosis for Windows Update shows afterwards.

This proved that the diagnosis of the Windows Update troubleshooter reported false results and can't fix broken things.

Conclusion of the whole action

Anyone running into issues with Windows Update on Windows 10 and is using the Windows Update troubleshooter, must remain vigilant. If the troubleshooter reports errors in the Windows Update database that can't be fixed, they might be the result of corresponding entries in the event logs.

Anyone who gets into this situation should try to clear the logs in the Event Viewer under Windows Update. The procedure has been described above in detail – and this clearing has no consequences for Windows functionality (only entries that could be used for troubleshooting are gone – and this can be prevented by saving the entries before deleting them).

Andi was successful with approach in Windows 10 version 1803. This approach should help with "potential errors in the Windows update database" even with newer versions of Windows 10. At this point my thanks to Andi for the extensive testing and preparation, so that I could publish this in this blog post.

Article series:
Potential errors in the Windows update database – Part 1
Potential errors in the Windows update database – Part 2

Similar articles
How to decode Windows errors?
Windows 10: Analyze upgrade errors
Windows: How to decode update 0x8024…. errors
Check and repair Windows system files and component store
Windows Update Error 0x80246001
Windows Update Error 0x8007042B
Windows Update error 0x8024200D


Cookies helps to fund this blog: Cookie settings
Advertising


##1

This entry was posted in issue, Update, Windows and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *