Update Deployment Fails - Error: 0xc150003a An error occurred while loading DISM. The DISM tool may be corrupt.

Answered Update Deployment Fails - Error: 0xc150003a An error occurred while loading DISM. The DISM tool may be corrupt.

  • Monday, October 22, 2012 6:41 PM
     
     

    OK, I am stumped I can't get this to work... I am running this on a Windows 7 Professional 64bit Box joined to the domain (I have domain admin rightswith Microsoft Windows AIK & Microsoft Deployment Toolkit 2012 installed.

    1. Add new Deployment Share - accept all defaults
    2. Import Operating System from Windows 7 Professional cd created from iso downloaded from Microsoft
    3. Create Task Sequence - accept all defaults
    4. Unchecked x86 checkbox on Deployment Share Properties
    5. Update Deployment Share
    6. Receive the following output:
     

    === Making sure the deployment share has the latest x86 tools ===
    === Making sure the deployment share has the latest x64 tools ===

    === Processing LiteTouchPE (x64) boot image ===

    Building requested boot image profile.
    Determining if any changes have been made in the boot image configuration.
    No existing boot image profile found for platform x64 so a new image will be created.
    Calculating hashes for requested content.
    Changes have been made, boot image will be updated.
    Windows PE WIM C:\Program Files\Windows AIK\Tools\PETools\amd64\winpe.wim will be used.
    WIM file mounted.
    Set Windows PE system root.
    Set Windows PE scratch space.
    Added component winpe-hta
    Added component winpe-scripting

    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385


    Error: 0xc150003a

    An error occurred while loading DISM. The DISM tool may be corrupt. 
    Try reinstalling DISM.

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

    Exit code = -1051721670

    DISM /Add-Package failed for component C:\Program Files\Windows AIK\\Tools\PETools\amd64\WinPE_FPs\winpe-wmi.cab, rc = -1051721670.
    Added component winpe-wmi
    Added component winpe-securestartup
    Added component winpe-fmapi

    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385


    Error: 0xc1500023

    An error occurred while attempting to access the image at C:\Users\tleanna\AppData\Local\Temp\MDTUpdate.5084\Mount.
    For more information, review the log file.

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

    Exit code = -1051721693

    DISM /Add-Package failed for component C:\Program Files\Windows AIK\\Tools\PETools\amd64\WinPE_FPs\winpe-mdac.cab, rc = -1051721693.
    Added component winpe-mdac
    Copying files...
    Copying WIM to the deployment share.
    Creating an ISO.
    Copying ISO to the deployment share.

    === Completed processing platform x64 ===


    === Processing complete ===

    I create the boot CD and all it does is reboot the machine... What is going on?


