Aug 212018
 
Microsoft .NET Framework

You may notice on Windows Server 2012 R2, when applying Windows Updates that one or more .NET updates may fail with error code 0x80092004. This issue may affect all, or only some of your Windows Server 2012 R2 servers.

When troubleshooting this, you may notice numerous specific errors such as “Couldn’t find the hash of component: NetFx4-PenIMC”, or errors with a CAB file. These errors will probably come from update KB4054566 and KB4340558.

The Fix

To resolve this, we are going to download the updates MSU files from the Microsoft Update Catalog, and fully uninstall, then re-install the problematic updates.

Please Note: Always make sure you have a full backup before making modifications to your servers.

Please follow the instructions below:

  1. Create a folder called “updatefix” on the root of your C drive on the server
  2. Navigate to the Windows Update catalog at: https://www.catalog.update.microsoft.com/
  3. Search for KB4054566 and download the file for “Windows Server 2012 R2”, save it to the folder you created above called “updatefix” on the root of your C Drive. There should be one file in the download.
  4. Search for KB4340558 and download the files for “Windows Server 2012 R2”, save it to the folder you created above called “updatefix” on the root of your C Drive. There should be a total of 3 files in this download.
  5. Create a folder in the “updatefix” folder called “expanded”.
  6. Open an elevated command prompt, and run the following commands to extract the updates CAB files:
    expand -f:* "C:\updatefix\windows8.1-kb4338415-x64_cc34d1c48e0cc2a92f3c340ad9a0c927eb3ec2d1.msu" C:\updatefix\expanded\
    expand -f:* "C:\updatefix\windows8.1-kb4338419-x64_4d257a38e38b6b8e3d9e4763dba2ae7506b2754d.msu" C:\updatefix\expanded\
    expand -f:* "C:\updatefix\windows8.1-kb4338424-x64_e3d28f90c6b9dd7e80217b6fb0869e7b6dfe6738.msu" C:\updatefix\expanded\
    expand -f:* "C:\updatefix\windows8.1-kb4054566-x64_e780e6efac612bd0fcaf9cccfe15d6d05c9cc419.msu" C:\updatefix\expanded\
  7. Now let’s uninstall the problematic updates. Some of these commands may fail depending on which updates you have successfully installed. Run the following commands individually to remove the updates:
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338424-x64.cab
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338419-x64.cab
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338415-x64.cab
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4054566-x64.cab
  8. Reboot your server.
  9. Now let’s cleanly install the updates. All of these commands should be successful when running. Run the following commands individually to install the updates:
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4054566-x64.cab
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338415-x64.cab
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338419-x64.cab
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338424-x64.cab
  10. Reboot your server.
  11. You have now fixed the issue and all updates should now be cleanly installing via Windows Updates!

