DISM is broke

Discussion in 'Windows 7' started by Humphrey, Mar 30, 2014.

  1. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,466
    990
    60
    #1 Humphrey, Mar 30, 2014
    Last edited by a moderator: Apr 20, 2017
    Cannot mount wim files. Exact same command works in a VM so I think it has something to do with my install.

    Code:
    2014-03-29 23:53:56, Info                  DISM   PID=7472 Scratch directory set to 'C:\Users\ADMINI~1\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
    2014-03-29 23:53:56, Info                  DISM   PID=7472 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadImageSession
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Manager: PID=7472 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: 
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: 
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.1.7601, Running architecture=amd64, Number of processors=4
     2014-03-29 23:53:56, Info                  DISM   DISM.EXE: Executing command line: dism  /mount-wim /wimfile:install.wim /Index:1 /mountdir:C:\Mount
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Getting Provider WimManager - CDISMProviderStore::GetProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2014-03-29 23:53:56, Error                 DISM   DISM WIM Provider: PID=7472 Failed to mount the image. - CWimImageInfo::Mount(hr:0x80070003)
    2014-03-29 23:53:56, Error                 DISM   DISM WIM Provider: PID=7472 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:999 - CWimManager::InternalOpMount(hr:0x80070003)
    2014-03-29 23:53:56, Error                 DISM   DISM WIM Provider: PID=7472 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2247 - CWimManager::InternalCmdMount(hr:0x80070003)
    2014-03-29 23:53:56, Error                 DISM   DISM WIM Provider: PID=7472 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070003)
    2014-03-29 23:53:56, Error                 DISM   DISM WIM Provider: PID=7472 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:516 - CWimManager::ExecuteCmdLine(hr:0x80070003)
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: 
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
    2014-03-29 23:53:56, Info                  DISM   DISM.EXE: 
    2014-03-29 23:53:56, Info                  DISM   DISM Image Session: PID=7472 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
    2014-03-29 23:53:56, Info                  DISM   DISM Provider Store: PID=7472 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
    
    This happens with the system DISM and Windows Kit ADK.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #2 murphy78, Mar 30, 2014
    Last edited by a moderator: Apr 20, 2017
    Are you running the adk from the commandline shortcut it puts in your start menu?
     
  3. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,466
    990
    60
    At first I didn't but I did try as a trouble shooting option to a solution.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Daimao

    Daimao MDL Junior Member

    May 8, 2012
    53
    25
    0
    Try a reinstall.
     
  5. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,466
    990
    60
    Reinstall what, my os? I am sure that could work but to drastic for a broken DISM.

    Like I said, I even installed one of the Windows ADK's and still have the issue. Grr. :ill:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #6 s1ave77, Mar 30, 2014
    Last edited by a moderator: Apr 20, 2017
    What is the exact error, when tryint to mount a WIM? Any leftovers (sometimes unmount fails...) that might interfer?

    Code:
    dism /get-MountedWimInfo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,466
    990
    60
    #7 Humphrey, Mar 30, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Ive uninstalled the ADK's. Going to run some cleanup and reinstall them.

    Code:
    C:\Windows\system32>dism /get-MountedWimInfo
    
    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385
    
    Mounted images:
    
    
    No mounted images found.
    
    The operation completed successfully.
    
    C:\Windows\system32>
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,466
    990
    60
    Fixed it.

    Uninstalled my ADK's and installed Windows6.1-KB947821-v32-x64 (System Update Readiness Tool for Windows 7 for x64-based Systems (KB947821) [February 2014]) which is suppose to fix component store corruption amongst other things.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...