Hello Impossible to install this update from july. done : cleanup the updates, renamed the software distribution after stopping the services windowsupdate and bits, rebooted the machine, used the repair windows update cab delivered by m$. Same problem. System windows 8.1 x64 with all updates to June 2018. Any ideas will be welcome. Thx in advance.
I have the same issue. I also tried downloading the update manually from the Windows Update Catalog, and it still won't install. Same error code as your title. Of the 3 files under KB4340558, KB4338419 is the one that won't finish. I did however succeed at installing KB4340006 (The 2018-07 Security Only update for .NET on 8.1), so that might be a reasonable workaround for now.
What worked for me: - Uninstall latest .NET 4.x rollups KB4229727 & KB4096417 - Run Dism cleanup, or Disk Cleanup > Windows Update Cleanup - Reboot - Now KB4338419 would be installed successfully
KB4338419 is re-released, with same version 6.3.1.2194 some components are updated, but not the one that caused the issue NetFx4-PenIMC what a quality team you have Microsoft
This worked in a different context for me, but nevertheless the idea and principle is the same. All that I say applies to Windows 2012 R2 server, but it should be very similar if not identical to Windows 8.1 64-bit. The first version of KB4340558 installed correctly after installing separately .NET Framework 4.7.2. I had the 2018-05 .NET Framework update containing KB4096417 installed, but not the preview 2018-06. After the expiring of the first version of KB4340558, I "uninstalled" using the Remove function of WSUS, but this did not uninstall KB4096417, just the wrapping installer. The second release of KB4340558 refused to install in such context. I applied the method provided by @abbodi1406 in the given conditions and the second version of KB4340558 installed successfully after on a significant number of test VMs. Lifesaving!
Yeah, Dism cleanup is the only way to remove leftovers from OS (i.e. from WinSxS) this include the security catalogs which contain the hash confliction issue with KB4338419
True, uninstalling KB4338419 without running dism /online /cleanup-image /startcomponentcleanup and reboot did not resolve the issue.