OSDeploy / OSDBuilder

PowerShell Module
http://osdbuilder.com
MIT License
193 stars 55 forks source link

Getting issues with 20H2 image while running the OSD builder #60

Open shindesganesh opened 2 years ago

shindesganesh commented 2 years ago

Error Code: 0x800F0823 (2148468771) Error Name: CBS_E_NEW_SERVICING_STACK_REQUIRED Error Source: CBS Error Message: Package needs a newer version of the servicing stack.

Add-WindowsPackage : Add-WindowsPackage failed. Error code = 0x80004001

Please help

OSDeploy commented 2 years ago

Details. What is your HOST Operating System? OSDBuilder Version? What OS are you trying to update? What is the Package that is failing?

shindesganesh commented 2 years ago

Details. What is your HOST Operating System? Windows 10 20H2 OSDBuilder Version? OSDBuilder 21.5.27.1 What OS are you trying to update? I'm trying to add the monthly patches into Windows 10 20H2 .wim file (OSMedia Name: Windows 10 Enterprise x64 20H2 19042.631) What is the Package that is failing? I'm failing to add the all monthly patches

shindesganesh commented 2 years ago

OSDSUS (Microsoft Updates) Downloaded 02/09/2021 18:00:00 - DotNetCU - 2021-02 Cumulative Update for .NET Framework 3.5 and 4.8 for Windows 10 version 20H2 for x64 (KB4601050) 02/16/2021 22:00:06 - AdobeSU - Update for Removal of Adobe Flash Player for Windows 10 Version 20H2 for x64-based systems (KB4577586) 03/29/2021 21:00:06 - ComponentDU SafeOS - 2021-03 Dynamic Update for Windows 10 Version 20H2 for x64-based Systems (KB5000983) 07/29/2021 21:00:06 - SetupDU - 2021-07 Dynamic Update for Windows 10 Version 20H2 for x64-based Systems (KB5004313) 08/10/2021 17:00:00 - DotNetCU - 2021-08 Cumulative Update for .NET Framework 3.5 and 4.8 for Windows 10 Version 20H2 for x64 (KB5004331) 08/10/2021 17:00:06 - SetupDU - 2021-08 Dynamic Update for Microsoft server operating system for x64-based Systems (KB5005444) 08/10/2021 17:00:06 - SSU - 2021-08 Servicing Stack Update for Windows 10 Version 20H2 for x64-based Systems (KB5005260) 08/10/2021 17:00:08 - LCU - 2021-08 Cumulative Update for Windows 10 Version 20H2 for x64-based Systems (KB5005033)

shindesganesh commented 2 years ago

2021-09-07-125556 OS: (SSU) Servicing Stack Update Get-WindowsPackage : Get-WindowsPackage failed. Error code = 0x80004001 At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\21.7.16.1\Private\AllFunctions.ps1:6806 char:17

INSTALLING 2021-08 Servicing Stack Update for Windows 10 Version 20H2 for x64-based Systems (KB5005260) - ssu-19041.1161-x64_7c0b02b7c1c2419ca955f7a4a4ab3f316dce6e23.cab WARNING: Failed to add package E:\OSDBuilder\Updates\ssu-19041.1161-x64_7c0b02b7c1c2419ca955f7a4a4ab3f316dce6e23.cab WARNING: Add-WindowsPackage failed. Error code = 0x80004001 VERBOSE: OSDBuilder: Review the log for more information VERBOSE: E:\OSDBuilder\OSMedia\build2109071248\info\logs\2021-09-07-125604-Update-ServicingStackOS-KB19041 1161.log 2021-09-07-125609 OS: Update Build Revision 19042.631 (Pre-LCU) 2021-09-07-125609 OS: (LCU) Latest Cumulative Update INSTALLING 2021-08 Cumulative Update for Windows 10 Version 20H2 for x64-based Systems (KB5005033) - windows10.0-kb5005033-x64_ccf8380bde085933ab8d3683f1de4bfbd550c0a0.cab C:\Users\pa_gs7255\AppData\Local\Temp\SSU\SSU-19041.1161-x64.cab VERBOSE: Target Image Version 10.0.19042.631 WARNING: Failed to add package C:\Users\pa_gs7255\AppData\Local\Temp\SSU\SSU-19041.1161-x64.cab WARNING: Add-WindowsPackage failed. Error code = 0x80004001 Add-WindowsPackage : Add-WindowsPackage failed. Error code = 0x80004001 At C:\Program Files\WindowsPowerShell\Modules\OSD\21.8.3.1\Public\DISM\Add-WindowsPackageSSU.ps1:94 char:13

WARNING: Failed to add package E:\OSDBuilder\Updates\windows10.0-kb5005033-x64_ccf8380bde085933ab8d3683f1de4bfbd550c0a0.cab WARNING: Add-WindowsPackage failed. Error code = 0x80004001 VERBOSE: OSDBuilder: Review the log for more information VERBOSE: E:\OSDBuilder\OSMedia\build2109071248\info\logs\2021-09-07-125622-Update-CumulativeOS-KB5005033.log 2021-09-07-125630 OS: Update Build Revision 19042.631 (Post-LCU) 2021-09-07-125630 OS: (ASU) Adobe Flash Player Security Update Get-WindowsPackage : Get-WindowsPackage failed. Error code = 0x80004001 At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\21.7.16.1\Private\AllFunctions.ps1:6254 char:17

