SOLVED

Error 0x80242017 when installing KB5004945 from WSUS (but not from Microsoft)

%3CLINGO-SUB%20id%3D%22lingo-sub-2524094%22%20slang%3D%22en-US%22%3EError%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2524094%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20several%20clients%20running%20Win%2010%20v20H2%20that%20are%20failing%20to%20install%20the%20update%20%222021-07%20Cumulative%20Update%20for%20Windows%2010%20Version%2020H2%20for%20x64-based%20Systems%20(KB5004945)%20from%20our%20WSUS%20server%20with%20%22Status%3A%20download%20error%20-%200x80242017%22.%20However%2C%20if%20I%20manually%20log%20into%20the%20workstation%20and%20%22Check%20online%20for%20updates%20from%20Microsoft%20Update%22%2C%20it%20downloads%20and%20installs%20the%20update%20with%20no%20errors.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20%22Self%20Contained%22%20cab%20file%20for%20the%20update%20is%20present%20in%20the%20proper%20directory%20on%20the%20WSUS%20server%2C%20although%20the%20two%20%22Express%22%20files%20are%20not.%20The%20WSUS%20server%20is%20running%20on%20Windows%20Server%202019%20v1809.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere's%20what%20I've%20done%20for%20troubleshooting%20on%20the%20client%20side%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERun%20Windows%20Update%20Troubleshooter%3A%20It%20can't%20find%20any%20issues.%3C%2FP%3E%3CP%3EReset%20Windows%20Updates%20components%20%22manually%22%20using%20batch%20script.%3C%2FP%3E%3CP%3ERun%20dism%20%2Fonline%20%2Fcleanup-image%20%2Frestorehealth%3C%2FP%3E%3CP%3ERun%20sfc%20%2Fscannow%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222021-07-07%20(3).png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F294064iB4FC032A45FF85A2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222021-07-07%20(3).png%22%20alt%3D%222021-07-07%20(3).png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20attached%20the%20System%20and%20WindowsUpdateClient%20event%20logs%2C%20as%20well%20as%20the%20CBS.log%20and%20DISM.log%20from%20the%20workstation%20I'm%20troubleshooting%20with.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2524094%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%2010%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Update%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWSUS%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2524271%22%20slang%3D%22en-US%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2524271%22%20slang%3D%22en-US%22%3EIt%20seems%20like%20there%20have%20been%20corrupted%20files%20on%20the%20system%20which%20has%20been%20fixed%2C%20did%20you%20manage%20to%20update%20after%20running%20the%20SFC%20command%3F%3CBR%20%2F%3EAre%20you%20able%20to%20install%20other%20updates%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2524478%22%20slang%3D%22en-US%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2524478%22%20slang%3D%22en-US%22%3ENope.%20Rebooted%20and%20retried%20after%20dism%20and%20sfc%2C%20and%20still%20failed%20with%20the%20exact%20same%20error.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2528685%22%20slang%3D%22en-US%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2528685%22%20slang%3D%22en-US%22%3EYes%2C%20they%20are%20domain-joined.%20I%20tried%20removing%20a%20client%20from%20the%20domain%2C%20then%20re-importing%20the%20WSUS%20registry%20settings%20to%20point%20it%20back%20at%20the%20WSUS%20server%2C%20and%20it%20still%20gives%20the%20same%20error%20(0x80242017).%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2528739%22%20slang%3D%22en-US%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2528739%22%20slang%3D%22en-US%22%3EOk%2C%20I%20think%20I've%20figured%20this%20out.%20I'm%20getting%20the%20same%20errors%20as%20described.%20It%20seems%20that%20service%20stack%20updates%20are%20packaged%20with%20the%20cumulative%20updates%20sporadically.%20The%20last%20standalone%20service%20stack%20update%20I%20see%20is%20from%20January.%20However%2C%20there%20was%20a%20SSU%20packaged%20with%20the%20May%20cumulative%20update.%20Without%20this%20CU%20installed%20(and%20the%20embedded%20SSU)%20then%20this%20cumulative%20update%20will%20not%20install.%20The%20problem%20from%20a%20WSUS%20perspective%20is%20the%20May%20CU%20will%20be%20expired%20and%20will%20not%20installed%20%2F%20flagged%20as%20needed%20if%20a%20computer%20missed%20it%20(for%20instance%2C%20offline%20or%20whatever).%3CBR%20%2F%3E%3CBR%20%2F%3ESo%2C%20as%20a%20test%20I%20downloaded%20kb5003214%20from%20the%20Microsoft%20Catalog%20server.%20I%20then%20extracted%20using%20expand%20windows10.0-kb5003214-x64_ea5dec15d30be080e9aa13c46daa299781b2611d%20.%20-F%3A*%3CBR%20%2F%3E%3CBR%20%2F%3EI%20copied%20SSU-19041.1022-x64.cab%20to%20a%20computer%20not%20updating%20and%20ran%20Dism.exe%20%2Fonline%20%2Fadd-package%3Ac%3A%5CSSU-19041.1022-x64.cab%3CBR%20%2F%3E%3CBR%20%2F%3EThen%20I%20re-ran%20Windows%20Update%20pointed%20at%20my%20WSUS%20server%20and%20it%20worked.%3CBR%20%2F%3E%3CBR%20%2F%3ECredit%20from%20this%20post%20%3CA%20href%3D%22https%3A%2F%2Fborncity.com%2Fwin%2F2021%2F07%2F08%2Fthe-chaos-printnightmare-emergency-update-july-6-7-2021%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fborncity.com%2Fwin%2F2021%2F07%2F08%2Fthe-chaos-printnightmare-emergency-update-july-6-7-2021%2F%3C%2FA%3E%3CBR%20%2F%3ESee%20the%20section%20titled%20%22WSUS%20detection%20and%20installation%20problems%22%3CBR%20%2F%3E%3CBR%20%2F%3EMore%20info%20can%20be%20found%20at%20%3CA%20href%3D%22https%3A%2F%2Fborncity.com%2Fwin%2F2021%2F07%2F04%2Fwindows-10-der-wsus-und-das-ssulcu-erkennungs-chaos%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fborncity.com%2Fwin%2F2021%2F07%2F04%2Fwindows-10-der-wsus-und-das-ssulcu-erkennungs-chaos%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2528800%22%20slang%3D%22en-US%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2528800%22%20slang%3D%22en-US%22%3EI%20posted%20a%20reply%20with%20the%20answer%20and%20it%20was%20removed.%20No%20idea%20why.%20It's%20a%20service%20stack%20update%20issue.%20If%20a%20computer%20missed%20the%20May%20cumulative%20update%20then%20KB5004945%20won't%20install%20in%20my%20experience.%20The%20May%20CU%20included%20the%20latest%20SSU.%20Without%20it%2C%20you%20get%200x80242017%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2529188%22%20slang%3D%22en-US%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2529188%22%20slang%3D%22en-US%22%3EAgree%20there.%20Or%20maybe%20just%20include%20the%20latest%20SSU%20in%20every%20CU%3F%20It's%20only%2014%20MB%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2531278%22%20slang%3D%22en-US%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2531278%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1098679%22%20target%3D%22_blank%22%3E%40skilley1425%3C%2FA%3E%26nbsp%3BI%20hope%20latest%20SSU%20may%20be%20included...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2534668%22%20slang%3D%22zh-CN%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2534668%22%20slang%3D%22zh-CN%22%3EI%20install%20kb5003173%20will%20prompt%20%22Processing%201%20(of%201)%20-%20Adding%20packages%20Multiple_Packages%20to%20-0.0.0.0%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Error%20-%20Error%3A%200x80073701%22%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2570251%22%20slang%3D%22en-US%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2570251%22%20slang%3D%22en-US%22%3EHave%20you%20installed%20the%20latest%20CU%20from%20the%20Microsoft%20Catalog%3F%20KB5004237%20includes%20a%20SSU%20update%20it%20would%20appear.%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Ftopic%2Fjuly-13-2021-kb5004237-os-builds-19041-1110-19042-1110-and-19043-1110-ae798d3c-3de3-4c1f-b9d9-7391b71da889%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Ftopic%2Fjuly-13-2021-kb5004237-os-builds-19041-1110-19042-1110-and-19043-1110-ae798d3c-3de3-4c1f-b9d9-7391b71da889%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2570999%22%20slang%3D%22en-US%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2570999%22%20slang%3D%22en-US%22%3EWhat%20you%20describe%20differs%20from%20my%20experience%2C%20so%20you%20may%20be%20dealing%20with%20a%20different%20beast.%3CBR%20%2F%3EIs%20your%20error%20code%200x80242017%20or%20something%20else%3F%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2692332%22%20slang%3D%22en-US%22%3ERe%3A%20Error%200x80242017%20when%20installing%20KB5004945%20from%20WSUS%20(but%20not%20from%20Microsoft)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2692332%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1108778%22%20target%3D%22_blank%22%3E%40arossi1512%3C%2FA%3E.%20%26nbsp%3Bdid%20you%20ever%20make%20any%20progress%20with%20this%20issue%3F%20we're%20battling%20the%20exact%20same%20thing%20here.....i%20thought%20i%20was%20making%20some%20headway%20by%20first%20manually%20installing%20kb5005260%20and%20then%20kb5003214%20%2C%20reboot%20and%20then%205004237%20would%20install%20fine%20but%20found%20that%20doesnt%20work%20in%20all%20cases%20and%20even%20then%20the%20latest%205005033%20from%20august%20fails%20at%20the%20same%2098%25%20post%20install%20reboot%20stage%20(and%20takes%20a%20good%2020-30%20min%20at%20that%20stage%20to%20undo%20the%20changes).%26nbsp%3B%20this%20is%20getting%20pretty%20old%20!%26nbsp%3B%20%26nbsp%3Bin%20our%20case%20we%20were%20either%20on%202004%20or%201909%20and%20did%20a%2020h2%20upgrade%20w%2F%20the%20%2Fdynamicupdates%20set%20to%20disabled%20(to%20save%20time%20and%20just%20let%20wsus%20handle%20the%20updates%20after%20like%20usual)%20so%20not%20sure%20if%20that%20has%20anything%20to%20do%20w%2F%20this%20or%20if%20microsoft%20just%20botched%20more%20updates%20on%20us%20here%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I have several clients running Win 10 v20H2 that are failing to install the update "2021-07 Cumulative Update for Windows 10 Version 20H2 for x64-based Systems (KB5004945) from our WSUS server with "Status: download error - 0x80242017". However, if I manually log into the workstation and "Check online for updates from Microsoft Update", it downloads and installs the update with no errors.

 

