Closed dhekimian closed 2 years ago
You are opening an issue with the OSDSUS PowerShell Module, but your issue seems to be with OSDBuilder (kinda). I'm going to be honest, this isn't really an issue with OSDSUS as it is working as expected. Keep in mind that OSDSUS is just export of WSUS. I do not test the 75-100 different Packages that Microsoft releases on Patch Tuesday, that would be impossible to keep up with So I plan on closing this with this comment and my 2 cents.
First, you have an issue in WinPE with a combined SSU/LCU throwing an Add-WindowsPackage error. I have no clue what the issue is, but OSDBuilder creates a massive amount of logs. I'm going to refer you to those files in your OSDBuilder\OSMedia*\info\logs directory as those would accurately detail what the issue is, rather than me making a guess
Second, your .NET Framework Updates are failing and you are receiving a warning message: WARNING: Add-WindowsPackage failed. Error code = 0x800f081e VERBOSE: OSDBuilder: 0x800f081e The package is not applicable to this image This is CLEAR. The Package that is being installed does not apply to your OS. If you want further information, look for a LOG in your LOGS directory that has the same KBNumber in the file name. This will explain things, but if I must guess, you are trying to install a .NET 4.8 Update on Server 2019 that does not have .NET 4.8 installed. I would expect that if you enable .NET as an OSBuild, this will install properly without error
Finally, the last error seems to be because it cannot RENAME the build directory. Is it possible you are not excluding the Mount directory from your AntiVirus scanning? If that is ok, then its probably because DISM failed and still has some parts of the REGISTRY mounted. I'd suggest Get-WindowsImage -Mounted to see what's going on
Good luck!
Could it be related to this? Any way to make sure KB5005260 is installed before it tries to install 2021-08 Servicing Stack Update for Windows Server 2019 for x64-based Systems (KB5005112)?
Absolutely, but that's only part of it. You are using an OS from January 2019 (OS Build 17763.253), meaning it is two and a half years out of compliance. Microsoft VLSC has a Windows Server 2019 download from August (OS Build 17763.2114) that works perfectly with the latest OSDSUS
I also see from your logs that you are trying to update an Evaluation Version. Microsoft does have a newer Evaluation from September 2019 (OS Build 17763.737), but that's still two years old.
I have no problems supporting the latest released versions of an OS, but I think I have to draw the line at trying to band-aid an OS Build that is incredibly outdated. To be clear, I have no plans on creating a workaround for the two year old Server 2019 Evaluation and continuing to maintain that going forward through End of Support in 2029
Thank you for suggesting I try a newer ISO. OSDBuilder has been successfully running via a CI/CD job for so long we never though to check for a newer ISO. I downloaded the Windows build from August 2021 Windows Server 2019 Standard Desktop Experience x64 1809 17763.2114 and gave it a try but get the same error message thus the reason I'm replying yet again incase anyone reads this.
I even tried installing the latest DISM via the Windows ADK and jumped through various Environment Variable / Path hoops along with ensuring it loaded the latest PowerShell Module for DISM to see if that would resolve it with no such luck.
Any idea how to verify what the error message is referring to?
C:\Users\administrator.TA\AppData\Local\Temp\SSU\SSU-17763.2170-x64.cab
PS>TerminatingError(Add-WindowsPackage): "An error occurred. No operation was performed.
Verify that DISM is installed properly in the image, and then try the operation again.
Update-OSMedia.log
**********************
Windows PowerShell transcript start
Start time: 20210920111636
Username: TA\Administrator
RunAs User: TA\Administrator
Configuration Name:
Machine: WIN-RUNNER-01 (Microsoft Windows NT 10.0.17763.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 2184
PSVersion: 5.1.17763.2183
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17763.2183
BuildVersion: 10.0.17763.2183
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
========================================================================================
Working Information
-WorkingName: build2109201116
-WorkingPath: C:\OSDBuilder\OSMedia\build2109201116
-OS: C:\OSDBuilder\OSMedia\build2109201116\OS
-WinPE: C:\OSDBuilder\OSMedia\build2109201116\WinPE
-Info: C:\OSDBuilder\OSMedia\build2109201116\info
-Logs: C:\OSDBuilder\OSMedia\build2109201116\info\logs
========================================================================================
2021-09-20-111637
MEDIA: Copy Operating System to C:\OSDBuilder\OSMedia\build2109201116
2021-09-20-111650
WinPE: Mount WinPE.wim to C:\OSDBuilder\Mount\winpe2109201116
2021-09-20-111659
WinPE: Mount WinRE.wim to C:\OSDBuilder\Mount\winre2109201116
2021-09-20-111707
WinPE: Mount WinSE.wim to C:\OSDBuilder\Mount\setup2109201116
2021-09-20-111717
WinPE: (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-09-20-111717
WinRE: (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-09-20-111717
WinSE: (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-09-20-111717
WinPE: (LCU) Latest Cumulative Update
INSTALLING
2021-09 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5005568) - windows10.0-kb5005568-x64_8bf5f955f8221e5d1df616ffa9a3d6cb28e2fc5d.cab
C:\Users\administrator.TA\AppData\Local\Temp\SSU\SSU-17763.2170-x64.cab
PS>TerminatingError(Add-WindowsPackage): "An error occurred. No operation was performed.
Verify that DISM is installed properly in the image, and then try the operation again.
"
Add-WindowsPackage : An error occurred. No operation was performed.
Verify that DISM is installed properly in the image, and then try the operation again.
At C:\Program Files\WindowsPowerShell\Modules\OSD\21.9.14.1\Public\DISM\Add-WindowsPackageSSU.ps1:94 char:13
+ Add-WindowsPackage -PackagePath $_.FullName -Path $Path - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-WindowsPackage], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsPackageCommand
Add-WindowsPackage : An error occurred. No operation was performed.
Verify that DISM is installed properly in the image, and then try the operation again.
At C:\Program Files\WindowsPowerShell\Modules\OSD\21.9.14.1\Public\DISM\Add-WindowsPackageSSU.ps1:94 char:13
+ Add-WindowsPackage -PackagePath $_.FullName -Path $Path - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-WindowsPackage], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsPackageCommand
2021-09-20-112104
WinRE: (LCU) Latest Cumulative Update
INSTALLING
2021-09 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5005568) - windows10.0-kb5005568-x64_8bf5f955f8221e5d1df616ffa9a3d6cb28e2fc5d.cab
2021-09-20-112500
WinSE: (LCU) Latest Cumulative Update
INSTALLING
2021-09 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5005568) - windows10.0-kb5005568-x64_8bf5f955f8221e5d1df616ffa9a3d6cb28e2fc5d.cab
2021-09-20-112841
MEDIA: Update Media Sources with WinSE.wim
2021-09-20-112841
WinPE: Export WinPE Package Inventory to C:\OSDBuilder\OSMedia\build2109201116\WinPE\info
2021-09-20-112849
WinPE: Dismount-WimsPE
2021-09-20-113027
WinPE: Export WIMs to C:\OSDBuilder\OSMedia\build2109201116\WinPE
2021-09-20-113042
WinPE: Rebuild C:\OSDBuilder\OSMedia\build2109201116\OS\sources\boot.wim
2021-09-20-113049
WinPE: Export WIM Inventory to C:\OSDBuilder\OSMedia\build2109201116\WinPE\info
2021-09-20-113049
OS: Mount to C:\OSDBuilder\Mount\os2109201116
2021-09-20-113151
OS: Replace C:\OSDBuilder\Mount\os2109201116\Windows\System32\Recovery\winre.wim
2021-09-20-113152
OS: Mount Registry for UBR Information
2021-09-20-113156
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-09-20-113156
OS: Update Build Revision 17763.2114 (Pre-LCU)
2021-09-20-113156
OS: (LCU) Latest Cumulative Update
INSTALLING
2021-09 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5005568) - windows10.0-kb5005568-x64_8bf5f955f8221e5d1df616ffa9a3d6cb28e2fc5d.cab
C:\Users\administrator.TA\AppData\Local\Temp\SSU\SSU-17763.2170-x64.cab
VERBOSE: Target Image Version 10.0.17763.2114
VERBOSE: Successfully added package C:\Users\administrator.TA\AppData\Local\Temp\SSU\SSU-17763.2170-x64.cab
2021-09-20-113930
OS: Update Build Revision 17763.2183 (Post-LCU)
2021-09-20-113930
OS: (NetCU) DotNet Framework Cumulative Update
INSTALLING
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
INSTALLING
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
WARNING: Failed to add package C:\OSDBuilder\Updates\windows10.0-kb4569750-x64-ndp48_0dd3093f3f40487ea43b5e4d0016798e6e7d8f7a.cab
WARNING: Add-WindowsPackage failed. Error code = 0x800f081e
>> TerminatingError(Add-WindowsPackage): "Add-WindowsPackage failed. Error code = 0x800f081e"
VERBOSE: OSDBuilder: 0x800f081e The package is not applicable to this image
VERBOSE: OSDBuilder: Review the log for more information
VERBOSE: C:\OSDBuilder\OSMedia\build2109201116\info\logs\2021-09-20-113949-Update-DotNetOS-KB4569750.log
INSTALLING
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
WARNING: Failed to add package C:\OSDBuilder\Updates\windows10.0-kb4601055-x64-ndp48_2f27cd9b42e020a7dd2abe2f899793fe28d7a93b.cab
WARNING: Add-WindowsPackage failed. Error code = 0x800f081e
>> TerminatingError(Add-WindowsPackage): "Add-WindowsPackage failed. Error code = 0x800f081e"
VERBOSE: OSDBuilder: 0x800f081e The package is not applicable to this image
VERBOSE: OSDBuilder: Review the log for more information
VERBOSE: C:\OSDBuilder\OSMedia\build2109201116\info\logs\2021-09-20-114002-Update-DotNetOS-KB4601055.log
INSTALLING
2021-08 Cumulative Update for .NET Framework 3.5 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB5004870) - windows10.0-kb5004332-x64-ndp48_79ba602840dbe4b3c2b41024d1fab461983e58f7.cab
WARNING: Failed to add package C:\OSDBuilder\Updates\windows10.0-kb5004332-x64-ndp48_79ba602840dbe4b3c2b41024d1fab461983e58f7.cab
WARNING: Add-WindowsPackage failed. Error code = 0x800f081e
>> TerminatingError(Add-WindowsPackage): "Add-WindowsPackage failed. Error code = 0x800f081e"
VERBOSE: OSDBuilder: 0x800f081e The package is not applicable to this image
VERBOSE: OSDBuilder: Review the log for more information
VERBOSE: C:\OSDBuilder\OSMedia\build2109201116\info\logs\2021-09-20-114014-Update-DotNetOS-KB5004332.log
2021-09-20-114019
OS: DISM Cleanup-Image StartComponentCleanup ResetBase
Deployment Image Servicing and Management tool
Version: 10.0.22000.1
Image Version: 10.0.17763.2183
[===========================99.0%========================= ]
[==========================100.0%==========================]
The operation completed successfully.
2021-09-20-115302
OS: Backup Auto Extra Files to C:\OSDBuilder\OSMedia\build2109201116\WinPE\AutoExtraFiles
2021-09-20-115305
Source: C:\OSDBuilder\Mount\os2109201116\Windows\Servicing\Sessions\Sessions.xml
Destination: C:\OSDBuilder\OSMedia\build2109201116\info\Sessions.xml
Export: C:\OSDBuilder\OSMedia\build2109201116\Sessions.txt
Export: C:\OSDBuilder\OSMedia\build2109201116\info\xml\Sessions.xml
Export: C:\OSDBuilder\OSMedia\build2109201116\info\json\Sessions.json
2021-09-20-115305
OS: Export Inventory to C:\OSDBuilder\OSMedia\build2109201116
2021-09-20-115326
OS: Dismount from C:\OSDBuilder\Mount\os2109201116
2021-09-20-115537
OS: Export to C:\OSDBuilder\OSMedia\build2109201116\OS\sources\install.wim
2021-09-20-115617
OS: Export Configuration to C:\OSDBuilder\OSMedia\build2109201116\WindowsImage.txt
2021-09-20-115618
OS: Export Image Content to C:\OSDBuilder\OSMedia\build2109201116\info\Get-WindowsImageContent.txt
2021-09-20-115625
Media: Renaming "C:\OSDBuilder\OSMedia\build2109201116" to "Windows Server 2019 Standard Desktop Experience x64 1809 17763.2183"
========================================================================================
**********************
Windows PowerShell transcript end
End time: 20210920115625
**********************
DISM.log
(Running latest DISM)2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 DismApi.dll: - DismInitializeInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 DismApi.dll: <----- Starting DismApi.dll session -----> - DismInitializeInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 DismApi.dll: - DismInitializeInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 DismApi.dll: Host machine information: OS Version=10.0.17763, Running architecture=amd64, Number of processors=4 - DismInitializeInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 DismApi.dll: API Version 10.0.22000.1 - DismInitializeInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 DismApi.dll: Parent process command line: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" - DismInitializeInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Input parameters: LogLevel: 2, LogFilePath: C:\Windows\Logs\DISM\dism.log, ScratchDirectory: (null) - DismInitializeInternal
2021-09-20 11:16:36, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Initialized GlobalConfig - DismInitializeInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Initialized SessionTable - DismInitializeInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Lookup in table by path failed for: DummyPath-2BA51B78-C7F7-4910-B99D-BB7345357CDC - CTransactionalImageTable::LookupImagePath
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Waiting for m_pInternalThread to start - CCommandThread::Start
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=7172 Enter CCommandThread::CommandThreadProcedureStub - CCommandThread::CommandThreadProcedureStub
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=7172 Enter CCommandThread::ExecuteLoop - CCommandThread::ExecuteLoop
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 CommandThread StartupEvent signaled - CCommandThread::WaitForStartup
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 m_pInternalThread started - CCommandThread::Start
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Created g_internalDismSession - DismInitializeInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Input parameters: ImageFilePath: C:\OSDBuilder\OSImport\Windows Server 2019 Standard Desktop Experience x64 1809 17763.2114\OS\sources\install.wim - DismGetImageInfoInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Successfully enqueued command object - CCommandThread::EnqueueCommandObject
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=7172 ExecuteLoop: CommandQueue signaled - CCommandThread::ExecuteLoop
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=7172 Successfully dequeued command object - CCommandThread::DequeueCommandObject
2021-09-20 11:16:36, Info DISM PID=2184 TID=7172 Scratch directory set to 'C:\Users\ADMINI~1.TA\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2021-09-20 11:16:36, Info DISM PID=2184 TID=7172 DismCore.dll version: 10.0.22000.1 - CDISMManager::FinalConstruct
2021-09-20 11:16:36, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:16:36, Info DISM PID=2184 TID=7172 Successfully loaded the ImageSession at "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM" - CDISMManager::LoadLocalImageSession
2021-09-20 11:16:36, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:16:36, Info DISM DISM Provider Store: PID=2184 TID=7172 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2021-09-20 11:16:36, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:16:36, Info DISM DISM Manager: PID=2184 TID=7172 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2021-09-20 11:16:36, Info DISM DISM Imaging Provider: PID=2184 TID=7172 WIM image specified - CGenericImagingManager::GetImageInfoCollection
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 GetReferenceCount hr: 0x0 - CSessionTable::RemoveSession
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Refcount for DismSession= 1s 0 - CSessionTable::RemoveSession
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Successfully enqueued command object - CCommandThread::EnqueueCommandObject
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=7172 ExecuteLoop: CommandQueue signaled - CCommandThread::ExecuteLoop
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=7172 Successfully dequeued command object - CCommandThread::DequeueCommandObject
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=7172 ExecuteLoop: Cancel signaled - CCommandThread::ExecuteLoop
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=7172 Leave CCommandThread::ExecuteLoop - CCommandThread::ExecuteLoop
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=7172 Leave CCommandThread::CommandThreadProcedureStub - CCommandThread::CommandThreadProcedureStub
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Deleted g_internalDismSession - DismShutdownInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 Shutdown SessionTable - DismShutdownInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 DismApi.dll: - DismShutdownInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 DismApi.dll: <----- Ending DismApi.dll session -----> - DismShutdownInternal
2021-09-20 11:16:36, Info DISM API: PID=2184 TID=1572 DismApi.dll: - DismShutdownInternal
2021-09-20 11:16:59, Info DISM PID=2184 TID=2836 Temporarily setting the scratch directory. This may be overridden by user later. - CDISMManager::FinalConstruct
2021-09-20 11:16:59, Info DISM PID=2184 TID=2836 Scratch directory set to 'C:\Users\ADMINI~1.TA\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2021-09-20 11:16:59, Info DISM PID=2184 TID=2836 DismCore.dll version: 10.0.22000.1 - CDISMManager::FinalConstruct
2021-09-20 11:16:59, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:17:07, Info DISM PID=2184 TID=4236 Temporarily setting the scratch directory. This may be overridden by user later. - CDISMManager::FinalConstruct
2021-09-20 11:17:07, Info DISM PID=2184 TID=4236 Scratch directory set to 'C:\Users\ADMINI~1.TA\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2021-09-20 11:17:07, Info DISM PID=2184 TID=4236 DismCore.dll version: 10.0.22000.1 - CDISMManager::FinalConstruct
2021-09-20 11:17:07, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:17:17, Info DISM PID=2184 TID=4084 Temporarily setting the scratch directory. This may be overridden by user later. - CDISMManager::FinalConstruct
2021-09-20 11:17:17, Info DISM PID=2184 TID=4084 Scratch directory set to 'C:\Users\ADMINI~1.TA\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2021-09-20 11:17:17, Info DISM PID=2184 TID=4084 DismCore.dll version: 10.0.22000.1 - CDISMManager::FinalConstruct
2021-09-20 11:17:17, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 DismApi.dll: - DismInitializeInternal
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 DismApi.dll: <----- Starting DismApi.dll session -----> - DismInitializeInternal
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 DismApi.dll: - DismInitializeInternal
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 DismApi.dll: Host machine information: OS Version=10.0.17763, Running architecture=amd64, Number of processors=4 - DismInitializeInternal
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 DismApi.dll: API Version 10.0.22000.1 - DismInitializeInternal
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 DismApi.dll: Parent process command line: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" - DismInitializeInternal
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 Input parameters: LogLevel: 2, LogFilePath: C:\Windows\Logs\DISM\dism.log, ScratchDirectory: (null) - DismInitializeInternal
2021-09-20 11:17:18, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 Initialized GlobalConfig - DismInitializeInternal
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 Initialized SessionTable - DismInitializeInternal
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 Lookup in table by path failed for: DummyPath-2BA51B78-C7F7-4910-B99D-BB7345357CDC - CTransactionalImageTable::LookupImagePath
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 Waiting for m_pInternalThread to start - CCommandThread::Start
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=5880 Enter CCommandThread::CommandThreadProcedureStub - CCommandThread::CommandThreadProcedureStub
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=5880 Enter CCommandThread::ExecuteLoop - CCommandThread::ExecuteLoop
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 CommandThread StartupEvent signaled - CCommandThread::WaitForStartup
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 m_pInternalThread started - CCommandThread::Start
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 Created g_internalDismSession - DismInitializeInternal
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 Input parameters: ImagePath: C:\OSDBuilder\Mount\winpe2109201116, WindowsDirectory: (null), SystemDrive: (null) - DismOpenSessionInternal
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 Lookup in table by path failed for: 2181662787_3866624_229218 - CTransactionalImageTable::LookupImagePath
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 Waiting for m_pInternalThread to start - CCommandThread::Start
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=5300 Enter CCommandThread::CommandThreadProcedureStub - CCommandThread::CommandThreadProcedureStub
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=5300 Enter CCommandThread::ExecuteLoop - CCommandThread::ExecuteLoop
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 CommandThread StartupEvent signaled - CCommandThread::WaitForStartup
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 m_pInternalThread started - CCommandThread::Start
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=1572 Successfully enqueued command object - CCommandThread::EnqueueCommandObject
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=5300 ExecuteLoop: CommandQueue signaled - CCommandThread::ExecuteLoop
2021-09-20 11:17:18, Info DISM API: PID=2184 TID=5300 Successfully dequeued command object - CCommandThread::DequeueCommandObject
2021-09-20 11:17:18, Info DISM PID=2184 TID=5300 Scratch directory set to 'C:\Users\ADMINI~1.TA\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2021-09-20 11:17:18, Info DISM PID=2184 TID=5300 DismCore.dll version: 10.0.22000.1 - CDISMManager::FinalConstruct
2021-09-20 11:17:18, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:17:18, Info DISM PID=2184 TID=5300 Successfully loaded the ImageSession at "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM" - CDISMManager::LoadLocalImageSession
2021-09-20 11:17:18, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:17:18, Info DISM DISM Provider Store: PID=2184 TID=5300 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2021-09-20 11:17:18, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:17:18, Info DISM DISM Manager: PID=2184 TID=5300 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2021-09-20 11:17:18, Info DISM DISM FFU Provider: PID=2184 TID=5300 [C:\OSDBuilder\Mount\winpe2109201116] is not recognized by the DISM FFU provider. - CFfuImage::Initialize
2021-09-20 11:17:18, Info DISM DISM Imaging Provider: PID=2184 TID=5300 The provider FfuManager does not support CreateDismImage on C:\OSDBuilder\Mount\winpe2109201116 - CGenericImagingManager::CreateDismImage
2021-09-20 11:17:18, Info DISM DISM VHD Provider: PID=2184 TID=5300 [C:\OSDBuilder\Mount\winpe2109201116] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
2021-09-20 11:17:18, Info DISM DISM Imaging Provider: PID=2184 TID=5300 The provider VHDManager does not support CreateDismImage on C:\OSDBuilder\Mount\winpe2109201116 - CGenericImagingManager::CreateDismImage
2021-09-20 11:17:18, Info DISM DISM Manager: PID=2184 TID=5300 physical location path: C:\OSDBuilder\Mount\winpe2109201116 - CDISMManager::CreateImageSession
2021-09-20 11:17:18, Info DISM DISM Manager: PID=2184 TID=5300 Event name for current DISM session is Global\__?_Volume{e507ef49-0000-0000-0000-f01500000000}__2181662787_1835008_376296 - CDISMManager::CheckSessionAndLock
2021-09-20 11:17:18, Info DISM DISM Manager: PID=2184 TID=5300 Create session event 0x1e9c for current DISM session and event name is Global\__?_Volume{e507ef49-0000-0000-0000-f01500000000}__2181662787_1835008_376296 - CDISMManager::CheckSessionAndLock
2021-09-20 11:17:18, Info DISM DISM Manager: PID=2184 TID=5300 Copying DISM from "C:\OSDBuilder\Mount\winpe2109201116\Windows\System32\Dism" - CDISMManager::CreateImageSessionFromLocation
2021-09-20 11:17:18, Info DISM DISM Manager: PID=2184 TID=5300 Successfully loaded the ImageSession at "C:\Users\ADMINI~1.TA\AppData\Local\Temp\5A4A72F0-39E4-4FE5-8798-71CB56DA03A6" - CDISMManager::LoadRemoteImageSession
2021-09-20 11:17:18, Info DISM DISM Image Session: PID=8112 TID=6308 Instantiating the Provider Store. - CDISMImageSession::get_ProviderStore
2021-09-20 11:17:18, Info DISM DISM Provider Store: PID=8112 TID=6308 Initializing a provider store for the IMAGE session type. - CDISMProviderStore::Final_OnConnect
2021-09-20 11:17:18, Info DISM DISM Provider Store: PID=8112 TID=6308 Connecting to the provider located at C:\Users\ADMINI~1.TA\AppData\Local\Temp\5A4A72F0-39E4-4FE5-8798-71CB56DA03A6\OSProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-09-20 11:17:18, Info DISM DISM OS Provider: PID=8112 TID=6308 Defaulting SystemPath to C:\OSDBuilder\Mount\winpe2109201116 - CDISMOSServiceManager::Final_OnConnect
2021-09-20 11:17:18, Info DISM DISM OS Provider: PID=8112 TID=6308 Defaulting Windows folder to C:\OSDBuilder\Mount\winpe2109201116\Windows - CDISMOSServiceManager::Final_OnConnect
2021-09-20 11:17:18, Info DISM DISM Provider Store: PID=8112 TID=6308 Attempting to initialize the logger from the Image Session. - CDISMProviderStore::Final_OnConnect
2021-09-20 11:17:18, Info DISM DISM Provider Store: PID=8112 TID=6308 Connecting to the provider located at C:\Users\ADMINI~1.TA\AppData\Local\Temp\5A4A72F0-39E4-4FE5-8798-71CB56DA03A6\LogProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-09-20 11:17:18, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:17:18, Info DISM DISM Provider Store: PID=8112 TID=6308 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2021-09-20 11:17:18, Info DISM DISM Provider Store: PID=8112 TID=6308 Connecting to the provider located at C:\Users\ADMINI~1.TA\AppData\Local\Temp\5A4A72F0-39E4-4FE5-8798-71CB56DA03A6\PEProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-09-20 11:17:18, Info DISM DISM Provider Store: PID=8112 TID=6308 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2021-09-20 11:17:18, Info DISM PE Provider: CPEImg::Attach: Attach requested to offline image
2021-09-20 11:17:18, Info DISM PE Provider: CPEImg::Attach: windir=C:\OSDBuilder\Mount\winpe2109201116\Windows.
2021-09-20 11:17:18, Info DISM PE Provider: CPEImg::Attach: Attach succeeded.
2021-09-20 11:17:18, Info DISM PE Provider: CPEImg::GetInstallRoot: Successfully retrieved installroot X:\$windows.~bt\
2021-09-20 11:17:18, Info DISM PE Provider: CPEImg::GetInstallRoot: Successfully retrieved installroot X:\$windows.~bt\
2021-09-20 11:17:18, Info DISM PE Provider: CPEImg::SetInstallRoot: Changing installroot from X:\$windows.~bt\ to X:\.
2021-09-20 11:17:19, Info DISM PE Provider: CPEImg::SetInstallRoot: Successfully changed installroot from X:\$windows.~bt\ to X:\.
2021-09-20 11:17:19, Info DISM PE Provider: CPEImg::SetInstallRoot: Successfully changed paging-related registry values.
2021-09-20 11:17:19, Info DISM DISM Provider Store: PID=8112 TID=6308 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2021-09-20 11:17:19, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:17:19, Info DISM Initialized Panther logging at C:\Windows\Logs\DISM\dism.log
2021-09-20 11:17:19, Info DISM DISM Manager: PID=2184 TID=5300 Image session successfully loaded from the temporary location: C:\Users\ADMINI~1.TA\AppData\Local\Temp\5A4A72F0-39E4-4FE5-8798-71CB56DA03A6 - CDISMManager::CreateImageSession
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=5300 Target image information: OS Version=10.0.17763.2114, Image architecture=amd64 - CDismCore::LogImageSessionDetails
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=1572 Session id is: 2 - DismOpenSessionInternal
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=1572 Input parameters: Session: 2 - DismGetOsInfoInternal
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=1572 Initialized default cancel event - DismGetOsInfoInternal
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=1572 Successfully enqueued command object - CCommandThread::EnqueueCommandObject
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=5300 ExecuteLoop: CommandQueue signaled - CCommandThread::ExecuteLoop
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=5300 Successfully dequeued command object - CCommandThread::DequeueCommandObject
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=1572 Input parameter: Session: 2 - DismGetPackagesInternal
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=1572 Successfully enqueued command object - CCommandThread::EnqueueCommandObject
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=5300 ExecuteLoop: CommandQueue signaled - CCommandThread::ExecuteLoop
2021-09-20 11:17:20, Info DISM API: PID=2184 TID=5300 Successfully dequeued command object - CCommandThread::DequeueCommandObject
2021-09-20 11:17:20, Info DISM DISM Provider Store: PID=8112 TID=6308 Connecting to the provider located at C:\Users\ADMINI~1.TA\AppData\Local\Temp\5A4A72F0-39E4-4FE5-8798-71CB56DA03A6\CbsProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-09-20 11:17:20, Info DISM DISM Provider Store: PID=8112 TID=6308 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2021-09-20 11:17:20, Info CSI 00000001 Shim considered [l:159]'\??\C:\OSDBuilder\Mount\winpe2109201116\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2111_none_5702f01599095248\wcp.dll' : got STATUS_OBJECT_PATH_NOT_FOUND
2021-09-20 11:17:20, Info CSI 00000002 Shim considered [l:156]'\??\C:\OSDBuilder\Mount\winpe2109201116\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2111_none_5702f01599095248\wcp.dll' : got STATUS_SUCCESS
2021-09-20 11:17:20, Info DISM DISM Package Manager: PID=8112 TID=6308 Finished initializing the CbsConUI Handler. - CCbsConUIHandler::Initialize
2021-09-20 11:17:20, Info CSI 00000001 Shim considered [l:159]'\??\C:\OSDBuilder\Mount\winpe2109201116\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2111_none_5702f01599095248\wcp.dll' : got STATUS_OBJECT_PATH_NOT_FOUND
2021-09-20 11:17:20, Info CSI 00000002 Shim considered [l:156]'\??\C:\OSDBuilder\Mount\winpe2109201116\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2111_none_5702f01599095248\wcp.dll' : got STATUS_SUCCESS
2021-09-20 11:17:20, Info CSI 00000001 Shim considered [l:159]'\??\C:\OSDBuilder\Mount\winpe2109201116\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2111_none_5702f01599095248\wcp.dll' : got STATUS_OBJECT_PATH_NOT_FOUND
2021-09-20 11:17:20, Info CSI 00000002 Shim considered [l:156]'\??\C:\OSDBuilder\Mount\winpe2109201116\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2111_none_5702f01599095248\wcp.dll' : got STATUS_SUCCESS
2021-09-20 11:17:20, Info CBS Universal Time is: 2021-09-20 18:17:20.187
2021-09-20 11:17:20, Info CBS Failed to find a matching version for servicing stack: C:\OSDBuilder\Mount\winpe2109201116\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2111_none_5702f01599095248\ [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2021-09-20 11:17:20, Info CBS Failed to find servicing stack directory in online store. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2021-09-20 11:17:20, Info CBS Offline servicing, using stack version from: C:\OSDBuilder\Mount\winpe2109201116\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2111_none_5702f01599095248\cbscore.dll
2021-09-20 11:17:20, Info CBS Loaded Servicing Stack v10.0.17763.2111 with Core: C:\OSDBuilder\Mount\winpe2109201116\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2111_none_5702f01599095248\cbscore.dll
2021-09-20 11:17:20, Info CBS Setting core mode: CbsCoreModeOffline
2021-09-20 11:17:20, Info CSI 00000001@2021/9/20:18:17:20.227 WcpInitialize: wcp.dll version 10.0.17763.2111 (WinBuild.160101.0800)
First, the error you are receiving about the SSU is in WinPE, not the OS. This is because it does not have the step-SSU that seems to be required. Do you consider this a major issue? Your OS is patched, that's what is important. Keep in mind that when Microsoft releases an updated OS, they may not update WinPE WIMs, so this error is expected since it is probably the original WinPE version. So if you prefer not to see this error message in WinPE, then add the SkipUpdatesPE parameter to Update-OSMedia.
Second, I am literally repeating the same thing I posted days ago, so I'll explain a little different. Do you see the .NET Framework updates that are failing? Now look at the file name, they have ndp48 in them. This means that the Update is for .NET Framework 4.8, but you do not have .NET Framework 4.8 installed, you have 4.72, so obviously this update does not apply and that is why you are getting a Warning that it is not applicable. See this link if you cannot trust me https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies#net-framework-472
Third, your DISM log is worthless. I redirect all DISM logs in OSDBuilder to write to OSDBuilder\OSMedia\
In short, you have an error in WinPE that I cannot resolve in OSDBuilder and errors applying .NET 4.8 updates when you don't have .NET 4.8 installed. My advice, ignore the errors.
With the OSDSUS 21.9.15.2, I'm running into the following issue: (Tried this multiple times, deleting everything and starting fresh from the base iso and am able to consistently recreate the issue. This is part of a CI/CD Job that's been successfully running for over a year.)
Steps tried:
OSDBuilder\OSBuilds
,OSDBuilder\OSMedia
,OSDBuilder\OSImport
,OSDBuilder\Updates
&%APPDATA%\Local\Temp
OSDBuilder
Error Message Snippet (full log below)
Get-OSDBuilder
OutputUpdate-OSMedia
Full Output