{"id":13974,"date":"2020-04-07T00:02:00","date_gmt":"2020-04-06T22:02:00","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=13974"},"modified":"2020-04-06T17:05:19","modified_gmt":"2020-04-06T15:05:19","slug":"potential-errors-in-the-windows-update-database-part-2","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2020\/04\/07\/potential-errors-in-the-windows-update-database-part-2\/","title":{"rendered":"Potential errors in the Windows update database &#8211; Part 2"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline\" src=\"https:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2015\/01\/win102.jpg\" width=\"58\" align=\"left\" height=\"58\">[<a href=\"https:\/\/www.borncity.com\/blog\/2020\/04\/06\/potentielle-fehler-in-der-windows-update-datenbank-teil-2\/\" target=\"_blank\" rel=\"noopener noreferrer\">German<\/a>]In <a href=\"https:\/\/borncity.com\/win\/2020\/04\/06\/potential-errors-in-the-windows-update-database-part-1\/\" target=\"_blank\" rel=\"noopener noreferrer\">Part 1<\/a> 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. <\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/vg08.met.vgwort.de\/na\/b7f03e1d0b484a95980cc6120f760a34\" width=\"1\" height=\"1\">From <a href=\"https:\/\/borncity.com\/win\/2020\/04\/06\/potential-errors-in-the-windows-update-database-part-1\/\" target=\"_blank\" rel=\"noopener noreferrer\">Part 1<\/a> 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?<\/p>\n<h2>Is the troubleshooter reporting something false?<\/h2>\n<p>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?<\/p>\n<p>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. <\/p>\n<p><img decoding=\"async\" title=\"Event Viewer entries\" alt=\"Event Viewer entries\" src=\"https:\/\/i.imgur.com\/WQSvIuS.jpg\"><\/p>\n<p>The Event Viewer display is structured hierarchically. The entries relevant for the following test are located in the <em>Windows Logs<\/em> branch (see figure above). The entries are divided into various categories. <\/p>\n<p>The entries can be deleted in the <em>Windows Logs<\/em> branch of the Event Viewer running with administrative rights via the context menu or in the <em>Action\/Delete<\/em> menu.<\/p>\n<h3>#1 Delete events under Application<\/h3>\n<p>In the first step, Andi deleted the entries in the <em>Windows Logs\\Application<\/em> 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. <\/p>\n<h3>#2 Delete events under Security<\/h3>\n<p>In the next step, the entries in the <em>Windows Logs\\Security<\/em> 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.<\/p>\n<h3>#3&nbsp; Delete events under Installation<\/h3>\n<p>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 <em>Windows Logs\\Installation<\/em> branch. <\/p>\n<p>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).<\/p>\n<blockquote>\n<p>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.<\/p>\n<\/blockquote>\n<h2>Verifying the process again<\/h2>\n<p>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). <\/p>\n<h3>Start with no Windows Update database error<\/h3>\n<p>The test was started in a state that the troubleshooter does not report an error in the Windows Update database. <\/p>\n<p><img decoding=\"async\" title=\"Windows Update-Problemebehandlung mit nicht identifiziertem Fehler\" alt=\"Windows Update-Problemebehandlung mit nicht identifiziertem Fehler\" src=\"https:\/\/i.imgur.com\/aixN9Hp.jpg\"><\/p>\n<p>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\". <\/p>\n<h3>Uninstalling and reinstalling drivers<\/h3>\n<p>Then Andi uninstalled the Intel Wireless Bluetooth driver in Device Manager (see the following figure). <\/p>\n<p><img decoding=\"async\" title=\"Treiber im Ger&auml;te-Manager deinstallieren\" alt=\"Treiber im Ger&auml;te-Manager deinstallieren\" src=\"https:\/\/i.imgur.com\/vxfUEom.jpg\"><\/p>\n<p>He then had Windows Update check for updates. During this step a driver should be found and installed. <\/p>\n<p><img decoding=\"async\" title=\"Bluetooth-Treiber-Update\" alt=\"Bluetooth-Treiber-Update\" src=\"https:\/\/i.imgur.com\/CLOzCvt.jpg\"><\/p>\n<p>A driver was found (see figure above) and he had it installed. Then it was checked whether the Bluetooth driver was installed. <\/p>\n<p><img decoding=\"async\" title=\"Treiber im Ger&auml;te-Manager pr&uuml;fen\" alt=\"Treiber im Ger&auml;te-Manager pr&uuml;fen\" src=\"https:\/\/i.imgur.com\/0mTMCJC.jpg\"><\/p>\n<h3>Check the update database for errors<\/h3>\n<p>Exciting question: What does the troubleshooter will report after installing the Bluetooth driver initiated by Windows Update? <\/p>\n<p><img decoding=\"async\" title=\"Problembehandlung meldet Fehler in Windows Update\" alt=\"Problembehandlung meldet Fehler in Windows Update\" src=\"https:\/\/i.imgur.com\/mxJrsh4.jpg\"><\/p>\n<p>The troubleshooter reports again and as expected, an error in the Windows Update database. <\/p>\n<h3>''Repair' the update database via the Event Viewer<\/h3>\n<p>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\". <\/p>\n<p><img decoding=\"async\" title=\"Ereignisanzeige: Protokolle leeren\" alt=\"Ereignisanzeige: Protokolle leeren\" src=\"https:\/\/i.imgur.com\/a5qhF3h.jpg\"><\/p>\n<p>Then double-click on the <em>Windows Logs<\/em> branch in the left column. Right-click on <em>System<\/em> to open the context menu and choose the context menu command <em>Delete Log<\/em>&#8230; is selected. Confirm the deletion in the dialog box shown.<\/p>\n<blockquote>\n<p>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. <\/p>\n<\/blockquote>\n<p>Repair of the Windows Update database was successful after this step, as the troubleshooting diagnosis for Windows Update shows afterwards.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/DdmWu6V.jpg\"><\/p>\n<p>This proved that the diagnosis of the Windows Update troubleshooter reported false results and can't fix broken things. <\/p>\n<h2>Conclusion of the whole action<\/h2>\n<p>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. <\/p>\n<p>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 &#8211; and this clearing has no consequences for Windows functionality (only entries that could be used for troubleshooting are gone &#8211; and this can be prevented by saving the entries before deleting them). <\/p>\n<p>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.<\/p>\n<p><strong>Article series:<\/strong><br \/><a href=\"https:\/\/borncity.com\/win\/2020\/04\/06\/potential-errors-in-the-windows-update-database-part-1\/\">Potential errors in the Windows update database<\/a> &#8211; Part 1<br \/><a href=\"https:\/\/borncity.com\/win\/?p=13974\" target=\"_blank\" rel=\"noopener noreferrer\">Potential errors in the Windows update database<\/a> &#8211; Part 2<\/p>\n<p><strong>Similar articles<br \/><\/strong><a href=\"https:\/\/borncity.com\/win\/2016\/07\/05\/how-to-decode-windows-errors\/\">How to decode Windows errors?<br \/><\/a><a href=\"https:\/\/borncity.com\/win\/2016\/10\/15\/windows-10-analyze-upgrade-errors\/\">Windows 10: Analyze upgrade errors<br \/><\/a><a href=\"https:\/\/borncity.com\/win\/2016\/11\/29\/windows-how-to-decode-update-0x8024-errors\/\">Windows: How to decode update 0x8024\u2026. errors<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2016\/07\/08\/check-and-repair-windows-system-files-and-component-store\/\">Check and repair Windows system files and component store<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2019\/04\/22\/windows-update-error-0x80246001\/\">Windows Update Error 0x80246001<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2018\/10\/19\/windows-update-error-0x8007042b\/\">Windows Update Error 0x8007042B<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2018\/10\/13\/windows-update-error-0x8024200d\/\">Windows Update error 0x8024200D<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[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 &hellip; <a href=\"https:\/\/borncity.com\/win\/2020\/04\/07\/potential-errors-in-the-windows-update-database-part-2\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[463,22,2],"tags":[2366,466,195,76],"class_list":["post-13974","post","type-post","status-publish","format-standard","hentry","category-issue","category-update","category-windows","tag-ereignisanzeige","tag-problem","tag-update","tag-windows-10"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/13974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=13974"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/13974\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=13974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=13974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=13974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}