The "Self Contained" cab file for the update is present in the proper directory on the WSUS server, although the two "Express" files are not. The WSUS server is running on Windows Server 2019 v1809.

 

Here's what I've done for troubleshooting on the client side:

 

Run Windows Update Troubleshooter: It can't find any issues.

Reset Windows Updates components "manually" using batch script.

Run dism /online /cleanup-image /restorehealth

Run sfc /scannow

 

2021-07-07 (3).png

 

I've attached the System and WindowsUpdateClient event logs, as well as the CBS.log and DISM.log from the workstation I'm troubleshooting with.

 

16 Replies
It seems like there have been corrupted files on the system which has been fixed, did you manage to update after running the SFC command?
Are you able to install other updates?
Nope. Rebooted and retried after dism and sfc, and still failed with the exact same error.
Are they Domain-Joined devices?
If yes, just for test try remove one of them from the Domain and see if the problem persist?
Make sure report this issue through the Feedback Hub app.
Yes, they are domain-joined. I tried removing a client from the domain, then re-importing the WSUS registry settings to point it back at the WSUS server, and it still gives the same error (0x80242017).
Ok, I think I've figured this out. I'm getting the same errors as described. It seems that service stack updates are packaged with the cumulative updates sporadically. The last standalone service stack update I see is from January. However, there was a SSU packaged with the May cumulative update. Without this CU installed (and the embedded SSU) then this cumulative update will not install. The problem from a WSUS perspective is the May CU will be expired and will not installed / flagged as needed if a computer missed it (for instance, offline or whatever).