All Replies

  • Monday, October 22, 2012 10:00 PM
     
     
    It looks like you my have a corrupt install. Re-install WAIK. Then delete the contents of the Boot folder in the Deployment Share. Then update the D.S. again.

    Blog: http://scriptimus.wordpress.com

  • Tuesday, October 23, 2012 6:20 PM
     
     
    It looks like you my have a corrupt install. Re-install WAIK. Then delete the contents of the Boot folder in the Deployment Share. Then update the D.S. again.

    Blog: http://scriptimus.wordpress.com

    OK, I did that and now this deployment share works...

    SO, I created another deployment share:

    1. Add new Deployment Share - accept all defaults
    2. Import Operating System from custom .wim file
    3. Create Task Sequence - accept all defaults
    4. Unchecked x86 checkbox on Deployment Share Properties
    5. Update Deployment Share
    6. Receive the following output:
    === Making sure the deployment share has the latest x86 tools ===
    === Making sure the deployment share has the latest x64 tools ===

    === Processing LiteTouchPE (x64) boot image ===

    Building requested boot image profile.
    Determining if any changes have been made in the boot image configuration.
    No existing boot image profile found for platform x64 so a new image will be created.
    Calculating hashes for requested content.
    Changes have been made, boot image will be updated.
    Windows PE WIM C:\Program Files\Windows AIK\Tools\PETools\amd64\winpe.wim will be used.
    WIM file mounted.
    Set Windows PE system root.
    Set Windows PE scratch space.
    Added component winpe-hta

    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385


    Error: 0xc150003a

    An error occurred while loading DISM. The DISM tool may be corrupt. 
    Try reinstalling DISM.

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

    Exit code = -1051721670

    DISM /Add-Package failed for component C:\Program Files\Windows AIK\\Tools\PETools\amd64\WinPE_FPs\winpe-scripting.cab, rc = -1051721670.
    Added component winpe-scripting

    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385


    Error: 0xc1500023

    An error occurred while attempting to access the image at C:\Users\user\AppData\Local\Temp\MDTUpdate.2616\Mount.
    For more information, review the log file.

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

    Exit code = -1051721693

    DISM /Add-Package failed for component C:\Program Files\Windows AIK\\Tools\PETools\amd64\WinPE_FPs\winpe-wmi.cab, rc = -1051721693.
    Added component winpe-wmi
    Added component winpe-securestartup
    Added component winpe-fmapi
    Added component winpe-mdac

    Copying files...

    Copying WIM to the deployment share.
    Creating an ISO.
    Copying ISO to the deployment share.

    === Completed processing platform x64 ===


    === Processing complete ===

    So do I have to uninstall and re-install after every deployment share? This is a fresh machine with a fresh install... I don't get why this is corrupting so easily...

    • Marked As Answer by TLeanna Tuesday, October 23, 2012 6:25 PM
    • Unmarked As Answer by TLeanna Tuesday, October 23, 2012 6:26 PM
    •  
  • Tuesday, October 23, 2012 6:57 PM
     
     

    Here are the 'non- info entries' in the C:Windows\Logs\DISM\dism.log file

    10/23/2012 13:04:36, Error DISM DISM WIM Provider: PID=4020 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmountedimageinfo.cpp:317 - CWimMountedImageInfo::Initialize(hr:0x80070057)
    10/23/2012 13:04:36, Error DISM DISM WIM Provider: PID=4020 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmountedimageinfo.cpp:94 - CWimMountedImageInfo::CreateWimMountedImageInfo(hr:0x80070057)
    10/23/2012 13:04:36, Error DISM DISM WIM Provider: PID=4020 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimimage.cpp:497 - CWimImage::InternalGetStatus(hr:0x80070057)
    10/23/2012 13:04:36, Error DISM DISM.EXE: Failed to mount the image at 'C:\Users\tleanna\AppData\Local\Temp\MDTUpdate.2184\Mount'. HRESULT=C1500023 - CDismWrapper::LoadImageSession(hr:0xc1500023)

    10/23/2012 13:13:15, Warning DISM DISM Provider Store: PID=3048 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\0F4D773E-689F-47B1-A3A2-CC978C48BC98\MsiProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    10/23/2012 13:13:15, Warning DISM DISM Provider Store: PID=3048 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\0F4D773E-689F-47B1-A3A2-CC978C48BC98\TransmogProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    10/23/2012 13:13:22, Warning DISM DISM Provider Store: PID=3952 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\550EFD34-C30D-4F8A-ACE7-D155F17D8CE5\MsiProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    10/23/2012 13:13:22, Warning DISM DISM Provider Store: PID=3952 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\550EFD34-C30D-4F8A-ACE7-D155F17D8CE5\TransmogProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    10/23/2012 13:13:29, Warning DISM DISM Provider Store: PID=756 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\1D28002D-882C-49A5-804C-FA8841FA8DDA\MsiProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    10/23/2012 13:13:29, Warning DISM DISM Provider Store: PID=756 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\1D28002D-882C-49A5-804C-FA8841FA8DDA\TransmogProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    10/23/2012 13:13:44, Warning DISM DISM Provider Store: PID=3520 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\AB5A134B-6082-4974-BCCE-14F9CF427D54\MsiProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    10/23/2012 13:13:44, Warning DISM DISM Provider Store: PID=3520 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\AB5A134B-6082-4974-BCCE-14F9CF427D54\TransmogProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

    10/23/2012 13:13:49, Error DISM DISM WIM Provider: PID=3376 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmountedimageinfo.cpp:317 - CWimMountedImageInfo::Initialize(hr:0x80070057)
    10/23/2012 13:13:49, Error DISM DISM WIM Provider: PID=3376 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmountedimageinfo.cpp:94 - CWimMountedImageInfo::CreateWimMountedImageInfo(hr:0x80070057)
    10/23/2012 13:13:49, Error DISM DISM WIM Provider: PID=3376 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimimage.cpp:497 - CWimImage::InternalGetStatus(hr:0x80070057)
    10/23/2012 13:13:49, Error DISM DISM.EXE: No providers can service the image found at 'C:\Users\tleanna\AppData\Local\Temp\MDTUpdate.2616\Mount'. HRESULT=C150003A - CDismWrapper::ValidateDismTarget(hr:0xc150003a)
    10/23/2012 13:13:49, Error DISM DISM WIM Provider: PID=1620 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmountedimageinfo.cpp:317 - CWimMountedImageInfo::Initialize(hr:0x80070057)
    10/23/2012 13:13:49, Error DISM DISM WIM Provider: PID=1620 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmountedimageinfo.cpp:94 - CWimMountedImageInfo::CreateWimMountedImageInfo(hr:0x80070057)
    10/23/2012 13:13:49, Error DISM DISM WIM Provider: PID=1620 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimimage.cpp:497 - CWimImage::InternalGetStatus(hr:0x80070057)
    10/23/2012 13:13:49, Error DISM DISM.EXE: Failed to mount the image at 'C:\Users\tleanna\AppData\Local\Temp\MDTUpdate.2616\Mount'. HRESULT=C1500023 - CDismWrapper::LoadImageSession(hr:0xc1500023)

    10/23/2012 13:13:54, Warning DISM DISM Provider Store: PID=524 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\905714A9-8507-40B8-90D5-EE6CBC1A34FF\MsiProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    10/23/2012 13:13:54, Warning DISM DISM Provider Store: PID=524 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\905714A9-8507-40B8-90D5-EE6CBC1A34FF\TransmogProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    10/23/2012 13:14:14, Warning DISM DISM Provider Store: PID=2244 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\22816829-67EE-40E1-94F5-ED7FDE4D6537\MsiProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    10/23/2012 13:14:14, Warning DISM DISM Provider Store: PID=2244 Failed to Load the provider: C:\Users\tleanna\AppData\Local\Temp\22816829-67EE-40E1-94F5-ED7FDE4D6537\TransmogProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

    10/22/2012 15:51:17, Error DISM DISM WIM Provider: PID=4628 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmountedimageinfo.cpp:317 - CWimMountedImageInfo::Initialize(hr:0x80070057)
    10/22/2012 15:51:17, Error DISM DISM WIM Provider: PID=4628 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmountedimageinfo.cpp:94 - CWimMountedImageInfo::CreateWimMountedImageInfo(hr:0x80070057)
    10/22/2012 15:51:17, Error DISM DISM WIM Provider: PID=4628 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimimage.cpp:497 - CWimImage::InternalGetStatus(hr:0x80070057)
    10/22/2012 15:51:17, Error DISM DISM.EXE: Failed to mount the image at 'C:\Users\tleanna\AppData\Local\Temp\MDTUpdate.4764\Mount'. HRESULT=C1500023 - CDismWrapper::LoadImageSession(hr:0xc1500023)
    10/22/2012 15:53:35, Error DISM DISM WIM Provider: PID=5064 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmountedimageinfo.cpp:317 - CWimMountedImageInfo::Initialize(hr:0x80070057)
    10/22/2012 15:53:35, Error DISM DISM WIM Provider: PID=5064 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmountedimageinfo.cpp:94 - CWimMountedImageInfo::CreateWimMountedImageInfo(hr:0x80070057)
    10/22/2012 15:53:35, Error DISM DISM WIM Provider: PID=5064 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimimage.cpp:497 - CWimImage::InternalGetStatus(hr:0x80070057)
    10/22/2012 15:53:35, Error DISM DISM.EXE: Failed to mount the image at 'C:\Users\tleanna\AppData\Local\Temp\MDTUpdate.4764\Mount'. HRESULT=C1500023 - CDismWrapper::LoadImageSession(hr:0xc1500023)

    What is referencing the D: drive? That is my CD Rom drive... What are the other errors?

  • Tuesday, October 23, 2012 8:02 PM
     
     

    Try this:

    Delete the contents of the temp folder. 

    Delete the contents of the DeploymentShare\Boot folder

    Check that user has local admin rights, try again.


    Blog: http://scriptimus.wordpress.com

  • Tuesday, October 23, 2012 8:15 PM
     
     

    Try this:

    Delete the contents of the temp folder. 

    Delete the contents of the DeploymentShare\Boot folder

    Check that user has local admin rights, try again.


    Blog: http://scriptimus.wordpress.com

    Deleted all contents of C:\Users\tleanna\appdata\loca\temp

    Deleted all contents of the DeploymentShare\Boot folder

    My account is a Domain administrator and have rights as a local admin

    Same result.... 

  • Monday, October 29, 2012 2:06 PM
     
     Answered

    After all failed attempts to uninstall/reinstall and with no other options, I have rebuilt this machine and now it works...

    • Marked As Answer by TLeanna Monday, October 29, 2012 2:06 PM
    •  
  • Monday, October 29, 2012 2:23 PM
     
     
    Glad to hear its sorded now. Sometimes it's quicker to rebuild.

    Blog: http://scriptimus.wordpress.com