DISM - Stuck Applying Image

JoshuaD13 51 Reputation points
2022-12-01T22:42:59.477+00:00

Hello, currently I am having issues with DISM applying a recovery image only to a specific computer model (Dell 3570) while in WinPE. It will normally get stuck right before starting the applying-image phase. The first DISM log is from the failed computer model, and the second is from a working/successful computer model. It seems to get stuck due to it missing the "Image session has been closed. Reboot required=no". I have already attempted a DISM health restore on the WinPE file.

Failed log:
2022-12-01 14:08:32, Info DISM PID=572 TID=848 Scratch directory set to 'X:\WINDOWS\TEMP\'. - CDISMManager::put_ScratchDir
2022-12-01 14:08:32, Info DISM PID=572 TID=848 DismCore.dll version: 10.0.18362.1 - CDISMManager::FinalConstruct
2022-12-01 14:08:32, Info DISM Initialized Panther logging at X:\WINDOWS\Logs\DISM\dism.log
2022-12-01 14:08:32, Info DISM PID=572 TID=848 Successfully loaded the ImageSession at "X:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession
2022-12-01 14:08:32, Info DISM Initialized Panther logging at X:\WINDOWS\Logs\DISM\dism.log
2022-12-01 14:08:32, Info DISM DISM Provider Store: PID=572 TID=848 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2022-12-01 14:08:32, Info DISM DISM Provider Store: PID=572 TID=848 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2022-12-01 14:08:32, Info DISM DISM Provider Store: PID=572 TID=848 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2022-12-01 14:08:32, Info DISM Initialized Panther logging at X:\WINDOWS\Logs\DISM\dism.log
2022-12-01 14:08:32, Info DISM DISM Manager: PID=572 TID=848 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2022-12-01 14:08:32, Info DISM DISM.EXE:
2022-12-01 14:08:32, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
2022-12-01 14:08:32, Info DISM DISM.EXE:
2022-12-01 14:08:32, Info DISM DISM.EXE: Host machine information: OS Version=10.0.18362, Running architecture=amd64, Number of processors=16
2022-12-01 14:08:32, Info DISM DISM.EXE: Dism.exe version: 10.0.18362.1
2022-12-01 14:08:32, Info DISM DISM.EXE: Executing command line: X:\Windows\System32\DISM.exe /apply-image /imagefile:"Y:\boot.wim" /index:1 /ApplyDir:T:\ /checkintegrity
2022-12-01 14:08:32, Info DISM DISM Provider Store: PID=572 TID=848 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2022-12-01 14:08:32, Info DISM DISM Provider Store: PID=572 TID=848 Connecting to the provider located at X:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 14:08:32, Warning DISM DISM Provider Store: PID=572 TID=848 Failed to load the provider: X:\Windows\System32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2022-12-01 14:08:32, Info DISM DISM Provider Store: PID=572 TID=848 Connecting to the provider located at X:\Windows\System32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 14:08:32, Info DISM DISM Provider Store: PID=572 TID=848 Connecting to the provider located at X:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 14:08:32, Info DISM DISM Provider Store: PID=572 TID=848 Connecting to the provider located at X:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 14:08:32, Info DISM DISM Provider Store: PID=572 TID=848 Connecting to the provider located at X:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 14:08:32, Warning DISM DISM Provider Store: PID=572 TID=848 Failed to load the provider: X:\Windows\System32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2022-12-01 14:08:32, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2022-12-01 14:08:32, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2022-12-01 14:08:32, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2022-12-01 14:08:32, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2022-12-01 14:08:32, Info DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2022-12-01 14:08:32, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2022-12-01 14:08:32, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2022-12-01 14:08:32, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2022-12-01 14:08:32, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2022-12-01 14:08:32, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.