So, as a test I downloaded kb5003214 from the Microsoft Catalog server. I then extracted using expand windows10.0-kb5003214-x64_ea5dec15d30be080e9aa13c46daa299781b2611d . -F:*

I copied SSU-19041.1022-x64.cab to a computer not updating and ran Dism.exe /online /add-package:c:\SSU-19041.1022-x64.cab

Then I re-ran Windows Update pointed at my WSUS server and it worked.

Credit from this post https://borncity.com/win/2021/07/08/the-chaos-printnightmare-emergency-update-july-6-7-2021/
See the section titled "WSUS detection and installation problems"

More info can be found at https://borncity.com/win/2021/07/04/windows-10-der-wsus-und-das-ssulcu-erkennungs-chaos/
best response confirmed by JWW-CSISD (Occasional Contributor)
Solution
I posted a reply with the answer and it was removed. No idea why. It's a service stack update issue. If a computer missed the May cumulative update then KB5004945 won't install in my experience. The May CU included the latest SSU. Without it, you get 0x80242017

@skilley1425 That did it.

 

It looks like the issue was happening on newly imaged machines with a base install of 20H2, so when Windows Update tried to skip straight to the 2021-07 CU (KB5004945), it didn't have the servicing stack update from the 2021-05 CU (KB5003173).

 

