help - DISM in windows 7

Discussion in 'Windows 7 / 8 /10 Client Exams' started by e_h_a_b, May 25, 2010.

  1. e_h_a_b

    e_h_a_b New Member

    4
    0
    1
    hello

    Iam trying to use DISM in windows 7 but get error :rolleyes:

    this is the command i used :


    C:\Program Files\Windows AIK\Tools\PETools>dism /mount-wim /wimfile:h:\vm\image.wim /index:1 /mountdir:e:\new

    and this is the error message:

    Error: 11 :eek:

    An attempt was made to load a program with an incorrect format.

    The DISM log file can be found at C:\windows\Logs\DISM\dism.log
     
  2. LukeP

    LukeP Gigabyte Poster

    1,194
    41
    90
    What's in the log?

    If the image is pre-DISM try PEIMG and ImageX tools.
     
    Last edited: May 25, 2010
    WIP: Uhmm... not sure
  3. e_h_a_b

    e_h_a_b New Member

    4
    0
    1
    this is the log file

    2010-05-25 21:45:36, Info DISM PID=2628 Scratch directory set to 'C:\Users\-----\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
    2010-05-25 21:45:36, Info DISM PID=2628 Successfully loaded the ImageSession at "C:\windows\System32\Dism" - CDISMManager::LoadImageSession
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2010-05-25 21:45:36, Info DISM DISM Manager: PID=2628 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2010-05-25 21:45:36, Info DISM DISM.EXE:
    2010-05-25 21:45:36, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
    2010-05-25 21:45:36, Info DISM DISM.EXE:
    2010-05-25 21:45:36, Info DISM DISM.EXE: Host machine information: OS Version=6.1.7600, Running architecture=x86, Number of processors=1
    2010-05-25 21:45:36, Info DISM DISM.EXE: Executing command line: dism /mount-wim /wimfile:h:\vm\image.wim /index:1 /mountdir:e:\new
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Loading Provider from location C:\windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Connecting to the provider located at C:\windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Loading Provider from location C:\windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Connecting to the provider located at C:\windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Loading Provider from location C:\windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Connecting to the provider located at C:\windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2010-05-25 21:45:36, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
    2010-05-25 21:45:36, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
    2010-05-25 21:45:36, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
    2010-05-25 21:45:36, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
    2010-05-25 21:45:36, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
    2010-05-25 21:45:36, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
    2010-05-25 21:45:36, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Getting Provider WimManager - CDISMProviderStore::GetProvider
    2010-05-25 21:45:36, Info DISM DISM Provider Store: PID=2628 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2010-05-25 21:46:25, Error DISM DISM WIM Provider: PID=2628 Failed to mount the image. - CWimImageInfo::Mount(hr:0x8007000b)
    2010-05-25 21:46:25, Error DISM DISM WIM Provider: PID=2628 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:999 - CWimManager::InternalOpMount(hr:0x8007000b)
    2010-05-25 21:46:25, Error DISM DISM WIM Provider: PID=2628 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2247 - CWimManager::InternalCmdMount(hr:0x8007000b)
    2010-05-25 21:46:25, Error DISM DISM WIM Provider: PID=2628 Error executing command - CWimManager::InternalExecuteCmd(hr:0x8007000b)
    2010-05-25 21:46:25, Error DISM DISM WIM Provider: PID=2628 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:516 -
    CWimManager::ExecuteCmdLine(hr:0x8007000b)
    2010-05-25 21:46:25, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
    2010-05-25 21:46:25, Info DISM DISM.EXE:
    2010-05-25 21:46:25, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->
    2010-05-25 21:46:25, Info DISM DISM.EXE:
    2010-05-25 21:46:25, Info DISM DISM Image Session: PID=2628 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
    2010-05-25 21:46:25, Info DISM DISM Provider Store: PID=2628 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
    2010-05-25 21:46:25, Info DISM DISM Provider Store: PID=2628 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
    2010-05-25 21:46:25, Info DISM DISM Provider Store: PID=2628 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2010-05-25 21:46:25, Info DISM DISM Provider Store: PID=2628 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
    2010-05-25 21:46:25, Info DISM DISM Provider Store: PID=2628 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider


    what do you mean with pre-dism ???
    imagex works well but i am trying to learn using dism
    when i mount the image with imagex and use any of dism commands for the mounted image, the same error occur !!!
     
    Last edited: May 25, 2010
  4. e_h_a_b

    e_h_a_b New Member

    4
    0
    1
    i tried dism with another image ( install.wim which is in the windows7 dvd ) and it worked successfully
    So which images work with dism and which dont ????
    (the image that i used before was a windows 7 image that was captured with imagex)
     
  5. LukeP

    LukeP Gigabyte Poster

    1,194
    41
    90
    I think DISM can't service images created with ImageX.

    I was getting tidy message telling me that this image was created using ImageX and DISM can't service it.
    I was using DISM from Win7/2008 and Image created by ImageX from Vista.
     
    Last edited: May 25, 2010
    WIP: Uhmm... not sure
  6. e_h_a_b

    e_h_a_b New Member

    4
    0
    1

    OKKKK Thank You
     

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.