none
Dism error while trying to convert esd to wim

    Question

  • I'm trying to convert install.esd to install.wim from a clean iso/usb windows kit that was created with media creation tool and the version of windows is windows 8.1 pro

    dism /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install4.wim /Compress:max /CheckIntegrity

    gives Error 11 and the log looks like this

    2017-03-23 07:28:32, Info                  DISM   PID=3404 TID=1424 Scratch directory set to 'C:\Users\Dan\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
    2017-03-23 07:28:32, Info                  DISM   PID=3404 TID=1424 DismCore.dll version: 6.3.9600.17031 - CDISMManager::FinalConstruct
    2017-03-23 07:28:32, Info                  DISM   PID=3404 TID=1424 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Manager: PID=3404 TID=1424 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: 
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: 
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.3.9600, Running architecture=amd64, Number of processors=4
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Dism.exe version: 6.3.9600.17031
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Executing command line: dism  /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install4.wim /Compress:max /CheckIntegrity
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Loading Provider from location C:\Windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Connecting to the provider located at C:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Loading Provider from location C:\Windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Connecting to the provider located at C:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: VHDManager
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Getting Provider WimManager - CDISMProviderStore::GetProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    [3404] [0x8144012d] 
    2017-03-23 07:28:32, Warning               DISM   DISM WIM Provider: PID=3404 [ReadWimHeader:(2268) -> version/header mismatch] E:\Recovery\install.esd (HRESULT=0x8007000B) - CWimManager::WimProviderMsgLogCallback
    [3404] [0xc144012e] 
    2017-03-23 07:28:32, Error                 DISM   DISM WIM Provider: PID=3404 [WIMCreateFile:(415) -> Fail to read WIM header] E:\Recovery\install.esd (HRESULT=0x8007000B) - CWimManager::WimProviderMsgLogCallback
    2017-03-23 07:28:32, Error                 DISM   DISM WIM Provider: PID=3404 TID=1424 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1440 - CWimManager::Export(hr:0x8007000b)
    2017-03-23 07:28:32, Error                 DISM   DISM WIM Provider: PID=3404 TID=1424 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4862 - CWimManager::InternalCmdExport(hr:0x8007000b)
    2017-03-23 07:28:32, Error                 DISM   DISM WIM Provider: PID=3404 TID=1424 Error executing command - CWimManager::InternalExecuteCmd(hr:0x8007000b)
    2017-03-23 07:28:32, Error                 DISM   DISM WIM Provider: PID=3404 TID=1424 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2273 - CWimManager::ExecuteCmdLine(hr:0x8007000b)
    2017-03-23 07:28:32, Error                 DISM   DISM.EXE: WimManager processed the command line but failed. HRESULT=8007000B
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: 
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
    2017-03-23 07:28:32, Info                  DISM   DISM.EXE: 
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
    2017-03-23 07:28:32, Info                  DISM   DISM Provider Store: PID=3404 TID=1424 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
    

    I know for sure that i was able to convert esd file a while back since i have a wim file that i've played with it.

    The weird thing is that if i convert that wim file to esd than i can't convert the new esd file back to wim format.

    I can convert esd to wim file with

    dism /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install.wim /Compress:recovery /CheckIntegrity

    but then i can't mount it. i'm guessing that Compress:recovery is the problem.

    I could use some help with this

    Also my account has admin right, LUA is completely disable (registry).



    Thursday, March 23, 2017 5:37 AM

All replies

  • Hi,

    After my search, I think you are right, the Compress:recovery can be the problem, please check it.

    Best Regards,

    Tao


    Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, March 27, 2017 1:12 AM
    Moderator
  • well i can't convert that esd to wim with any other compression but the recovery one.

    As i said recovery compression does not work to mount it.

    So how do i convert the esd file to wim from cmd and to be able to mount it?

    Friday, March 31, 2017 4:08 PM
  • I'm solved problem with ADK.

    Install "Windows ADK for Windows 8.1 Update" minimum.

    Run cmd with admin,

    cd C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\DISM

    dism /export-image /SourceImageFile:c:\install.esd /SourceIndex:1 /DestinationImageFile:c:\install.wim /Compress:max /CheckIntegrity

    install.esd and install.wim in root directory C:\

    Sourceindex is 1 for me.

    DISM version before: 6.3.9600.17031

    DISM version installed ADK: 6.3.9600.17029 (running C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\DISM)

    Friday, April 20, 2018 7:40 PM