Tuesday, August 8, 2017

WSUS 3.0 SP2 Re-installation Failure due to .NET Framework and Update Services Folder

I’ve just resolved this issue half an hour ago. Customer uninstalled WSUS 3.0 SP2 but failed to reinstall it back later.

The WSUSSetup.log under %temp% showed Error 0x80070643

2017-08-07 11:14:36  Error     MWUSSetup          InstallWsus: MWUS Installation Failed (Error 0x80070643: Fatal error during installation.)
2017-08-07 11:14:36  Error     MWUSSetup          CInstallDriver::PerformSetup: WSUS installation failed (Error 0x80070643: Fatal error during installation.)
2017-08-07 11:14:36  Error     MWUSSetup          CSetupDriver::LaunchSetup: Setup failed (Error 0x80070643: Fatal error during installation.)
2017-08-07 11:14:40  Error     MWUSSetup          DoInstall: Wsus setup failed (Error 0x80070643: Fatal error during installation.)

From the event viewer, Event ID 11722 showed that the installation is failed with Error 1722.

image

I came across Anoop Blog and resolve the installation issue. In short, WSUS 3.0 SP2 doesn’t like .NET Framework 4.6 or later very much, WSUS cannot detect those newer version. Here are some official article/blog from Microsoft regarding that, https://support.microsoft.com/en-us/help/3045727/cannot-install-wsus-3-2-on-a-server-with-the-net-framework-4-6-or-late and https://blogs.technet.microsoft.com/wsus/2017/06/12/microsoft-net-framework-4-7-coming-to-wsus/ 

The resolution is to uninstall .NET Framework 4.6 or later before the WSUS 3.0 SP2 installation. You can install the .NET Framework after the WSUS 3.0 SP2 completed.

The WSUS finally installed!
BUT more errors pops out from the event viewer.
Event ID 7053, 12022, 12032, 12012, 12002

image

image

I have tried a lot of things that people suggested like delete the wsus MMC profile under %appdata%\Microsoft\MMC, change the WsusPool Identity and Manage Pipeline, remove then re-add the Windows Process Activation Services from Server Manager, verify the permission on all the required folder, and SQL permission.

None of the above resolve my issue until I perform the steps below:

  1. Uninstall WSUS 3.0 SP2 from program and features
  2. Verify SQL SUSDB has been deleted, D:\WSUS content has been deleted.
  3. Manually delete C:\Program Files\Update Services folder. This is the step that resolve the issue. There will be some leftover files after the WSUS uninstalled, which will not be replaced even after the WSUS re-installation
  4. Delete the MMC profile under %appdata%\Microsoft\MMC
  5. Reboot the server
  6. Run the WSUS 3.0 SP2 setup.
  7. You should be able to see the WSUS Wizard prompt. This mean that the installation is successful!
  8. Close the Wizard, do not configure, let SUP do the configuration later.
  9. Install the WSUS latest patch. I installed KB2938066
  10. Install the SCCM SUP role

For your reference:
WSUS 3.0 (SP2):     Build 3.2.7600.226
WSUS 3.0 (SP2) + KB2720211:     Build 3.2.7600.251
WSUS 3.0 (SP2) + KB2734608:     Build 3.2.7600.256
WSUS 3.0 (SP2) + KB2828185:     Build 3.2.7600.262
WSUS 3.0 (SP2) + KB2938066:     Build 3.2.7600.274

9 comments:

  1. wow!just amazing,very useful information about microsoft intune,EMS and SCCM.it is related to my field,i have learned a lot from your blog,thank you for sharing with us.

    ReplyDelete
  2. Thanks, made my day man!

    ReplyDelete
  3. Uninstalling .net worked for me. Thanks for this. Saved me going on a journey

    ReplyDelete
  4. Uninstalling .NET 4.7.1 did it for me. THanks!

    ReplyDelete
  5. Uninstalling .NET 4.7 did it for me to. Thanks!

    ReplyDelete
  6. Can we uninstall .Net Framework 4.7 on Primary Site Server and re-install WSUS?

    ReplyDelete
  7. Are you Looking for loan lender?Apply for a Personal or business loans,Visit us today!
    Email: fundingc798@gmail.com

    ReplyDelete
  8. Do have any disturbance in your Washing machine and it has stopped working and you want to fix it at cheap cost then you are at the right place just contact us through our website.
    Washing Machine Repair Dubai

    ReplyDelete
  9. We offer you the top services of sanitary installation dubai from Green Astro Pools & Landscape L.L.C, at here we are giving the best services of plumbing and sanitary item which are used in building constructing like: Piping, fixture and appliance and also used to supply the wastewater or drainage wastewater. Our plumber will do it without doing any harm to your assets. So, if you want to enjoy our services then contact Green Astro Pools & Landscape L.L.C as soon as possible or visit Website for more information.

    ReplyDelete