INSTALLING Update for Removal of Adobe Flash Player for Windows 10 Version 20H2 for x64-based systems (KB4577586) - windows10.0-kb4577586-x64_025c603f506481a321d52e47e18fe8374b64a3a5.cab WARNING: Failed to add package E:\OSDBuilder\Updates\windows10.0-kb4577586-x64_025c603f506481a321d52e47e18fe8374b64a3a5.cab WARNING: Add-WindowsPackage failed. Error code = 0x80004001 VERBOSE: OSDBuilder: Review the log for more information VERBOSE: E:\OSDBuilder\OSMedia\build2109071248\info\logs\2021-09-07-125637-Update-AdobeOS-KB4577586.log 2021-09-07-125642 OS: (NetCU) DotNet Framework Cumulative Update Get-WindowsPackage : Get-WindowsPackage failed. Error code = 0x80004001 At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\21.7.16.1\Private\AllFunctions.ps1:6606 char:17

INSTALLING 2021-02 Cumulative Update for .NET Framework 3.5 and 4.8 for Windows 10 version 20H2 for x64 (KB4601050) - windows10.0-kb4601050-x64-ndp48_cb09a1198335a24535d73b8ddfa4196ba5edc115.cab WARNING: Failed to add package E:\OSDBuilder\Updates\windows10.0-kb4601050-x64-ndp48_cb09a1198335a24535d73b8ddfa4196ba5edc115.cab WARNING: Add-WindowsPackage failed. Error code = 0x80004001 VERBOSE: OSDBuilder: Review the log for more information VERBOSE: E:\OSDBuilder\OSMedia\build2109071248\info\logs\2021-09-07-125650-Update-DotNetOS-KB4601050.log Get-WindowsPackage : Get-WindowsPackage failed. Error code = 0x80004001 At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\21.7.16.1\Private\AllFunctions.ps1:6606 char:17

INSTALLING 2021-08 Cumulative Update for .NET Framework 3.5 and 4.8 for Windows 10 Version 20H2 for x64 (KB5004331) - windows10.0-kb5004331-x64-ndp48_aaa66d2444738c753b3a22239bf5680a553fc94a.cab WARNING: Failed to add package E:\OSDBuilder\Updates\windows10.0-kb5004331-x64-ndp48_aaa66d2444738c753b3a22239bf5680a553fc94a.cab WARNING: Add-WindowsPackage failed. Error code = 0x80004001 VERBOSE: OSDBuilder: Review the log for more information VERBOSE: E:\OSDBuilder\OSMedia\build2109071248\info\logs\2021-09-07-125701-Update-DotNetOS-KB5004331.log 2021-09-07-125706 OS: Update OneDriveSetup.exe Existing Image Version 19.043.0304.0013 To update OneDriveSetup.exe use one of the following commands: Save-OSDBuilderDownload -ContentDownload 'OneDriveSetup Enterprise' Save-OSDBuilderDownload -ContentDownload 'OneDriveSetup Production' 2021-09-07-125706 OS: DISM Cleanup-Image StartComponentCleanup ResetBase Get-WindowsCapability : Get-WindowsCapability failed. Error code = 0x80004001 At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\21.7.16.1\Private\AllFunctions.ps1:4548 char:15

Deployment Image Servicing and Management tool Version: 10.0.14393.4169

Image Version: 10.0.19041.1

Error: 87

The cleanup-image option is unknown. For more information, refer to the help by running DISM.exe /?.

The DISM log file can be found at E:\OSDBuilder\OSMedia\build2109071248\info\logs\2021-09-07-125711-Invoke-DismCleanupImage.log 2021-09-07-125718 OS: Backup Auto Extra Files to E:\OSDBuilder\OSMedia\build2109071248\WinPE\AutoExtraFiles 2021-09-07-125735 Source: E:\OSDBuilder\Mount\os2109071248\Windows\Servicing\Sessions\Sessions.xml Destination: E:\OSDBuilder\OSMedia\build2109071248\info\Sessions.xml Export: E:\OSDBuilder\OSMedia\build2109071248\Sessions.txt Export: E:\OSDBuilder\OSMedia\build2109071248\info\xml\Sessions.xml Export: E:\OSDBuilder\OSMedia\build2109071248\info\json\Sessions.json 2021-09-07-125736 OS: Export Inventory to E:\OSDBuilder\OSMedia\build2109071248 WARNING: Get-WindowsOptionalFeature is not supported by this Operating System WARNING: Get-WindowsCapability is not supported by this Operating System WARNING: Get-WindowsPackage is not supported by this Operating System 2021-09-07-125808 OS: Dismount from E:\OSDBuilder\Mount\os2109071248 2021-09-07-130217 OS: Export to E:\OSDBuilder\OSMedia\build2109071248\OS\sources\install.wim 2021-09-07-130311 OS: Export Configuration to E:\OSDBuilder\OSMedia\build2109071248\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 2021-09-07-130312 OS: Export Image Content to E:\OSDBuilder\OSMedia\build2109071248\info\Get-WindowsImageContent.txt 2021-09-07-130322 Media: Renaming "E:\OSDBuilder\OSMedia\build2109071248" to "Windows 10 Enterprise x64 20H2 19042.631"

shindesganesh commented 2 years ago

Any help will be appreciated.. thank you