OSDeploy / OSDBuilder

PowerShell Module
http://osdbuilder.com
MIT License
199 stars 57 forks source link

possible issue injecting LCU in server 1809 #64

Open pkosek opened 3 years ago

pkosek commented 3 years ago

Hi,

wonder if anyone else is having this problem:

full log `$osmedia | Update-OSMedia -Execute VERBOSE: WSUSXML 21.10.14.1 Windows http://wsusxml.osdeploy.com/release Operation Running ======================================================================================== Update-OSMedia PROCESS ======================================================================================== Source OSMedia Windows Image Information -OSMedia Path: C:\OSDBuilder\OSMedia\Windows Server 2019 Standard Desktop Experience x64 1809 17763.2237 -Architecture: x64 -Edition: ServerStandard -Type: Server -Languages: en-US -Major Version: 10 -Build: 17763 -Version: 10.0.17763.2237 -SPBuild: 2237 -SPLevel: 0 -Created Time: 08/05/2021 20:49:31 -Modified Time: 10/20/2021 13:39:30

WSUSXML (Microsoft Updates) Downloaded 01/14/2020 18:00:00 - DotNet - Microsoft .NET Framework 4.8 for Windows Server 2019 Version 1809 for x64 (KB4486153) 07/14/2020 17:00:00 - DotNetCU - 2020-07 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4566516) 07/14/2020 17:00:00 - DotNetCU - 2020-07 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4566516) 08/11/2020 17:00:00 - DotNetCU - 2020-08 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4570505) 08/11/2020 17:00:00 - DotNetCU - 2020-08 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4570505) 02/09/2021 18:00:00 - DotNetCU - 2021-02 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4601887) 02/09/2021 18:00:00 - DotNetCU - 2021-02 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4601887) 02/16/2021 22:00:09 - AdobeSU - Update for Removal of Adobe Flash Player for Windows Server 2019 for x64-based systems (KB4577586) 08/10/2021 17:00:06 - SSU - 2021-08 Servicing Stack Update for Windows Server 2019 for x64-based Systems (KB5005112) 10/12/2021 17:00:00 - DotNetCU - 2021-10 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB5006765) 10/12/2021 17:00:00 - DotNetCU - 2021-10 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB5006765) 10/12/2021 17:00:06 - LCU - 2021-10 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5006672) ======================================================================================== ======================================================================================== Working Information -WorkingName: build2110200414 -WorkingPath: C:\OSDBuilder\OSMedia\build2110200414 -OS: C:\OSDBuilder\OSMedia\build2110200414\OS -WinPE: C:\OSDBuilder\OSMedia\build2110200414\WinPE -Info: C:\OSDBuilder\OSMedia\build2110200414\info -Logs: C:\OSDBuilder\OSMedia\build2110200414\info\logs

2021-10-20-161425 MEDIA: Copy Operating System to C:\OSDBuilder\OSMedia\build2110200414 2021-10-20-161453 WinPE: Mount WinPE.wim to C:\OSDBuilder\Mount\winpe2110200414 2021-10-20-161517 WinPE: Mount WinRE.wim to C:\OSDBuilder\Mount\winre2110200414 2021-10-20-162026 WinPE: Mount WinSE.wim to C:\OSDBuilder\Mount\setup2110200414 2021-10-20-162038 WinPE: (SSU) Servicing Stack Update WARNING: Skipping WinPE SSU Update for this version of Windows 2021-10-20-162038 WinPE: (LCU) Latest Cumulative Update WARNING: Skipping WinPE LCU Update for this version of Windows 2021-10-20-162038 MEDIA: Update Media Sources with WinSE.wim 2021-10-20-162038 WinPE: Export WinPE Package Inventory to C:\OSDBuilder\OSMedia\build2110200414\WinPE\info 2021-10-20-162055 WinPE: Dismount-WimsPE 2021-10-20-162206 WinPE: Export WIMs to C:\OSDBuilder\OSMedia\build2110200414\WinPE 2021-10-20-162213 WinPE: Rebuild C:\OSDBuilder\OSMedia\build2110200414\OS\sources\boot.wim 2021-10-20-162217 WinPE: Export WIM Inventory to C:\OSDBuilder\OSMedia\build2110200414\WinPE\info 2021-10-20-162218 OS: Mount to C:\OSDBuilder\Mount\os2110200414 2021-10-20-162403 OS: Replace C:\OSDBuilder\Mount\os2110200414\Windows\System32\Recovery\winre.wim 2021-10-20-162410 OS: Mount Registry for UBR Information 2021-10-20-162413 OS: (SSU) Servicing Stack Update INSTALLED 2021-08 Servicing Stack Update for Windows Server 2019 for x64-based Systems (KB5005112) - windows10.0-kb5005112-x64_99919606d4632b1f4b9bd4bff48a363739776047.cab 2021-10-20-162414 OS: Update Build Revision 17763.2237 (Pre-LCU) 2021-10-20-162414 OS: (LCU) Latest Cumulative Update INSTALLING 2021-10 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5006672) - windows10.0-kb5006672-x64_45fca68c1624de53a4360ea477a6e6cf3d05f6bd.cab C:\Users\user\AppData\Local\Temp\SSU\SSU-17763.2170-x64.cab VERBOSE: Target Image Version 10.0.17763.2237 VERBOSE: Successfully added package C:\Users\user\AppData\Local\Temp\SSU\SSU-17763.2170-x64.cab 2021-10-20-163147 OS: Update Build Revision 17763.2237 (Post-LCU) 2021-10-20-163147 OS: (ASU) Adobe Flash Player Security Update INSTALLED Update for Removal of Adobe Flash Player for Windows Server 2019 for x64-based systems (KB4577586) - windows10.0-kb4577586-x64_06ebe9335c8e417e086810e04b1ddc89cb427d03.cab 2021-10-20-163148 OS: (NetCU) DotNet Framework Cumulative Update INSTALLED Microsoft .NET Framework 4.8 for Windows Server 2019 Version 1809 for x64 (KB4486153) - windows10.0-kb4486153-x64_a26355147c0496eb4e6b5493319946c508a15e0d.cab INSTALLED 2020-07 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4566516) - windows10.0-kb4565625-x64_0030dee25072b20025ebb9c4f31844a0cd8bb26f.cab INSTALLED 2020-07 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4566516) - windows10.0-kb4565632-x64-ndp48_8b481763cf07efc55f729bb1e08dc9fe32d3237a.cab INSTALLED 2020-08 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4570505) - windows10.0-kb4569750-x64-ndp48_0dd3093f3f40487ea43b5e4d0016798e6e7d8f7a.cab INSTALLED 2020-08 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4570505) - windows10.0-kb4569776-x64_3ea94342674c03a8316ebfe073b8f24816699cc5.cab INSTALLED 2021-02 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4601887) - windows10.0-kb4601055-x64-ndp48_2f27cd9b42e020a7dd2abe2f899793fe28d7a93b.cab INSTALLED 2021-02 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4601887) - windows10.0-kb4601060-x64_03981619b805af509ae2c728b082c79c41f51216.cab INSTALLED 2021-10 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB5006765) - windows10.0-kb5005540-x64-ndp48_c8735dd8f17d8d1a53a000b62ad96995b17bd490.cab INSTALLED 2021-10 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB5006765) - windows10.0-kb5005543-x64_2fa26eab83f0f1aac86b5598afe5e41fd40da70b.cab 2021-10-20-163204 OS: DISM Cleanup-Image StartComponentCleanup ResetBase

Deployment Image Servicing and Management tool Version: 10.0.19041.844

Image Version: 10.0.17763.2237

[=========== 20.0% ] The operation completed successfully. 2021-10-20-163408 OS: Backup Auto Extra Files to C:\OSDBuilder\OSMedia\build2110200414\WinPE\AutoExtraFiles 2021-10-20-163411 OS: Exporting Sessions.xml Patch Inventory Source: C:\OSDBuilder\Mount\os2110200414\Windows\Servicing\Sessions\Sessions.xml Destination: C:\OSDBuilder\OSMedia\build2110200414\info\Sessions.xml Export: C:\OSDBuilder\OSMedia\build2110200414\Sessions.txt Export: C:\OSDBuilder\OSMedia\build2110200414\info\xml\Sessions.xml Export: C:\OSDBuilder\OSMedia\build2110200414\info\json\Sessions.json 2021-10-20-163412 OS: Export Inventory to C:\OSDBuilder\OSMedia\build2110200414 2021-10-20-163447 OS: Dismount from C:\OSDBuilder\Mount\os2110200414 2021-10-20-163854 OS: Export to C:\OSDBuilder\OSMedia\build2110200414\OS\sources\install.wim 2021-10-20-163932 OS: Export Configuration to C:\OSDBuilder\OSMedia\build2110200414\WindowsImage.txt

WARNING: The Update Build Revision did not change after Windows Updates WARNING: There may have been an issue applying the Latest Cumulative Update if this was not expected

WARNING: Trying to rename the Build directory, but it already exists WARNING: Appending 2110200439 to the directory Name

2021-10-20-163933 OS: Export Image Content to C:\OSDBuilder\OSMedia\build2110200414\info\Get-WindowsImageContent.txt 2021-10-20-163945 Media: Renaming "C:\OSDBuilder\OSMedia\build2110200414" to "Windows Server 2019 Standard Desktop Experience x64 1809 17763.2237 2110200439"

PS C:\WINDOWS\system32> PS C:\WINDOWS\system32> Get-OSMedia -Newest -Verbose VERBOSE: VERBOSE: OSMedia Full Path: C:\OSDBuilder\OSMedia\Windows Server 2019 Standard Desktop Experience x64 1809 17763.2237 2110200439 VERBOSE: MediaType: OSMedia VERBOSE: ImageName: Windows Server 2019 Standard (Desktop Experience) VERBOSE: Arch: x64 VERBOSE: EditionId: ServerStandard VERBOSE: InstallationType: Server VERBOSE: Version: 10.0.17763.2237 VERBOSE: MajorVersion: 10 VERBOSE: MinorVersion: 0 VERBOSE: Build: 17763 VERBOSE: UBR: 17763.2237 VERBOSE: UpdateOS: Windows Server VERBOSE: Languages: en-US VERBOSE: ReleaseId: 1809 VERBOSE: CurrentBuild: 17763 VERBOSE: OSMFamily: Server ServerStandard x64 17763 en-US VERBOSE: Guid (New): e4e2636d-58a7-4929-86de-88efb440ddb0 VERBOSE: Installed: Microsoft .NET Framework 4.8 for Windows Server 2019 Version 1809 for x64 (KB4486153) Windows10.0-KB4486153-x64.cab VERBOSE: Installed: 2020-07 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4566516) windows10.0-kb4565632-x64-ndp48.cab VERBOSE: Installed: 2020-07 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4566516) windows10.0-kb4565625-x64.cab VERBOSE: Installed: 2020-08 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4570505) windows10.0-kb4569776-x64.cab VERBOSE: Installed: 2020-08 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4570505) windows10.0-kb4569750-x64-ndp48.cab VERBOSE: Installed: 2021-02 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4601887) Windows10.0-KB4601055-x64-NDP48.cab VERBOSE: Installed: 2021-02 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB4601887) Windows10.0-KB4601060-x64.cab VERBOSE: Installed: Update for Removal of Adobe Flash Player for Windows Server 2019 for x64-based systems (KB4577586) Windows10.0-KB4577586-x64.cab VERBOSE: Installed: 2021-08 Servicing Stack Update for Windows Server 2019 for x64-based Systems (KB5005112) Windows10.0-KB5005112-x64.cab VERBOSE: Installed: 2021-10 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB5006765) Windows10.0-KB5005543-x64.cab VERBOSE: Installed: 2021-10 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB5006765) Windows10.0-KB5005540-x64-NDP48.cab VERBOSE: Not Installed: 2021-10 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5006672) Windows10.0-KB5006672-x64.cab VERBOSE:

MediaType : OSMedia ModifiedTime : 20/10/2021 16:39:32 Superseded : False NeedsUpdate : True Revision : OK Updates : Update Name : Windows Server 2019 Standard Desktop Experience x64 1809 17763.2237 2110200439 OperatingSystem : Windows Server Arch : x64 ReleaseId : 1809 RegBuild : 17763 UBR : 17763.2237 Version : 10.0.17763.2237 MajorVersion : 10 MinorVersion : 0 Build : 17763 Languages : {en-US} EditionId : ServerStandard InstallationType : Server ImageName : Windows Server 2019 Standard (Desktop Experience) OSMFamily : Server ServerStandard x64 17763 en-US FullName : C:\OSDBuilder\OSMedia\Windows Server 2019 Standard Desktop Experience x64 1809 17763.2237 2110200439 CreatedTime : 05/08/2021 20:49:31 OSMGuid : e4e2636d-58a7-4929-86de-88efb440ddb0 OSMFamilyV1 : 20210805204931ServerStandard `

OSDeploy commented 2 years ago

This is a common issue that seems to happen on some Builds where the Update isn't detected in the Sessions.xml. I have not discovered the cause but you can verify if the Cumulative Update was installed properly by looking at the build