OSDBuilder icon indicating copy to clipboard operation
OSDBuilder copied to clipboard

Cumulative Update for .NET framework failing on Server 2019

Open dsolodow opened this issue 5 years ago • 8 comments

OSDBuilder 19.8.27.0, running under Windows PowerShell on Windows 10 1903 x64. Did an import-osmedia of a fresh off the ISO Server 2019 Desktop Experience.

Both KB4506990 and KB4511522 failed with 0x8007371b

dsolodow avatar Aug 28 '19 16:08 dsolodow

Thanks, I'll have a test with an updated version

OSDeploy avatar Sep 05 '19 05:09 OSDeploy

Same here osdbuilder 19.9.20.0, error as mentioned before.

FLeven avatar Oct 04 '19 12:10 FLeven

Updated to the new osdsus 19.10.8.0 module and still get the 0x8007371b error

FLeven avatar Oct 10 '19 10:10 FLeven

Have either of you taken the time to lookup 0x8007371B? This is a Microsoft error, not OSDBuilder. OSDBuilder is simply reflecting this (I'd get more grief if I hide these things).

This is the what the error message is: 0x8007371B ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE One or more required members of the transaction are not present

Understanding this, keep in mind that if this was during Update-OSMedia, you do not have .NET Framework 3.5 installed, which can explain the 'One or more required members of the transaction are not present'. If you enable .NET Framework 3.5 in a New-OSBuild, do you still receive this error? Additionally, you have the full LOG file that you can review to determine exactly what is throwing this Microsoft error. I'd suggest looking through the log if you want to know exactly what the cause is. I do not have time. Finally, I did run a test on September 23, 2019 using Update-OSMedia and did not receive any error messages according to my logs. What Anti-Virus are you running?

OSDeploy avatar Oct 10 '19 13:10 OSDeploy

I only encountered it with that specific module version. I updated to a newer module, and re-ran from the clean ISO and it was good.

dsolodow avatar Oct 10 '19 17:10 dsolodow

No AV installed/active and - enableNetfx3 as global template set.

why is the "enable netfx 3.5" task running before the net update task, if this could be important.

In verbose mode I get a "terminated" error on my client machine and when using the wim in mdt it will get the net updates installed "again.

Building On my server core in verbose mode, I get 2 warnings" failed to add package..." then a "add-package error... " and then a" successfully added package... "

I will have to confirm if this build contains the. Net updates or not.

FLeven avatar Oct 10 '19 21:10 FLeven

"why is the "enable netfx 3.5" task running before the net update task, if this could be important."

If you ran Update-OSMedia, then .Net is already up to date. New-OSBuild then enables NETFX35, which now has to be patched since it is in an unpatched state, so any NET 3.5 CU's now can apply

And don't go by the Verbose or console output. If your not reading directly in the Dism logs that are saved, you are just wasting time. Your answers are in there

Finally multiple warnings and success etc ... If you would look at the logs, instead of console output only, you would see that the NET CU contains two separate updates under the same KB. Quite possible one is failing because it doesn't apply, or because it's run before in Update-OSMedia

It's.also.worth noting that in my test OSBuild the only thing I did was enable NETFX35, nothing more or less. So apples to apples means I have to mirror your task and you have to mirror mine. Could it be something else like adding or removing features, roles, etc. Don't know.

OSDeploy avatar Oct 11 '19 14:10 OSDeploy

OK, Windows 10 is working fine, without any problem. It is only server 2019, different ISO tested, always both net updates fail.

FLeven avatar Oct 11 '19 19:10 FLeven