{"id":1931,"date":"2017-01-24T14:59:44","date_gmt":"2017-01-24T13:59:44","guid":{"rendered":"http:\/\/eskerahn.dk\/?p=1931"},"modified":"2018-10-15T16:08:06","modified_gmt":"2018-10-15T14:08:06","slug":"fix-for-windows-update-issues-e-g-kb3213986","status":"publish","type":"post","link":"https:\/\/eskerahn.dk\/?p=1931","title":{"rendered":"Fix for windows update issues, e.g. KB3213986"},"content":{"rendered":"<p>Many people are experiencing issues installing the cumulative update KB3213986\u00a0 <a href=\"https:\/\/eskerahn.dk\/wp-content\/uploads\/2012\/05\/wallbash.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-470\" src=\"https:\/\/eskerahn.dk\/wp-content\/uploads\/2012\/05\/wallbash.gif\" alt=\"\" width=\"30\" height=\"23\" \/><\/a><\/p>\n<p>And there are a lot of pages on this suggesting the usual stop\/rename\/start stuff, but that did not do the trick on a machine I had to fiddle with.<\/p>\n<p>The answer was .NET &#8211; again !!!<\/p>\n<p><!--more--><\/p>\n<p>I guess most technicians have seen\/used a script similar to this one to generally fix WU when it have fucked itself up. (run as admin)<\/p>\n<pre><code>@ECHO OFF<\/code>\r\n<code>echo This script is intended to stop Windows Update being COMPLETELY and UTTERLY rubbish<\/code>\r\n<code>PAUSE<\/code>\r\n<code>attrib -h -r -s\u00a0\u00a0\u00a0 %windir%\\system32\\catroot2<\/code>\r\n<code>attrib -h -r -s \/s %windir%\\system32\\catroot2\\*.*<\/code>\r\n<code>net stop wuauserv<\/code>\r\n<code>net stop CryptSvc<\/code> \r\n<code>net stop BITS<\/code>\r\n<code>NET STOP MSISERVER<\/code>\r\n<code>rd \/s\/q %windir%\\system32\\catroot2.~old\\<\/code>\r\n<code>ren\u00a0\u00a0\u00a0\u00a0 %windir%\\system32\\catroot2 catroot2.~old<\/code>\r\n<code>rd \/s\/q %windir%\\SoftwareDistribution.~old\\<\/code>\r\n<code>ren\u00a0\u00a0\u00a0\u00a0 %windir%\\SoftwareDistribution SoftwareDistribution.~old<\/code>\r\n<code>rd \/s\/q \"%ALLUSERSPROFILE%\\application data\\Microsoft\\Network\\downloader.~old\"<\/code>\r\n<code>ren\u00a0\u00a0\u00a0\u00a0 \"%ALLUSERSPROFILE%\\application data\\Microsoft\\Network\\downloader\" downloader.~old <\/code>\r\n<code>NET Start MSISERVER<\/code>\r\n<code>net Start BITS <\/code>\r\n<code>net start CryptSvc <\/code>\r\n<code>net start wuauserv\r\necho. <\/code>\r\n<code>echo Windows Update should now work properly. Thanks Microsoft.<\/code>\r\n<code>PAUSE<\/code><\/pre>\n<p>(I have added a few RDs to <a href=\"http:\/\/www.tomshardware.co.uk\/answers\/id-3039326\/windows-windows-update-wont-move-checking-updates-fix-attempts.html\" target=\"_blank\" rel=\"noopener\">this<\/a> as it is more than likely it is not a one time thing, so you need to kill the old back up folders from last error&#8230;)<\/p>\n<p>But this did not do the trick on this particular machine.<\/p>\n<p>Typically KB3213986 after a long time ends with a 0x80073712, that do not make us much wiser. Fetching the update from the <a href=\"https:\/\/www.catalog.update.microsoft.com\" target=\"_blank\" rel=\"noopener\">catalogue server <\/a>does the same, except you won&#8217;t even get an error code&#8230;.<\/p>\n<p>I then got an idea, based on a fix for problems updating Windows Defender I have seen on another machine last fall.<\/p>\n<p>Here the trick was to do a (superfluous) repair on some of the installed .net packages(!) without boot, and then do the install.<\/p>\n<p><a href=\"https:\/\/eskerahn.dk\/wp-content\/uploads\/2017\/01\/WindowsUpdate_Dot_Net.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1932\" src=\"https:\/\/eskerahn.dk\/wp-content\/uploads\/2017\/01\/WindowsUpdate_Dot_Net.png\" alt=\"\" width=\"636\" height=\"285\" srcset=\"https:\/\/eskerahn.dk\/wp-content\/uploads\/2017\/01\/WindowsUpdate_Dot_Net.png 636w, https:\/\/eskerahn.dk\/wp-content\/uploads\/2017\/01\/WindowsUpdate_Dot_Net-150x67.png 150w, https:\/\/eskerahn.dk\/wp-content\/uploads\/2017\/01\/WindowsUpdate_Dot_Net-300x134.png 300w\" sizes=\"auto, (max-width: 636px) 100vw, 636px\" \/><\/a><\/p>\n<p>But the machine in question did not have any of these.<\/p>\n<p>So under windows components, I (optimistically) ticked &#8220;<strong>ASP.NET 4.6<\/strong>&#8220;, and tried again, <strong><span style=\"text-decoration: underline;\">without boot<\/span><\/strong>, and TADA it worked!<\/p>\n<p><a href=\"https:\/\/eskerahn.dk\/wp-content\/uploads\/2010\/07\/konservativ_woot.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-389\" src=\"https:\/\/eskerahn.dk\/wp-content\/uploads\/2010\/07\/konservativ_woot.gif\" alt=\"\" width=\"32\" height=\"27\" \/><\/a><\/p>\n<p>After about an hour or so it came through&#8230;<\/p>\n<p>I do not know WHY this works, but my GUESS is that the update assume it can use and\/or update some .NET stuff, that might not be available or might be in use.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many people are experiencing issues installing the cumulative update KB3213986\u00a0 And there are a lot of pages on this suggesting the usual stop\/rename\/start stuff, but that did not do the trick on a machine I had to fiddle with. The answer was .NET &#8211; again !!!<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-1931","post","type-post","status-publish","format-standard","hentry","category-pc-and-code-samples"],"_links":{"self":[{"href":"https:\/\/eskerahn.dk\/index.php?rest_route=\/wp\/v2\/posts\/1931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eskerahn.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eskerahn.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eskerahn.dk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eskerahn.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1931"}],"version-history":[{"count":5,"href":"https:\/\/eskerahn.dk\/index.php?rest_route=\/wp\/v2\/posts\/1931\/revisions"}],"predecessor-version":[{"id":2602,"href":"https:\/\/eskerahn.dk\/index.php?rest_route=\/wp\/v2\/posts\/1931\/revisions\/2602"}],"wp:attachment":[{"href":"https:\/\/eskerahn.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eskerahn.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eskerahn.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}