{"id":757,"date":"2020-09-01T18:18:13","date_gmt":"2020-09-01T17:18:13","guid":{"rendered":"http:\/\/simkin.org\/wordpress\/?p=757"},"modified":"2020-09-01T23:13:21","modified_gmt":"2020-09-01T22:13:21","slug":"windows-10-update-hanging","status":"publish","type":"post","link":"http:\/\/simkin.org\/wordpress\/?p=757","title":{"rendered":"Windows 10 Update Hanging"},"content":{"rendered":"\n<p>Got a Windows 10 machine that just hangs or errors when upgrading? Especially if it is to version 1903 (May 2020 update).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"428\" height=\"190\" src=\"http:\/\/simkin.org\/wordpress\/wp-content\/uploads\/2020\/09\/windows-updates.jpg\" alt=\"\" class=\"wp-image-764\" srcset=\"http:\/\/simkin.org\/wordpress\/wp-content\/uploads\/2020\/09\/windows-updates.jpg 428w, http:\/\/simkin.org\/wordpress\/wp-content\/uploads\/2020\/09\/windows-updates-300x133.jpg 300w\" sizes=\"(max-width: 428px) 100vw, 428px\" \/><\/figure>\n\n\n\n<p>So you&#8217;ve tried the usual things:<\/p>\n\n\n\n<ul><li>dism.exe \/Online \/Cleanup-image \/Restorehealth<\/li><li>sfc \/scannow<\/li><li>Updated all the device drivers, especially your network and WIFI<\/li><li><a href=\"http:\/\/download.microsoft.com\/download\/F\/E\/7\/FE74974A-9029-41A0-9EB2-9CCE3FC20B99\/WindowsUpdateDiagnostic.diagcab\">WindowsUpdateDiagnostic.diagcab<\/a><\/li><\/ul>\n\n\n\n<p>Still struggling? Chances are it is because IIS is stopping you progressing.<\/p>\n\n\n\n<p>Run control.exe, choose Programs and features, click the link on the left &#8220;Turn Windows Features on or off&#8221; and uninstall IIS.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"527\" height=\"236\" src=\"http:\/\/simkin.org\/wordpress\/wp-content\/uploads\/2020\/09\/windows-features.jpg\" alt=\"\" class=\"wp-image-763\" srcset=\"http:\/\/simkin.org\/wordpress\/wp-content\/uploads\/2020\/09\/windows-features.jpg 527w, http:\/\/simkin.org\/wordpress\/wp-content\/uploads\/2020\/09\/windows-features-300x134.jpg 300w\" sizes=\"(max-width: 527px) 100vw, 527px\" \/><\/figure>\n\n\n\n<p>Can&#8217;t uninstall IIS? Open c:\\Windows\\System32\\inetsrv\\config\\applicationhost.config.clean.install in notepad and copy the contents to the clipboard. Now open ApplicationHost.config and delete the contents. Paste from the clipboard and save the file. Now uninstall IIS and then see if your upgrade works.<\/p>\n\n\n\n<p>Rather than try &#8220;Windows Update&#8221;, <a href=\"https:\/\/download.microsoft.com\/download\/8\/3\/c\/83c39dca-2d27-4c24-b98b-0a4d6d921c80\/Windows10Upgrade9252.exe\">download and install the update directly using Windows 10 Update Assistant<\/a><\/p>\n\n\n\n<p>Still strugging? Try this script or whichever bits you prefer to borrow<\/p>\n\n\n\n<p><code>@echo off<br>echo Delete Mechine Keys<br>del C:\\ProgramData\\Microsoft\\Crypto\\RSA\\MachineKeys*.* \/s<br>pause<br>echo System File checks<br>dism.exe \/Online \/Cleanup-image \/Restorehealth<br>sfc \/scannow<br>pause<br>echo Stop some services<br>net stop bits<br>net stop wuauserv<br>net stop appidsvc<br>net stop cryptsvc<br>echo stop any services that didn't stop<br>net stop bits<br>net stop wuauserv<br>net stop appidsvc<br>net stop cryptsvc<br>pause<br>Del \"%ALLUSERSPROFILE%\\Application Data\\Microsoft\\Network\\Downloader*.*\"<br>rmdir %systemroot%\\SoftwareDistribution \/S \/Q<br>rmdir %systemroot%\\system32\\catroot2 \/S \/Q<br>pause<br>sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)<br>sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)<br>pause<br>echo Re-register DLLs<br>cd \/d %windir%\\system32<br>regsvr32.exe \/s atl.dll<br>regsvr32.exe \/s urlmon.dll<br>regsvr32.exe \/s mshtml.dll<br>regsvr32.exe \/s shdocvw.dll<br>regsvr32.exe \/s browseui.dll<br>regsvr32.exe \/s jscript.dll<br>regsvr32.exe \/s vbscript.dll<br>regsvr32.exe \/s scrrun.dll<br>regsvr32.exe \/s msxml.dll<br>regsvr32.exe \/s msxml3.dll<br>regsvr32.exe \/s msxml6.dll<br>regsvr32.exe \/s actxprxy.dll<br>regsvr32.exe \/s softpub.dll<br>regsvr32.exe \/s wintrust.dll<br>regsvr32.exe \/s dssenh.dll<br>regsvr32.exe \/s rsaenh.dll<br>regsvr32.exe \/s gpkcsp.dll<br>regsvr32.exe \/s sccbase.dll<br>regsvr32.exe \/s slbcsp.dll<br>regsvr32.exe \/s cryptdlg.dll<br>regsvr32.exe \/s oleaut32.dll<br>regsvr32.exe \/s ole32.dll<br>regsvr32.exe \/s shell32.dll<br>regsvr32.exe \/s initpki.dll<br>regsvr32.exe \/s wuapi.dll<br>regsvr32.exe \/s wuaueng.dll<br>regsvr32.exe \/s wuaueng1.dll<br>regsvr32.exe \/s wucltui.dll<br>regsvr32.exe \/s wups.dll<br>regsvr32.exe \/s wups2.dll<br>regsvr32.exe \/s wuweb.dll<br>regsvr32.exe \/s qmgr.dll<br>regsvr32.exe \/s qmgrprxy.dll<br>regsvr32.exe \/s wucltux.dll<br>regsvr32.exe \/s muweb.dll<br>regsvr32.exe \/s wuwebv.dll<br>pause<br>echo Restart services<br>netsh winsock reset<br>netsh winsock reset proxy<br>net start bits<br>net start wuauserv<br>net start appidsvc<br>net start cryptsvc<br>echo Start any services that didn't start<br>net start bits<br>net start wuauserv<br>net start appidsvc<br>net start cryptsvc<br>echo Now disable IIS under Control Panel - Programs and FEatures - Turn Windows Features off<br>pause<br>echo Restart then run the Update Assistant Tool (WindowsUpdateDiagnostic.diagcab)<\/code><\/p>\n\n\n\n<p>If this doesn&#8217;t help, you can always:  <a href=\"https:\/\/www.kapilarya.com\/how-to-repair-windows-10-using-in-place-upgrade\">https:\/\/www.kapilarya.com\/how-to-repair-windows-10-using-in-place-upgrade<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Got a Windows 10 machine that just hangs or errors when upgrading? Especially if it is to version 1903 (May &hellip; <a class=\"more-link\" href=\"http:\/\/simkin.org\/wordpress\/?p=757\">More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"spay_email":""},"categories":[3],"tags":[320,351,352,350],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/757"}],"collection":[{"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=757"}],"version-history":[{"count":6,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/757\/revisions"}],"predecessor-version":[{"id":767,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/757\/revisions\/767"}],"wp:attachment":[{"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=757"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}