Success:
2022-12-01 16:08:44, Info DISM PID=1656 TID=1632 Scratch directory set to 'X:\WINDOWS\TEMP\'. - CDISMManager::put_ScratchDir
2022-12-01 16:08:44, Info DISM PID=1656 TID=1632 DismCore.dll version: 10.0.18362.1 - CDISMManager::FinalConstruct
2022-12-01 16:08:44, Info DISM Initialized Panther logging at X:\WINDOWS\Logs\DISM\dism.log
2022-12-01 16:08:44, Info DISM PID=1656 TID=1632 Successfully loaded the ImageSession at "X:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession
2022-12-01 16:08:44, Info DISM Initialized Panther logging at X:\WINDOWS\Logs\DISM\dism.log
2022-12-01 16:08:44, Info DISM DISM Provider Store: PID=1656 TID=1632 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2022-12-01 16:08:44, Info DISM DISM Provider Store: PID=1656 TID=1632 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2022-12-01 16:08:44, Info DISM DISM Provider Store: PID=1656 TID=1632 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2022-12-01 16:08:44, Info DISM Initialized Panther logging at X:\WINDOWS\Logs\DISM\dism.log
2022-12-01 16:08:44, Info DISM DISM Manager: PID=1656 TID=1632 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2022-12-01 16:08:44, Info DISM DISM.EXE:
2022-12-01 16:08:44, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
2022-12-01 16:08:44, Info DISM DISM.EXE:
2022-12-01 16:08:44, Info DISM DISM.EXE: Host machine information: OS Version=10.0.18362, Running architecture=amd64, Number of processors=8
2022-12-01 16:08:44, Info DISM DISM.EXE: Dism.exe version: 10.0.18362.1
2022-12-01 16:08:44, Info DISM DISM.EXE: Executing command line: X:\Windows\System32\DISM.exe /apply-image /imagefile:"Y:\boot.wim" /index:1 /ApplyDir:T:\ /checkintegrity
2022-12-01 16:08:44, Info DISM DISM Provider Store: PID=1656 TID=1632 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2022-12-01 16:08:44, Info DISM DISM Provider Store: PID=1656 TID=1632 Connecting to the provider located at X:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 16:08:44, Warning DISM DISM Provider Store: PID=1656 TID=1632 Failed to load the provider: X:\Windows\System32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2022-12-01 16:08:44, Info DISM DISM Provider Store: PID=1656 TID=1632 Connecting to the provider located at X:\Windows\System32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 16:08:44, Info DISM DISM Provider Store: PID=1656 TID=1632 Connecting to the provider located at X:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 16:08:44, Info DISM DISM Provider Store: PID=1656 TID=1632 Connecting to the provider located at X:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 16:08:44, Info DISM DISM Provider Store: PID=1656 TID=1632 Connecting to the provider located at X:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 16:08:44, Warning DISM DISM Provider Store: PID=1656 TID=1632 Failed to load the provider: X:\Windows\System32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2022-12-01 16:08:44, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2022-12-01 16:08:44, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2022-12-01 16:08:44, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2022-12-01 16:08:44, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2022-12-01 16:08:44, Info DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2022-12-01 16:08:44, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2022-12-01 16:08:44, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2022-12-01 16:08:44, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2022-12-01 16:08:44, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2022-12-01 16:08:44, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2022-12-01 16:09:05, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2022-12-01 16:09:05, Info DISM DISM.EXE:
2022-12-01 16:09:05, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->
2022-12-01 16:09:05, Info DISM DISM.EXE:
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1656 TID=1632 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1656 TID=1632 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1656 TID=1632 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1656 TID=1632 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1656 TID=1632 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1656 TID=1632 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1656 TID=1632 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:05, Info DISM PID=1744 TID=1804 Scratch directory set to 'X:\WINDOWS\TEMP\'. - CDISMManager::put_ScratchDir
2022-12-01 16:09:05, Info DISM PID=1744 TID=1804 DismCore.dll version: 10.0.18362.1 - CDISMManager::FinalConstruct
2022-12-01 16:09:05, Info DISM Initialized Panther logging at X:\WINDOWS\Logs\DISM\dism.log
2022-12-01 16:09:05, Info DISM PID=1744 TID=1804 Successfully loaded the ImageSession at "X:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession
2022-12-01 16:09:05, Info DISM Initialized Panther logging at X:\WINDOWS\Logs\DISM\dism.log
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1744 TID=1804 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1744 TID=1804 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1744 TID=1804 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2022-12-01 16:09:05, Info DISM Initialized Panther logging at X:\WINDOWS\Logs\DISM\dism.log
2022-12-01 16:09:05, Info DISM DISM Manager: PID=1744 TID=1804 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2022-12-01 16:09:05, Info DISM DISM.EXE:
2022-12-01 16:09:05, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
2022-12-01 16:09:05, Info DISM DISM.EXE:
2022-12-01 16:09:05, Info DISM DISM.EXE: Host machine information: OS Version=10.0.18362, Running architecture=amd64, Number of processors=8
2022-12-01 16:09:05, Info DISM DISM.EXE: Dism.exe version: 10.0.18362.1
2022-12-01 16:09:05, Info DISM DISM.EXE: Executing command line: X:\Windows\System32\DISM.exe /apply-image /imagefile:"Y:\Partition5.wim" /index:1 /ApplyDir:R:\ /checkintegrity
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1744 TID=1804 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1744 TID=1804 Connecting to the provider located at X:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 16:09:05, Warning DISM DISM Provider Store: PID=1744 TID=1804 Failed to load the provider: X:\Windows\System32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1744 TID=1804 Connecting to the provider located at X:\Windows\System32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1744 TID=1804 Connecting to the provider located at X:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1744 TID=1804 Connecting to the provider located at X:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 16:09:05, Info DISM DISM Provider Store: PID=1744 TID=1804 Connecting to the provider located at X:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-12-01 16:09:05, Warning DISM DISM Provider Store: PID=1744 TID=1804 Failed to load the provider: X:\Windows\System32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2022-12-01 16:09:05, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2022-12-01 16:09:05, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2022-12-01 16:09:05, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2022-12-01 16:09:05, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2022-12-01 16:09:05, Info DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2022-12-01 16:09:05, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2022-12-01 16:09:05, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2022-12-01 16:09:05, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2022-12-01 16:09:05, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2022-12-01 16:09:05, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
[1744] [0x80070003] WIMExtractImagePathAndGetFileHandle:(195): The system cannot find the path specified.
2022-12-01 16:09:10, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2022-12-01 16:09:10, Info DISM DISM.EXE:
2022-12-01 16:09:10, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->
2022-12-01 16:09:10, Info DISM DISM.EXE:
2022-12-01 16:09:10, Info DISM DISM Provider Store: PID=1744 TID=1804 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2022-12-01 16:09:10, Info DISM DISM Provider Store: PID=1744 TID=1804 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:10, Info DISM DISM Provider Store: PID=1744 TID=1804 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:10, Info DISM DISM Provider Store: PID=1744 TID=1804 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:10, Info DISM DISM Provider Store: PID=1744 TID=1804 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:10, Info DISM DISM Provider Store: PID=1744 TID=1804 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2022-12-01 16:09:10, Info DISM DISM Provider Store: PID=1744 TID=1804 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
912 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,953 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 20,626 Reputation points MVP
    2022-12-02T01:50:18.243+00:00

    Refresh DISM tool:

    1. Right click Start and then select Command Prompt (Admin)
    2. Type this command: exe/image:C /cleanup-image /revertpendingactions. This will revert pending tasks, and this includes any Windows updates that are pending.
    3. Boot your computer and then run in recovery command prompt
    4. Execute this command: exe /online/Cleanup-Image /StartComponentCleanup. This cleans up the component store and helps everything to run properly again
    5. Restart and then open Command Prompt as administrator and run the following commands in Safe Mode:
           Sfc /scannow  
      

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.