This month my SCCM team had released a .NET framework update for 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, and 4.7.2 for Windows 7 and Server 2008 systems. I was trying to install that on one of my Windows 2008 R2 server system and it kept failing.
After looking at the WindowsUdpate.log file under C:\Windows, I spotted quite a few error codes which ranged from:
WARNING: Command line install completed. Return code = 0x0000066a, Result = Failed, Reboot required = false
WARNING: Exit code = 0x8024200B
WARNING: Exit code = 0x00000000; Call error code = 0x80240022
Installation Failure: Windows failed to install the following update with error 0x80070643
The way I fixed my particular issue was I repaired my Microsoft .NET Framework 4.5.2 listed under the Program and Features menu.
Start —> Run —> Appwiz.cpl
Locate Microsoft .Net Framework 4 Client Profile and right click it
Select the repair option and click on NEXT
After the installation has been repaired, it will ask for a reboot
Reboot the server
Install the latest update again and hopefully it should install just fine this time.
If the above procedure does not work, then you will have to look at alternatives.