Leave a comment and let me know if this worked for you!

  191 Responses to “Windows Server 2012 R2 .NET Windows Updates fail with error 0x80092004”

  1. There is a GOD after all… 🙂

  2. Sam I am,

    I can’t tell you how much time I wasted on this issue (days and days).

    If I saved you some time and helped with the fix, I’m super happy!

    Cheers!

  3. Stephen,

    I can’t thank you enough. Finally the proper solution after 2 months of browsing and trying… 🙂

  4. It work’s very well! THX

  5. Yess! Worked like a charm, thank you so much!

  6. Thank you * Thank you * Thank you! 🙂
    You fixed somethng that Microsoft was not able to!
    BTW: I “only” had the problem with KB4054566 and therefore tried your steps with only with this affected one – But no – it did not work.
    Afterwards I have tried it also with the (non-problematic!?) others -and all asked reboots- as you have described and it worked!
    TA!
    Dietmar

  7. Thank you so much, i stumbled on to the commands some time ago but i didn’t realize there was an order to get them installed that never occurred. Cheers Stephen and thanks for your help

  8. I salute you!

  9. Yes !!!! It works fine
    You are great
    Thanks

  10. Thanks…great job…crazy things happen when dealing with this types of things.

    Really appreciate the research.

  11. Thx for this great solution. Searched the net for this and fortunately i came on your solution.
    Regards from Holland.

  12. Worked like a charm! Thank you, Sir!

  13. Hallo Mr. Wagner

    Excuse my english –

    Finally it worked! I followed your instruction above, but the system did not accept the order: dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4054566-x64.cab

    Then, very disappointet, I restartet my pc and then finally my system acceptet the update KB4054566. This incredible update disturbed me since July!

    Thank very very much for your help, I send you greetings from Switzerland

    Christine

  14. Thank you very much, your solution works well. 🙂

  15. this worked like a charm you should be putting out the microsoft bulletins!

  16. +1 to add many thanks. I too have searched for this for a while, yours is the only solution that worked.

    go raibh maith agat

  17. Stephen,

    I can’t thank you enough. I’ve been fighting with this for a few weeks and stumbled across your answer this morning and it worked perfectly. Thanks again!!!

  18. Thank. I have two 2012 R2 servers only one which was affected.

  19. Hi Stephen, that was really very helpful and I created a little batch instead of typing all – perfect. You solved my permanent problems with this f… update patch from Microsoft and now I got my free time back – THANK YOU. Over 2 months I tried to solve that problem and nobody could help me – but YOU.

    Many greetings from Germany – PETER

  20. Thanks for writing this up. I’ve been fighting this for 2 months. It worked like a champ!! Again Many Thanks!!

  21. I want to add my thanks as well. Spent time on and off in the past two months, following “official” suggestions, and the “pseudo science” offered by Microsoft’s paid staff – as well as various misinformation on Microsoft support boards.

    Your manual uninstall and reverse-order reinstall did the trick for 6 Win 2012 servers. All uninstalls were successful and the first reinstall step required a reboot – that was it.

    Kudos to your expertise and thank you for sharing!

  22. Yes! Good work indeed to sort this out. I took the recommended action & just did all of them as prescribed (versus just trying to remove & add KB4054566).
    I was a little confused on the “reboot” comment above. I was not asked to reboot during the removal of any of them. When I went & added them back, each update completion it asked to reboot, I said “n” (no) & just rebooted @ the end (production server, can’t afford that many reboots).
    All seems well now, very good work & really surprised how hard it was to finally find a resolution.

  23. Thank you. Your solution stopped me from beating my head on the desk.

  24. Fantastic! This worked perfectly.

    You are to be complimented for your willingness to share this information, and providing it in such a clear cookbook manner.

    Thank you is not enough, but it is the best I can do.

    One question, have you considered hiring out to Microsoft as an instructor to show their support staff how to help customers?

  25. Hi Tom,

    I’m glad I can help! And a thank you is more than enough!

    And no, I havent ever considered that! But I do offer remote consulting! Just for the record!

    Cheers

  26. Hi…. I have the KB …….66 fail on a normal Win8.1 version (not server). Has anybody the same experience? And does your fix instruction work well for my windows? Thank you, Markus

  27. Hi Markus,

    When you search the Microsoft Catalog for the updates, you’ll need to use the ones specific for Windows 8. You may have to download different update files if you need to select a different entry.

    The instructions should remain the same, however you’ll need to update the uninstall and install commands to reflect the commands for Windows 8.

    Stephen

  28. Hi Stephen,
    Thank you so much! Like so many others, after 2 months of trying to resolve this issue, your solution was the only one which worked – first time!
    Thanks,
    Christopher

  29. Greetings Stephen,

    Thank you much for assisting the many IT administrators across the globe in resolving this issue. I performed the steps as listed on my two 2K12 R2 domain controllers and they worked well. I particularly appreciated the in-window command-line scripts. Of note, I waited until the last install of the four re-install scripts before rebooting.

    Regards,
    Alan M

  30. Hi Stephan…
    Great! It worked also on normal Win8.1. The only thing I had to change was to download the the correct updates. Unbelievable that Microsoft does nothing to fix this. Thank you very much! 🙂

  31. Thanks a lot! Works great on all my servers 😀

  32. Made a script to automate this if you have a lot of servers with the problem.
    First download the files and place them in a zip file on an UNC share.
    Then create a new PS script, place the following code in it, replace the $source var and run it.
    A reboot is sometimes needed after the /remove-package

    $Source = "\\unc_share\net4.7_update_error.zip"
    $Destination = "C:\updatefix"
    $zip = "C:\updatefix\net4.7_update_error.zip"
    $expand = "C:\updatefix\expanded"
    md $Destination -force
    md $expand -force
    Import-Module BitsTransfer
    Start-BitsTransfer -Source $Source -Destination $Destination -Description "Update transfer" -DisplayName "Update transfer"
    Expand-Archive $zip -DestinationPath $Destination
    expand -f:* "C:\updatefix\windows8.1-kb4338415-x64_cc34d1c48e0cc2a92f3c340ad9a0c927eb3ec2d1.msu" C:\updatefix\expanded\
    expand -f:* "C:\updatefix\windows8.1-kb4338419-x64_4d257a38e38b6b8e3d9e4763dba2ae7506b2754d.msu" C:\updatefix\expanded\
    expand -f:* "C:\updatefix\windows8.1-kb4338424-x64_e3d28f90c6b9dd7e80217b6fb0869e7b6dfe6738.msu" C:\updatefix\expanded\
    expand -f:* "C:\updatefix\windows8.1-kb4054566-x64_e780e6efac612bd0fcaf9cccfe15d6d05c9cc419.msu" C:\updatefix\expanded\
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338424-x64.cab
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338419-x64.cab
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338415-x64.cab
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4054566-x64.cab
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4054566-x64.cab
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338415-x64.cab
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338419-x64.cab
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338424-x64.cab

  33. Unfortunately no… Already 3 months I have problem only with KB4054566 (Microsoft .NET Framework 4.7.2 for Windows Server 2012 R2) and still not found solution

  34. Hi CoyoteKG,

    If you follow the directions in the post, it should resolve the issues and allow you to install future updates, as well as major version changes.

    Cheers,
    Stephen

  35. Whow !!!

    Thank you from Germany.
    It works!

    Best Regards
    kts

  36. Was also working for me.

    Thanks and Best Regards
    Alex

  37. Thanks from Toronto!
    Awesome!

  38. Hi Steven,

    great workaround, it fixed the issue on a windows 2012 R2 Essentials DC as well.

    Many thanks for sharing from Germany.

    Best

    Harry

  39. God indeed, thank you very much

  40. Hi Steven,
    Also many thanks from Switzerland!
    Awesome!

  41. Thank you! Your procedure cleared up the problem on all of our Windows Server 2012 R2 machines quickly and easily. It’s a pity Microsoft can’t do that!

  42. Works! So great! Thank you!

  43. Awesome! Thanks for posting this.
    Followed 3 different other guides (including Microsoft posted one) and didn’t resolved this issue.

    Greetings from Germany.

  44. Hi Stephen,

    what a big big help!! It´s awesome!!!! I did try a lot with microsoft`s “help” but they never didn´t fix the problem. I did try it a lot of time to solve the problem with my windows 8.1. Finally I saw your homepage at Microsoft “Help” and I tried what you do advise above and I made it. My Windows 8.1-updates works now
    finally normal like it should normally do. I also use linux on another pc but my linux-pc works much better than microsoft´s updates with it´s updates.

    Thank you a lot. You are a god of IT.

    Greetings from Peru and Germany

  45. Hi Jules,

    I’m glad I was able to help! Thank you very much for the compliment!

    Cheers

  46. Thank you Stephen! I’ve been searching for this fix for quite a while. Your solution worked like a charm on the handful of 2012 R2 servers I had with this issue..

    Nicely done!

  47. Dude… Thank you very much!!! Your write-up here is very much appreciated… Go Flames!?!?!? Go Stars!!!

  48. Super work! Dankeschön und dir das Beste!

  49. Thanks alot!

    Worked like a charm.

  50. nice and neat! good job.worked 100%
    It is a real fix.

  51. At last a solution for this #!+*%&$§ Error!
    It works with two 2012R2 and one 8.1 VMs in HyperV 2012R2.

    Thanks a lot!

  52. This worked GREAT! Many Thanks!

  53. And it did not help me in windows server 2012R2. When executing step 6. I get the error “cannot find the key -f”

  54. Hi Dmitry,

    Are you using the commands exactly as shown?

    Please copy/paste to make sure you are, and please make sure you don’t skip any commands either.

    Cheers,
    Stephen

  55. Worked like a charm! many thanks!!!!!!

  56. Why Microsoft can’t do this..
    Thx so much

  57. Although the process was tedious, your instructions were clear & thus with copy-and-paste were successfully completed. And, best of all, the update error was resolved. Greatly appreciated.

  58. Installing KB4054566 (Windows Update) —> Error 80092004.
    The procedure has worked. Very good, thanks.

  59. I really can’t believe that the solution was so simple! Microsoft has been battling with this issue for months and all their posted solutions simply don’t work.

    You, SIR, are a life saver for all the IT admins out there!

    Greetings from Portugal.

  60. awesome – thanks

  61. followed instructions step by step, running each command individually.

    Only the 2nd /add-package required a reboot.(YMMV)

    after completing the last step, re-ran Windows Update, and No updates are available.

    YEAH!! Thank you very much!

  62. Hallo Stephen, funktioniert perfekt!! Vielen, vielen Dank, Bernd

  63. I only spent the best part of the day researching this problem, but without your help it would have been forever. Thank You!

  64. Worked flawlessly. Thanks!

  65. Same issue on Windows 8.1.
    It worked perfectly for 8.1
    Thanks a lot.

  66. Grateful for you hard effort. Bill M$.

  67. Thanks Stephen! Saved me a big headache.

  68. Work perfectly!!! Issue solved. Thanks Stephen

  69. Thank you!

  70. Thank you

  71. Thank you Stephen. Greetings from Biel/Bienne, Switzerland

  72. worked for me.

  73. Thank you Stephen, you are a generous man to share this – worked great! I have to admit I am confused why MS won’t offer your method as the proper method to fix the problem… Instead each month they continue the update machine of using customers as beta testers! Brilliant!

  74. I’m glad it helped!

  75. You are a champion! Thanks mate

  76. Great article very easy to follow and execute.

    Thanks for sharing!

  77. Excellent work! I was working on a similar situation (possibly the same) last year (.NET Framework update fails to install) – wasted about two days on it and gave up. The issue just popped up on another workstation so thought I would take another to look to see if anyone had cracked it and behold!

    Truly excellent work. Thank you very much for sharing!

  78. Yessssssssssssssss finally it is working…. Thank you so much Stephen

  79. Thank you so much for sharing this information, this update has been stuck stuck on 1 server for weeks, and was forcing it to update every date without any success. It solved my problem. I don’t know how you found the solution, but profound respect!

    Just for information to some other non-professional administrators like me, I had to stop the Windows Update service before performing the 3rd step. Then everything ran smooth…

    Thank you so much Stephen!

  80. Finally… thank you very much.

  81. Your instructions worked flawlessly! Thank you very much!

  82. Stephen,
    Thank you very much, I have been looking for a solution off and on for a couple months.
    If your ever in Minneapolis, and would like a beer, stop by Broken Clock Brewery, and you can have a pint on me! Thank You again. Tom W.

  83. Thanks Tom! Cheers

  84. FINALLY! Thank you.

  85. It’s a shame that microsoft is not willing to fix their own problems, especially when it comes down to such simple, and straightforward solutions!

    I tried various other ways, this is the one that worked! Thx a million!

  86. Thanks for your time and effort on this.

  87. Hi Stephen!
    Because of the failed MS-July2018-Update also on our WS 2012 R2 we were caught between the devil and the deep blue sea as we had to install a new application-version that requires 4.7.2. This scheme also failed and we were quite stumped. We thank you so much for your convincing solution – it was running absolute smoothly and we are full of praise for you!
    Kindest regards from Thuringia/Germany

  88. Master, thank you saving my spare time with your flawless solution!

  89. Worked like a dream, can’t thank you enough.

  90. This creepy ghost had haunted my system for -months-, to the point that I just kinda gave up on it and just left it hangin’ there.

    Truly annoying, extremely frustrating and rediculously time-consuming.

    Your fix did all the magic, Stephen.

    Respect!

    ..and thanks, man.

    …no, wait – let me repeat that: THANKS, man!

  91. Perfekter Workaround !!!! Armutszeugnis für Microsoft.

  92. absolutely awesomely worked!!! Thank you so much

  93. Amazing… tried all other suggestions and followed Microsoft instructions and nothing worked. Your fix did it for me… finally!! why is Microsoft not able to do it this simple? thanks so much.

  94. Thanks, I appreciate your efforts, worked like a charm!

  95. This is great! Been looking for the answer to this for a couple of months. Worked great on the 3 servers that had the issue.

  96. THANKS!!!! Finally something that worked! God Bless you for sharing!

  97. Thanks a lot!!!
    Was fighting with my server 2012 R2.
    This was very helpfull!!
    And easy to follow.
    A very good step by step explanation.

    Kind Regards,

    Maurice from the Netherlands.

  98. Thank you for this guide it fixed the problem for me too.

  99. 99 x ❤️

  100. This did the trick thanks bro.

  101. Thank you. Works perfectly.

    From Canada.

  102. You Sir… Are my hero!

    Thanks for this fix. It’s been doing my head in for ages and I’d already tried so many other ‘fixes’ which never worked.

    You should be Knighted!

  103. Haha, I have been plagued with this error on x6 Win2012 r2 servers until today.
    Your instructions are clear and concise leading to a clean resolution to my problems.

    Happy Christmas

  104. Du geile SAU !!!

    Es läuft. Du hast mir eine Menge Arbeit erspart 🙂
    Weiter so !!!

  105. Works perfect!

    Thanks

  106. Thanks a ton!!! Worked like a charm.

  107. Perfect, finally fixed an outstanding server issue…great year end cleanup…thank you thank you…

  108. Works. Thanks!

    And thanks to those on the MS forums that linked to your solution.

  109. The commands were slightly different for me, given that the filenames have changed since this article was written, but corrected the issue. Thanks for posting this – worked really well.

    For anyone struggling with the commands, I used the following:-

    expand -f:* "C:\updatefix\AMD64_X86_ARM-all-windows8.1-kb4338415-x64_cc34d1c48e0cc2a92f3c340ad9a0c927eb3ec2d1.msu" C:\updatefix\expanded\
    expand -f:* "C:\updatefix\AMD64_X86_ARM-all-windows8.1-kb4338419-x64_4d257a38e38b6b8e3d9e4763dba2ae7506b2754d.msu" C:\updatefix\expanded\
    expand -f:* "C:\updatefix\AMD64_X86-all-windows8.1-kb4338424-x64_e3d28f90c6b9dd7e80217b6fb0869e7b6dfe6738.msu" C:\updatefix\expanded\
    expand -f:* "C:\updatefix\AMD64_X86_ARM-all-windows8.1-kb4054566-x64_e780e6efac612bd0fcaf9cccfe15d6d05c9cc419.msu" C:\updatefix\expanded\

    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338424-x64.cab
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338419-x64.cab
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338415-x64.cab
    dism /online /remove-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4054566-x64.cab

    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4054566-x64.cab /NoRestart
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338415-x64.cab /NoRestart
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338419-x64.cab /NoRestart
    dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4338424-x64.cab /NoRestart

    You’ll need to manually restart Windows after all the updates are reinstalled, since I’ve used /Norestart in my dism commands to prevent restarting or asking to restart between each update being reinstalled.

  110. It worked. I restarted the server only at the end. No problems. Thanks.

  111. Yes, it worked for me too.Thank you so much. I had to rescan for updates after applying the changes and rebooting but that’s only a minor detail.

  112. This was awesome, it fixed my problem perfectly. Thanks Stephen

  113. God bless you, sir. I’ve been beating my head against the MS wall for months on this. Your solution worked flawlessly.
    Can’t thank you enough.

  114. Thank you so much!

  115. Yes works perfect. Thank you for correct solution for .NET update issue.

    Best fix for 4.7 .NET issue Windows Server 2012 R2 4.7 Windows Udates FAIL Error 0x80092004

    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>cd c:\updatefix

    c:\updatefix>expand -f:* “C:\updatefix\windows8.1-kb4338415-x64_cc34d1c48e0cc2a9
    2f3c340ad9a0c927eb3ec2d1.msu” C:\updatefix\expanded\
    Microsoft (R) File Expansion Utility Version 6.3.9600.17415
    Copyright (c) Microsoft Corporation. All rights reserved.

    Adding C:\updatefix\expanded\WSUSSCAN.cab to Extraction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4338415-x64.cab to Extraction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4338415-x64-pkgProperties.txt to Extra
    ction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4338415-x64.xml to Extraction Queue

    Expanding Files ….

    Expanding Files Complete …
    4 files total.

    c:\updatefix>expand -f:* “C:\updatefix\windows8.1-kb4338419-x64_4d257a38e38b6b8e
    3d9e4763dba2ae7506b2754d.msu” C:\updatefix\expanded\
    Microsoft (R) File Expansion Utility Version 6.3.9600.17415
    Copyright (c) Microsoft Corporation. All rights reserved.

    Adding C:\updatefix\expanded\WSUSSCAN.cab to Extraction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4338419-x64.cab to Extraction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4338419-x64-pkgProperties.txt to Extra
    ction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4338419-x64.xml to Extraction Queue

    Expanding Files ….

    Expanding Files Complete …
    4 files total.

    c:\updatefix>expand -f:* “C:\updatefix\windows8.1-kb4338424-x64_e3d28f90c6b9dd7e
    80217b6fb0869e7b6dfe6738.msu” C:\updatefix\expanded\
    Microsoft (R) File Expansion Utility Version 6.3.9600.17415
    Copyright (c) Microsoft Corporation. All rights reserved.

    Adding C:\updatefix\expanded\WSUSSCAN.cab to Extraction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4338424-x64.cab to Extraction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4338424-x64-pkgProperties.txt to Extra
    ction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4338424-x64.xml to Extraction Queue

    Expanding Files ….

    Expanding Files Complete …
    4 files total.

    c:\updatefix>expand -f:* “C:\updatefix\windows8.1-kb4054566-x64_e780e6efac612bd0
    fcaf9cccfe15d6d05c9cc419.msu” C:\updatefix\expanded\
    Microsoft (R) File Expansion Utility Version 6.3.9600.17415
    Copyright (c) Microsoft Corporation. All rights reserved.

    Adding C:\updatefix\expanded\WSUSSCAN.cab to Extraction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4054566-x64.cab to Extraction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4054566-x64-pkgProperties.txt to Extra
    ction Queue
    Adding C:\updatefix\expanded\Windows8.1-KB4054566-x64.xml to Extraction Queue

    Expanding Files ….

    Expanding Files Complete …
    4 files total.

    c:\updatefix>dism /online /remove-package /packagepath:C:\updatefix\expanded\Win
    dows8.1-KB4338424-x64.cab

    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

    Processing 1 of 1 – Removing package Package_for_KB4338424~31bf3856ad364e35~amd6
    4~~6.3.1.1
    [==========================100.0%==========================]
    The operation completed successfully.

    c:\updatefix>dism /online /remove-package /packagepath:C:\updatefix\expanded\Win
    dows8.1-KB4338419-x64.cab

    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

    Processing 1 of 1 – Removing package Package_for_KB4338419~31bf3856ad364e35~amd6
    4~~6.3.1.2194
    [==========================100.0%==========================]
    The operation completed successfully.

    c:\updatefix>dism /online /remove-package /packagepath:C:\updatefix\expanded\Win
    dows8.1-KB4338415-x64.cab

    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

    Processing 1 of 1 – Removing package Package_for_KB4338415~31bf3856ad364e35~amd6
    4~~6.3.1.1
    [==========================100.0%==========================]
    The operation completed successfully.

    c:\updatefix>dism /online /remove-package /packagepath:C:\updatefix\expanded\Win
    dows8.1-KB4054566-x64.cab

    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

    Processing 1 of 1 – Removing package Package_for_KB4054566~31bf3856ad364e35~amd6
    4~~6.3.1.2145
    [==========================100.0%==========================]
    The operation completed successfully.

    c:\updatefix>dism /online /add-package /packagepath:C:\updatefix\expanded\Window
    s8.1-KB4054566-x64.cab

    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

    Processing 1 of 1 – Adding package Package_for_KB4054566~31bf3856ad364e35~amd64~
    ~6.3.1.2145
    [==========================100.0%==========================]
    The operation completed successfully.
    Restart Windows to complete this operation.
    Do you want to restart the computer now? (Y/N) N

    c:\updatefix>dism /online /add-package /packagepath:C:\updatefix\expanded\Window
    s8.1-KB4338415-x64.cab

    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

    Processing 1 of 1 – Adding package Package_for_KB4338415~31bf3856ad364e35~amd64~
    ~6.3.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    Restart Windows to complete this operation.
    Do you want to restart the computer now? (Y/N) N

    c:\updatefix>dism /online /add-package /packagepath:C:\updatefix\expanded\Window
    s8.1-KB4338419-x64.cab

    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

    Processing 1 of 1 – Adding package Package_for_KB4338419~31bf3856ad364e35~amd64~
    ~6.3.1.2194
    [==========================100.0%==========================]
    The operation completed successfully.
    Restart Windows to complete this operation.
    Do you want to restart the computer now? (Y/N) N

    c:\updatefix>dism /online /add-package /packagepath:C:\updatefix\expanded\Window
    s8.1-KB4338424-x64.cab

    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

    Processing 1 of 1 – Adding package Package_for_KB4338424~31bf3856ad364e35~amd64~
    ~6.3.1.1
    [===========================99.6%========================= ]
    The operation completed successfully.
    Restart Windows to complete this operation.
    Do you want to restart the computer now? (Y/N)

  116. Thanks!

  117. Worked flawlessly! Thanks!

  118. Super this is the solution! Worked for me.

  119. Excellent! Thank you very much 🙂

  120. Thx a lot !
    MS left me confused.
    You’re a light in the dark, Stephen.
    Greetings from D.

  121. Hi,

    I was unable to fixed this issue on our d.c. and wsus keeps getting failed message for this.

    Appreciate for your help.

  122. Hi,

    thank you very much for this solution.

    Br

  123. I’ve been having this problem for a few weeks and haven’t been able to solve it yet.
    With this manual it worked immediately on my 2 servers.
    Thank you very much.

  124. Thank you very much for your work !!! It worked.

    Sunny greetings from Bali 🙂

  125. Hi Stephen
    We have struggled with this issue for a long time across a number of our servers . .
    We are indebted to you for not only figuring this out, but also being generous enough to share.
    Thank you

  126. This did the trick on Win 8.1. Thanks!

  127. Many THX:

    Clean
    reliable
    Efficient

    Olive

  128. Thanks

  129. Nice one, many thanks!

  130. Genius.

  131. Thanks man. This has been so much help for a lot of our servers.

  132. Hi,

    I tried a couple of other things but this one did it.
    Thank you very much!

  133. Thank you Sir!
    your Fix solved my issue!!

    Greetings from Germany!

  134. Thank you very much for share the solution. Work fine on 2 Win 2012 R2 Server.
    Unbelievable that Microsoft does not manage a hotfix yet.

    Greetings from Austria.

  135. Thank you very much for this article! You deserve a place in heaven!

  136. This article is a godsend and resolved my issue.

    Thank you for posting!

  137. Hey Stephen,
    Thanks Kindly, especially for sharing.
    This did the job, exactly as posted, on an 8.1 PC.
    I’m curious how you came across this approach, I’m always looking for new problem/solution vectors.
    I haven’t looked up all the packages, but I’m assuming you decided to back out of all of the .NET packages from DSIM and reintegrate latest versions of those packages?
    Just wondering what prompted you to that leap.
    Stellar Work!
    Thanks
    -d

  138. The first one at “dism /online /add-package /packagepath:C:\updatefix\expanded\Windows8.1-KB4054566-x64.cab” fails at 32.7%
    Error – Package_for_KB4054566 Error: 0x800f081f
    Error: 0x800f081f
    DISM failed.

  139. After months I tried again to find a solution and your’s the one I found today and worked like a charm.
    Many thanks for this!

  140. What will we do without genius like you and google. Saved the day when installing Exchange 2013 CU22 on 2012 R2 which required 4.7.1 or 4.7.2 as Pre-Req. Worked like a charm…;)

  141. It work’s very well! THX

  142. I am astonished that Windows Update STILL hasn’t fixed this.

    Your instructions worked perfectly.

    Many Thanks

  143. Very helpfull instruction. Thank you very much. It worked well.

  144. THANK YOU!!!!

  145. YOU ARE A HEROOOOOO

  146. that was great
    simple step by step explanation
    you are really a hero
    Andreas from Switzerland

  147. Great Stuff!
    I burned so much time trying to figure this out. Found the page, 20 min later solved!

    Much Appreciated!

  148. Nice one Stephen. Worked for me as well. Thanks

  149. Awesome Stephen! Without your precise and simple instructions I was unable to Update mit Exchange 2013 Server to cu 22 because .net 4.7.1 was a prerequisite. Many thanks from Germany! Have a good one 😉

  150. No matter what I do for the add-package i get an error message while adding in the package.
    This is for 02/03 updates last month and this month.

  151. Hi David,

    The exact commands and filenames are for the older packages when this issue first started occurring. You mentioned this is for updates this month and last month, this means you’re using the wrong package as this article was written a very long time ago.

    If you’re having the issue described in this post, I recommend using the file I recommended to resolve the issue. After this, all future .NET updates should work properly without requiring intervention (or at least until we get another botched update).

    Cheers,
    Stephen

  152. Yea I did it with the new names same issue. I found a work around though for now I may have figured it out

  153. Thanks a lot David, it worked for me. Wondering why MS can’t solve automatically such long term mass issues. Best regards, Thomas

  154. Thank you – This Worked Great!!

  155. It works quite well, I appreciate you. If I did not solve this problem, I would have to re-install the domain controller server. Thank you again.

  156. THANK YOU!!!

    This error was kicking my butt! Just ran across this page late yesterday and decided it was worth a try…just got the .NET update to install cleanly!

  157. Thanks! It works like a charm!

  158. Awesome article! Worked perfectly.

  159. It worked very well. Thank you

  160. Solved for me, thx!

  161. Fantastic !!!

  162. Thank – it worked 🙂

  163. Works perfectly!!!!
    I nearly got crazy about this problem any you saved my day ….
    Thanks a lot!

  164. Thanks! Your very clear procedure solved this problem on one of my servers!

  165. Worked at least in two servers. Thank you!

  166. It worked perfectly in my 2 servers.
    Thanks again.

  167. Many thanks!
    Seamless.

  168. Procedure worked well. Greetings from Cyprus.

    BR

  169. OMG !!!

    After a month searching and googling with desperate, I nearly gonna reinstall my Win 8.1…..BUT, I found this guide from Mr. Stephen Wagner about fixing DotNet Framework 4.7.2 (my case is: “cannot find object or property” and installing not completed) and I followed 1 by 1 instruction…

    FINALLY, it is WORKED PERFECTLY on my PC (Windows 8.1 Pro) 😀 😀 😀 😀

    NET FRAMEWORK 4.7.2 INSTALLED with ZERO ISSUE!!

    Thank you very very very very much, Mr. Wagner you are genius 😀 😀 😀 😀
    May GOD always bless You and Your Family <3 <3 <3

    Best Regards,
    Joseph Prime, from Indonesia.

  170. Thank you so much for the detailed fix! I finally was able to fix this error which was driving me crazy!

  171. Still works! Thanks for figuring this out, it’s been a great help to my team!

    Best Regards,
    Chris

  172. Thank you so much

  173. Excellent! Worked like a charm!

  174. Great!! Thank you very much. On our Exchange 2016 Server on Windows Server 2016 R2 we had the Problem to install KB4054566. This articel was very helpfully.
    Best regards
    Udo

  175. Finally a fix that actually works. Spent 3 days on this issue until I came across your solution. Even though you state it’s for Windows 2012 Server I actually applied this same procedure to Windows 8.1 Pro. Worked great. All fixed now. Thank you!

  176. Glad it helped Dave!

    It applies for all OSs as long as the appropriate files are downloaded, and the filenames in the command.

    Cheers,
    Stephen

  177. I know about 170 or so people have already said this but THANK YOU! I’ve been struggling with this update, which I needed for an important Software Update.

  178. Hi Stephen,

    Thank you very much! It solved my problem on the win 2008 r2 server.

    Jian

  179. Thanks from the UK. Your fix worked a treat on my Windows Server 2012 R2 Standard.

    Nice to see that the software equivalent of turning it off and on again worked!

    Cheers, Andy

  180. Hi Stephen,

    worked great, many thanks. Will use your procedure for solving other update problems on other servers, f. e. in win2008.

    Best regards.

    Lutz

  181. I was hoping this might fix my issue but the KB kb4054566 keeps erroring out with Access Denied on the individual addpackage command. The underlying error is the same as it was using the 4.7.2 installer; the underlying error being :
    2019-08-07 09:43:13, Error CBS Failed to perform operation. [HRESULT = 0x80070476 – ERROR_TOO_MANY_LINKS]

  182. Thank you very much ! It’s worked for me

  183. Stephen, after a google search I found your concisely worded solution to this KB install problem and implemented it on 2 of my servers. It fixed the problem flawlessly. Thank you so much for taking the time to write this out so clearly! Best Regards! -Wes

  184. Hey Stephen, thank you for a great post! Do you by any chance have a fix for EventData

    ErrorCode 0x80070005?

  185. woow, mate, it’s working !!!

    .NET v4.72 installed and MS SQL Studio 18.4 installed after it also, great!!!

    Thank you for your time, work and share !!

    KR
    NTS0

  186. What exactly do you mean when you say “run these files individually?”

    Do you mean run them in sequence, and wait for the currently running one to fully complete before starting the next one?

    Would it be acceptable to put each group of commands in a batch file?

  187. does it work for windows 10??

  188. Hi Chichi,

    This should work for Windows 10, however you may have to use different files/names. But there’s also a chance the same files/names are used for Win10 as they are for 2012R2/2016.

    Cheers,
    Stephen

  189. Where can I contact u pls help me

  190. Hi Kel,

    If you have a few simple regarding the post, you can use the chat on the website. If you need assistance and need something more involved, you can visit the “Hire Stephen Wagner” tab on the website.

    Thanks,
    Stephen

  191. Thanks a lot of!! Working this method !

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)