I download "2021-05 Cumulative Update for Windows 10 Version 20H2 for x64-based Systems (KB5003173)" from the Windows Update Catalog and manually installed it and rebooted, and after that, KB5004945 downloaded and installed from WSUS with no further errors.

 

I'd say MS needs to mark KB5003173 as a prereq for installation of KB5004945.

 

 

Agree there. Or maybe just include the latest SSU in every CU? It's only 14 MB
I install kb5003173 will prompt “正在处理 1 (共 1) - 正在添加程序包 Multiple_Packages~~~~0.0.0.0
[=== 6.0% ]
发生错误 - 错误: 0x80073701”

@skilley1425I have just tested this solution and have installed the KB5003173. Even after a reboot, I continue to get into the error. Are there any other ideas or do I need to do something else? I am clueless

Have you installed the latest CU from the Microsoft Catalog? KB5004237 includes a SSU update it would appear. https://support.microsoft.com/en-us/topic/july-13-2021-kb5004237-os-builds-19041-1110-19042-1110-and...

@skilley1425I have installed KB5003173, and KB5004945 still fails to install. Or more correctly, it installs but on reboot, it fails to complete and has to roll back. The new KB5004237 fails in the same fashion. It seems there is some component that is checked at restart that is failing and a rollback is triggered. All I can do is clear the Software Distribution folders and pause the updates or else I am bugged with a rollback attempt every time I start my PC.

What you describe differs from my experience, so you may be dealing with a different beast.
Is your error code 0x80242017 or something else?
Hello there. This detailed explanation worked for me. Before I found this post, I tried to install KB5003214 update but failed with this error message: This update is not applicable to your computer. So thank you, problem solved.

@arossi1512.  did you ever make any progress with this issue? we're battling the exact same thing here.....i thought i was making some headway by first manually installing kb5005260 and then kb5003214 , reboot and then 5004237 would install fine but found that doesnt work in all cases and even then the latest 5005033 from august fails at the same 98% post install reboot stage (and takes a good 20-30 min at that stage to undo the changes).  this is getting pretty old !   in our case we were either on 2004 or 1909 and did a 20h2 upgrade w/ the /dynamicupdates set to disabled (to save time and just let wsus handle the updates after like usual) so not sure if that has anything to do w/ this or if microsoft just botched more updates on us here

www.000webhost.com