DISM "Failed to open image." CWimImageInfo Mount(hr:0x8007000d)

Guillaume AMGAR 6 Reputation points
2020-12-07T14:04:48.457+00:00

Hi

From the Media creation tool for 20H2 i have downloaded the ISO then i have extract the WIM for Pro version (index 6)

I have deployed this WIM through MDT, made my changes and sysprep (genralize+shutdown)

Then i simply captured the image with

dism /Capture-Image /ImageFile:Z:\OS\Capture\W10X64EN\W10X64EN.wim /CaptureDir:C:\ /Name:"Windows 10 EN" /compress:max

i open the WIM to validate its correct with DISM.GUI tool but i have the error (if i boot after the capture, windows start correctly)

Error: 13

The data is invalid.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

2020-12-07 14:50:27, Info DISM PID=7492 TID=5824 Scratch directory set to 'C:\Users\~~\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir

2020-12-07 14:50:27, Info DISM PID=7492 TID=5824 DismCore.dll version: 10.0.14393.3750 - CDISMManager::FinalConstruct

2020-12-07 14:50:27, Info DISM Try to initialize Panther logging 1 times, last error: 0x0

2020-12-07 14:50:27, Info DISM PID=7492 TID=5824 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession

2020-12-07 14:50:27, Info DISM Try to initialize Panther logging 1 times, last error: 0x0

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM Try to initialize Panther logging 1 times, last error: 0x0

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Manager: PID=7492 TID=5824 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM.EXE:

2020-12-07 14:50:27, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->

2020-12-07 14:50:27, Info DISM DISM.EXE:

2020-12-07 14:50:27, Info DISM DISM.EXE: Host machine information: OS Version=10.0.14393, Running architecture=x86, Number of processors=2

2020-12-07 14:50:27, Info DISM DISM.EXE: Dism.exe version: 10.0.14393.3750

2020-12-07 14:50:27, Info DISM DISM.EXE: Executing command line: "dism.exe" /Mount-WIM /WimFile:"E:\MDT_DeployShare_COMGEST\OS\Capture\W10X64PRO\20H2\W10X64PRO.wim" /index:1 /MountDir:"C:\Mount"

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Loading Provider from location C:\Windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Connecting to the provider located at C:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Loading Provider from location C:\Windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Connecting to the provider located at C:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Loading Provider from location C:\Windows\System32\Dism\FfuProvider.dll - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Connecting to the provider located at C:\Windows\System32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Loading Provider from location C:\Windows\System32\Dism\SiloedPackageProvider.dll - CDISMProviderStore::Internal_GetProvider

2020-12-07 14:50:27, Warning DISM DISM Provider Store: PID=7492 TID=5824 Failed to Load the provider: C:\Windows\System32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

2020-12-07 14:50:27, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.

2020-12-07 14:50:27, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider

2020-12-07 14:50:27, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager

2020-12-07 14:50:27, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager

2020-12-07 14:50:27, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.

2020-12-07 14:50:27, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager

2020-12-07 14:50:27, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager

2020-12-07 14:50:27, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.

2020-12-07 14:50:27, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager

2020-12-07 14:50:27, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.

2020-12-07 14:50:27, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Getting Provider WimManager - CDISMProviderStore::GetProvider

2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

[7492] [0x8007000d] ProcessDirectory:(629): The data is invalid.

[7492] [0x8007000d] ProcessDirectory:(866): The data is invalid.

[7492] [0x8007000d] ProcessDirectory:(866): The data is invalid.

[7492] [0x8007000d] ProcessDirectory:(866): The data is invalid.

[7492] [0x8007000d] ReadMetaDataBuffer:(120): The data is invalid.

[7492] [0x8007000d] ReadMetaDataFile:(246): The data is invalid.

[7492] [0x8007000d] WIMLoadImageInternal:(199): The data is invalid.

2020-12-07 14:50:28, Error DISM DISM WIM Provider: PID=7492 TID=5824 "Failed to open image." - CWimImageInfo::Mount(hr:0x8007000d)

2020-12-07 14:50:28, Error DISM DISM WIM Provider: PID=7492 TID=5824 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2706 - CWimManager::InternalOpMount(hr:0x8007000d)

2020-12-07 14:50:28, Error DISM DISM WIM Provider: PID=7492 TID=5824 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4050 - CWimManager::InternalCmdMount(hr:0x8007000d)

2020-12-07 14:50:28, Error DISM DISM WIM Provider: PID=7492 TID=5824 "Error executing command" - CWimManager::InternalExecuteCmd(hr:0x8007000d)

2020-12-07 14:50:28, Error DISM DISM WIM Provider: PID=7492 TID=5824 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2223 - CWimManager::ExecuteCmdLine(hr:0x8007000d)

2020-12-07 14:50:28, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.

2020-12-07 14:50:28, Info DISM DISM.EXE:

2020-12-07 14:50:28, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

2020-12-07 14:50:28, Info DISM DISM.EXE:

2020-12-07 14:50:28, Info DISM DISM Provider Store: PID=7492 TID=5824 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect

2020-12-07 14:50:28, Info DISM DISM Provider Store: PID=7492 TID=5824 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider

2020-12-07 14:50:28, Info DISM DISM Provider Store: PID=7492 TID=5824 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider

2020-12-07 14:50:28, Info DISM DISM Provider Store: PID=7492 TID=5824 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider

2020-12-07 14:50:28, Info DISM DISM Provider Store: PID=7492 TID=5824 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider

2020-12-07 14:50:28, Info DISM DISM Provider Store: PID=7492 TID=5824 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider

2020-12-07 14:50:28, Info DISM DISM Provider Store: PID=7492 TID=5824 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider

2020-12-07 14:50:28, Info DISM DISM Provider Store: PID=7492 TID=5824 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

thanks for your help45669-dism.log

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).
827 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,901 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Joy Qiao 4,886 Reputation points Microsoft Employee
    2020-12-08T06:55:53.917+00:00

    Hi,

    I noticed the following error says,
    2020-12-07 14:50:27, Info DISM DISM Provider Store: PID=7492 TID=5824 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect

    Did you run that DISM command line in a Win PE environment?
    Make sure you are boot into a Windows PE and run that command again.

    Also I noticed:

    2020-12-07 14:50:27, Warning DISM DISM Provider Store: PID=7492 TID=5824 Failed to Load the provider: C:\Windows\System32\Dism**SiloedPackageProvider.dll.** - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

    0x8007007e means "The specified module could not be found." To avoid system files corruption in that image, please download ISO and create .wim file again.

    We also could refer the link below to capture image with system during MDT deploy.
    Learn How to Sysprep Capture Windows 10 Image using DISM

    As we are not professional on log debug, if it is an urgent thread or you need a professional log debug support, we recommend to create a ticket with link below.

    https://support.microsoft.com/en-us/supportforbusiness/productselection

    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    Bests,

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.