Integrating DotNet4.8 Feature Pack and [latest] DotNet CU/Service Pack

All:

On v1607 (Server 2016 to Win10EntIOT/LTSB), has as anyone successfully integrated the DotNet4.8 Feature Pack [kb4486129] and it's latest Service Pack [kb5020873] at the same time ?

In my experience, it will succeed during NTLite apply, but the CU/SP will roll-back failed during OOBE.

[Microsoft .NET Framework 4.8 for Windows 10 Version 1607 and Windows Server 2016 for x64 (KB4486129)]
and
[2022-12 Cumulative Update for .NET Framework 4.8 for Windows Server 2016 for x64 (KB5020873)]
 
Last edited:
The root problem is the base .NET 4.8 package has pending operations. DISM will allow an update to integrate, even if there's known pending operations. When those operations are applied at boot, the later update gets rejected and rolled back.

If you wanted a single install pass, try this:

1. Integrate .NET 4.8 feature package to image.

2. From Post-Setup, install the 4.8 update package.
dism /Online /Add-Package /PackagePath:"%WINDIR%\Setup\Updates\????.cab" /ignorecheck /norestart

3. Manually add a reboot as the last line of SetupComplete.cmd (after folder cleanup).
shutdown.exe /r /t 3

When the install image reboots before OOBE, pending operations are cleared. Now you can apply the update, but it requires its own reboot to complete installation. Since it's the last task, it's safe to ignore the "don't reboot in Post-Setup" directive.

User provisioning steps will resume after this reboot.

I don't believe abbodi86 has a WA version of .NET 4.8 that works with W10. The WA repack gets around the whole problem, by flattening all the pending operations to a finalized result.

Of course, you can just sysprep the post-updated image.
 
Do you enable .NET 3.5 before adding .NET 4.8?

neither kb4486129 or kb5020873 trigger pending installation in my test (after adding SSU)
but i didn't try installing the image
 
Do you enable .NET 3.5 before adding .NET 4.8?

neither kb4486129 or kb5020873 trigger pending installation in my test (after adding SSU)
but i didn't try installing the image
I did; In fact I tried adding .Net3.5 (SFX source .cab) and .Net4.8 KB (.msu) in independent NTLite apply sessions, so the same result/no-avail.

Thank you for all that reply.

It seems that applying .Net4.x SP/CU at first boot/first login is the best solution until someone at Microsoft takes .Net3.5 and Win10ENT IOT LTSB/v1607 and LTSC2019/v1809 out behind the woodshed.
 
.Nets are an afront to humanity but i get on alright with them, SS, enable 3.5, add net4.8, CU then nets CU, capture.
Hav'nt got a setupcomplete for 17763.3165.
 
.Nets are an afront to humanity but i get on alright with them, SS, enable 3.5, add net4.8, CU then nets CU, capture.
Hav'nt got a setupcomplete for 17763.3165.
Is it possible to roll back a .NET installation to 3.5 and reapply these updates in the correct order? I currently have all Win10 updates except for KB5022502 installed.
 
.NET updates are independent of the monthly Windows CU. If you have .NET 4.8 enabled, you can apply KB5022502 at any time.
 
Thanks for the responses. I should have mentioned that the reason I want to roll back and reapply is because in my current state, when I attempt to apply KB5022502, I get an Error 0x80092004 - [8196].

I also neglected to mention that I am trying to do this on an live / online / installed image.
 
Last edited:
Back
Top