{"id":721,"date":"2019-09-18T10:15:00","date_gmt":"2019-09-18T08:15:00","guid":{"rendered":"https:\/\/itblogwildi.wordpress.com\/?p=721"},"modified":"2019-09-18T10:15:00","modified_gmt":"2019-09-18T08:15:00","slug":"fehler-0x800f0831-bei-windows-update","status":"publish","type":"post","link":"https:\/\/itblog.wildi.dk\/?p=721","title":{"rendered":"Fehler 0x800F0831 bei Windows Update"},"content":{"rendered":"\n<p>Ich musste auf einem Windows Server 2012 R2 die aktuellsten Updates installieren. Diese schlugen aber immer fehl. Der Windows Update Client zeigte mir viele offene Updates an:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"256\" src=\"https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2019\/09\/2019-09-18-09_34_14-vm-wildi99-vm-wildi99-remote-desktop-connection.png?w=830\" alt=\"\" class=\"wp-image-722\" srcset=\"https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2019\/09\/2019-09-18-09_34_14-vm-wildi99-vm-wildi99-remote-desktop-connection.png 830w, https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2019\/09\/2019-09-18-09_34_14-vm-wildi99-vm-wildi99-remote-desktop-connection-300x93.png 300w, https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2019\/09\/2019-09-18-09_34_14-vm-wildi99-vm-wildi99-remote-desktop-connection-768x237.png 768w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/figure>\n\n\n\n<p>D.h. der Server konnte bereits seit August \/ September 2018 (!!) die Updates nicht mehr korrekt installieren!<\/p>\n\n\n\n<p>Ich versuchte zuerst, nur das aktuellste Update, und dann nur das \u00e4lteste Update zu installieren. Beides schlug fehl.<\/p>\n\n\n\n<p>Ein Blick in das Eventlog zeigte mir folgenden Fehler:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"367\" src=\"https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2019\/09\/2019-09-18-09_31_33-vm-wildi99-vm-wildi99-remote-desktop-connection.png?w=648\" alt=\"\" class=\"wp-image-723\" srcset=\"https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2019\/09\/2019-09-18-09_31_33-vm-wildi99-vm-wildi99-remote-desktop-connection.png 648w, https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2019\/09\/2019-09-18-09_31_33-vm-wildi99-vm-wildi99-remote-desktop-connection-300x170.png 300w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><figcaption>Event ID 20, Fehler 0x800F0831<\/figcaption><\/figure>\n\n\n\n<p>Die Fehlermeldung war bei jedem Update dieselbe.<\/p>\n\n\n\n<p>Ich habe dann die aktuellsten Updates (KB4516067 und KB4516064) heruntergeladen, und per &#171;wusa UPDATEFILE.msu&#187; versucht zu installieren.<\/p>\n\n\n\n<p>Auch das schlug fehl.<\/p>\n\n\n\n<p>Nun folgte der Blick ins CBS.log (C:\\Windows\\Logs\\CBS\\CBS.log). Als ich von zuunterst des Logfiles nach oben nach &#171;Error&#187; suchte, fand ich folgende Fehler:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">2019-09-18 09:17:29, Error                 CBS    Failed to resolve package 'Package_1005_for_KB4054519~31bf3856ad364e35~amd64~~6.3.1.4' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]<br>\n[\u2026]<br>\n2019-09-18 09:17:29, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]<br>\n[\u2026]<br>\n2019-09-18 09:17:29, Info                  CBS    Not able to query DisableWerReporting flag.  Assuming not set\u2026 [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]<br>\n[\u2026]<br>\n2019-09-18 09:17:29, Info                  CBS    Not able to add %windir%\\winsxs\\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]<br>\n2019-09-18 09:17:29, Info                  CBS    Not able to add %windir%\\winsxs\\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]<br>\n[\u2026]<br>\n2019-09-18 09:17:29, Info                  CBS    SQM: execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]<br>\n2019-09-18 09:17:29, Info                  CBS    SQM: Failed to initialize Win SAT assessment. [HRESULT = 0x80040154 - Unknown Error]<br>\n2019-09-18 09:17:29, Info                  CBS    SQM: average disk throughput datapoint is invalid [HRESULT = 0x80040154 - Unknown Error]<\/pre>\n\n\n\n<p>Relevant ist in diesem Fall die oberste Zeile:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">2019-09-18 09:17:29, Error                 CBS    Failed to resolve package 'Package_1005_for_KB4054519~31bf3856ad364e35~amd64~~6.3.1.4' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]<\/pre>\n\n\n\n<p>Hier wird gemeldet, dass das Package &#171;1005&#187; des Updates &#171;KB4054519&#187; einen Fehler aufweist.<\/p>\n\n\n\n<p>In &#171;C:\\Windows\\servicing\\Packages&#187; kann nach der KB-Nummer (in diesem Fall &#171;KB4054519&#187; gesucht werden. In meinem Fall wurden 414 Elemente gefunden &#8211; nicht aber das Package &#171;1005&#187; (Suchbegriff &#171;Package_1005_for_KB4054519&#187;).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2019\/09\/2019-09-18-09_49_51-vm-wildi99-vm-wildi99-remote-desktop-connection.png?w=1024\" alt=\"\" class=\"wp-image-726\" \/><\/figure>\n\n\n\n<p>Das Problem kann behoben werden, indem das fehlerhafte KB (in meinem Fall  KB4054519) heruntergeladen, entpackt und dann per dism in Windows eingepflegt wird:<\/p>\n\n\n\n<p>Download:   <a href=\"https:\/\/www.catalog.update.microsoft.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.catalog.update.microsoft.com<\/a> <\/p>\n\n\n\n<p>Expand:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">expand C:\\Install\\MSU\\AMD64-all-windows8.1-kb4054519-x64_ad78da956d88ae3cd98982c11730240668c0e93f.msu \/f:* C:\\Install\\MSU\\KB4054519\n<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2019\/09\/2019-09-18-10_04_01-vm-wildi99-vm-wildi99-remote-desktop-connection.png?w=642\" alt=\"\" class=\"wp-image-729\" \/><\/figure>\n\n\n\n<p>DISM:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Dism \/online \/Add-package:C:\\Install\\MSU\\KB4054519\\Windows8.1-KB4054519-x64.cab<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/itblog.wildi.dk\/wp-content\/uploads\/2019\/09\/2019-09-18-10_04_57-vm-wildi99-vm-wildi99-remote-desktop-connection-1.png?w=645\" alt=\"\" class=\"wp-image-730\" \/><\/figure>\n\n\n\n<p>Danach konnten die aktuellsten Updates erfolgreich installiert werden.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ich musste auf einem Windows Server 2012 R2 die aktuellsten Updates installieren. Diese schlugen aber immer fehl. Der Windows Update&#8230; <a class=\"read-more\" href=\"https:\/\/itblog.wildi.dk\/?p=721\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,45],"tags":[62,99],"class_list":["post-721","post","type-post","status-publish","format-standard","hentry","category-windows","category-wsus-windows-update","tag-fehler-0x800f0831","tag-windows-update"],"_links":{"self":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/posts\/721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=721"}],"version-history":[{"count":0,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=\/wp\/v2\/posts\/721\/revisions"}],"wp:attachment":[{"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itblog.wildi.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}