Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, November 10, 2017 8:02 PM
I made a wim file from a Lenovo tablet with Windows 10 (1709) with DISM:
dism /capture-image/imagefile:Y:\install.wim /capturedir:X:\ /ScratchDir:Y:\Scratch /name:"AnyName" /compress:maximum /checkintegrity /verify /bootable
I later tried to apply the image on a exact same type of Lenovo tablet, where I formatted the system partition with WinPE (latest version) with:
dism /apply-image/imagefile:Y:\install.wim /index:1 /applydir:c:\
Now I get error 13: The data is invalid.
The DISM log:
2017-11-10 20:38:48, Info DISM PID=1496 TID=1540 Scratch directory set to 'X:\windows\TEMP\'. - CDISMManager::put_ScratchDir
2017-11-10 20:38:48, Info DISM PID=1496 TID=1540 DismCore.dll version: 10.0.16299.15 - CDISMManager::FinalConstruct
2017-11-10 20:38:48, Info DISM Initialized Panther logging at X:\windows\Logs\DISM\dism.log
2017-11-10 20:38:48, Info DISM PID=1496 TID=1540 Successfully loaded the ImageSession at "X:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession
2017-11-10 20:38:48, Info DISM Initialized Panther logging at X:\windows\Logs\DISM\dism.log
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2017-11-10 20:38:48, Info DISM Initialized Panther logging at X:\windows\Logs\DISM\dism.log
2017-11-10 20:38:48, Info DISM DISM Manager: PID=1496 TID=1540 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2017-11-10 20:38:48, Info DISM DISM.EXE:
2017-11-10 20:38:48, Info DISM DISM.EXE: < Starting Dism.exe session >
2017-11-10 20:38:48, Info DISM DISM.EXE:
2017-11-10 20:38:48, Info DISM DISM.EXE: Host machine information: OS Version=10.0.16299, Running architecture=amd64, Number of processors=4
2017-11-10 20:38:48, Info DISM DISM.EXE: Dism.exe version: 10.0.16299.15
2017-11-10 20:38:48, Info DISM DISM.EXE: Executing command line: dism /apply-image /imagefile:e:\install.wim /index:1 /applydir:c:\
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Connecting to the provider located at X:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:38:48, Warning DISM DISM Provider Store: PID=1496 TID=1540 Failed to load the provider: X:\Windows\System32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Connecting to the provider located at X:\Windows\System32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Connecting to the provider located at X:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Connecting to the provider located at X:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Connecting to the provider located at X:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Connecting to the provider located at X:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:38:48, Warning DISM DISM Provider Store: PID=1496 TID=1540 Failed to load the provider: X:\Windows\System32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2017-11-10 20:38:48, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2017-11-10 20:38:48, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2017-11-10 20:38:48, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2017-11-10 20:38:48, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2017-11-10 20:38:48, Info DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2017-11-10 20:38:48, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2017-11-10 20:38:48, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2017-11-10 20:38:48, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2017-11-10 20:38:48, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2017-11-10 20:38:48, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2017-11-10 20:38:48, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2017-11-10 20:38:48, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
[1496] [0x8007000d] ProcessDirectory:(640): The data is invalid.
[1496] [0x8007000d] ProcessDirectory:(889): The data is invalid.
[1496] [0x8007000d] ProcessDirectory:(889): The data is invalid.
[1496] [0x8007000d] ProcessDirectory:(889): The data is invalid.
[1496] [0x8007000d] ReadMetaDataBuffer:(120): The data is invalid.
[1496] [0x8007000d] ReadMetaDataFile:(246): The data is invalid.
[1496] [0x8007000d] WIMLoadImageInternal:(197): The data is invalid.
2017-11-10 20:38:53, Error DISM DISM WIM Provider: PID=1496 TID=1540 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:991 - CWimManager::Apply(hr:0x8007000d)
2017-11-10 20:38:53, Error DISM DISM Imaging Provider: PID=1496 TID=1540 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2813 - CGenericImagingManager::InternalCmdWimApply(hr:0x8007000d)
2017-11-10 20:38:53, Error DISM DISM Imaging Provider: PID=1496 TID=1540 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:547 - CGenericImagingManager::ExecuteCmdLine(hr:0x8007000d)
2017-11-10 20:38:53, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2017-11-10 20:38:53, Info DISM DISM.EXE:
2017-11-10 20:38:53, Info DISM DISM.EXE: < Ending Dism.exe session >
2017-11-10 20:38:53, Info DISM DISM.EXE:
2017-11-10 20:38:53, Info DISM DISM Provider Store: PID=1496 TID=1540 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2017-11-10 20:38:53, Info DISM DISM Provider Store: PID=1496 TID=1540 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:38:53, Info DISM DISM Provider Store: PID=1496 TID=1540 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:38:53, Info DISM DISM Provider Store: PID=1496 TID=1540 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:38:53, Info DISM DISM Provider Store: PID=1496 TID=1540 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:38:53, Info DISM DISM Provider Store: PID=1496 TID=1540 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:38:53, Info DISM DISM Provider Store: PID=1496 TID=1540 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:38:53, Info DISM DISM Provider Store: PID=1496 TID=1540 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:42:55, Info DISM PID=1668 TID=1556 Scratch directory set to 'X:\windows\TEMP\'. - CDISMManager::put_ScratchDir
2017-11-10 20:42:55, Info DISM PID=1668 TID=1556 DismCore.dll version: 10.0.16299.15 - CDISMManager::FinalConstruct
2017-11-10 20:42:55, Info DISM Initialized Panther logging at X:\windows\Logs\DISM\dism.log
2017-11-10 20:42:55, Info DISM PID=1668 TID=1556 Successfully loaded the ImageSession at "X:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession
2017-11-10 20:42:55, Info DISM Initialized Panther logging at X:\windows\Logs\DISM\dism.log
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
2017-11-10 20:42:55, Info DISM Initialized Panther logging at X:\windows\Logs\DISM\dism.log
2017-11-10 20:42:55, Info DISM DISM Manager: PID=1668 TID=1556 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
2017-11-10 20:42:55, Info DISM DISM.EXE:
2017-11-10 20:42:55, Info DISM DISM.EXE: < Starting Dism.exe session >
2017-11-10 20:42:55, Info DISM DISM.EXE:
2017-11-10 20:42:55, Info DISM DISM.EXE: Host machine information: OS Version=10.0.16299, Running architecture=amd64, Number of processors=4
2017-11-10 20:42:55, Info DISM DISM.EXE: Dism.exe version: 10.0.16299.15
2017-11-10 20:42:55, Info DISM DISM.EXE: Executing command line: dism /get-wiminfo /wimfile:e:\install.wim
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Connecting to the provider located at X:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:42:55, Warning DISM DISM Provider Store: PID=1668 TID=1556 Failed to load the provider: X:\Windows\System32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Connecting to the provider located at X:\Windows\System32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Connecting to the provider located at X:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Connecting to the provider located at X:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Connecting to the provider located at X:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Connecting to the provider located at X:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2017-11-10 20:42:55, Warning DISM DISM Provider Store: PID=1668 TID=1556 Failed to load the provider: X:\Windows\System32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2017-11-10 20:42:55, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2017-11-10 20:42:55, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2017-11-10 20:42:55, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2017-11-10 20:42:55, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2017-11-10 20:42:55, Info DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2017-11-10 20:42:55, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2017-11-10 20:42:55, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2017-11-10 20:42:55, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2017-11-10 20:42:55, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2017-11-10 20:42:55, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2017-11-10 20:42:55, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2017-11-10 20:42:55, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2017-11-10 20:42:55, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2017-11-10 20:42:55, Info DISM DISM.EXE:
2017-11-10 20:42:55, Info DISM DISM.EXE: < Ending Dism.exe session >
2017-11-10 20:42:55, Info DISM DISM.EXE:
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
2017-11-10 20:42:55, Info DISM DISM Provider Store: PID=1668 TID=1556 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
I see a couple of warnings and later the 'The data is invalid' errors. I don't know if the warnings are the cause or that they are not important in this case.
/index:1 is the right index...
All replies (5)
Wednesday, November 22, 2017 5:57 PM âś…Answered
I skipped the DISM methode. It took me to much time. I now copy system images with MiniTool partition copy.
Monday, November 13, 2017 8:02 AM
Hi,
I noticed this error: let's try to recreate another WinPE and try to apply the image again.
2017-11-10 20:38:48, Info DISM DISM Provider Store: PID=1496 TID=1540 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
In addition, to narrow down the root cause, please download a clean image without customization and try to see if the DISM can work fine on applying the image.
For further troubleshooting, please check and find if the setuperr.log or setupact.log created into the client PC, if so, upload to OneDrive or other network drive and share the link for our research.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Friday, November 17, 2017 7:03 AM
Hi,
I just would like to know if there is any further question on this issue.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, November 21, 2017 2:22 AM
Hi Dennis,
Have you taken time to check my post? If there is any update, please post back here.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Thursday, November 23, 2017 7:24 AM
So you get your issue resolved?
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].