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. 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
  9. 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!

  29 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

 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)