none
Failure ( 5624 ): 1392: Run DISM: Apply-image RRS feed

  • Question

  • I ran a successful build task sequence on a VM to capture a custom WIM. When I try to deploy it, it gets 43% through the applying OS portion and fails with this message. I'm attaching the DISM log. Could their be an update that is causing this because I've went through and built it a second time.

    2016-02-03 20:41:04, Info                  DISM   PID=2032 TID=1052 Scratch directory set to 'X:\windows\TEMP\'. - CDISMManager::put_ScratchDir
    2016-02-03 20:41:04, Info                  DISM   PID=2032 TID=1052 DismCore.dll version: 10.0.10586.0 - CDISMManager::FinalConstruct
    2016-02-03 20:41:04, Info                  DISM   PID=2032 TID=1052 Successfully loaded the ImageSession at "\\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64" - CDISMManager::LoadLocalImageSession
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Manager: PID=2032 TID=1052 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM.EXE: 
    2016-02-03 20:41:04, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
    2016-02-03 20:41:04, Info                  DISM   DISM.EXE: 
    2016-02-03 20:41:04, Info                  DISM   DISM.EXE: Host machine information: OS Version=10.0.10586, Running architecture=amd64, Number of processors=2
    2016-02-03 20:41:04, Info                  DISM   DISM.EXE: Dism.exe version: 10.0.10586.0
    2016-02-03 20:41:04, Info                  DISM   DISM.EXE: Executing command line: "\\CORPIMGSRV00.net\Dev-Windows$\Servicing\X64\DISM.exe"  /Apply-Image /ImageFile:"\\CORPIMGSRV00.net\Dev-Windows$\Operating Systems\Image - Win8.1 x64 - Q1 2016\IMG-WIN81-X64(2-2-2016-725).wim" /Index:1 /ApplyDir:C:
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Loading Provider from location \\CORPIMGSRV00.net\Dev-Windows$\Servicing\X64\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Connecting to the provider located at \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Loading Provider from location \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Connecting to the provider located at \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Loading Provider from location \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Connecting to the provider located at \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:04, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Loading Provider from location \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Connecting to the provider located at \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Loading Provider from location \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Connecting to the provider located at \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Loading Provider from location \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\FfuProvider.dll - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Connecting to the provider located at \\CORPIMGSRV00.northamerica. .net\Dev-Windows$\Servicing\X64\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: VHDManager
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
    2016-02-03 20:41:05, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FfuManager
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Getting Provider GenericImagingManager - CDISMProviderStore::GetProvider
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Getting Provider WimManager - CDISMProviderStore::GetProvider
    2016-02-03 20:41:05, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    [2032] [0x8144012d] 
    2016-02-03 20:44:56, Warning               DISM   DISM WIM Provider: PID=2032 [UncompressFile:(1116) -> file corrupted in block at offset 00000193D68C3F1A] C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x80070570] ResExtract:(472): The file or directory is corrupted and unreadable.
    [2032] [0x8144012d] 
    2016-02-03 20:44:56, Warning               DISM   DISM WIM Provider: PID=2032 [ResExtract:(474) -> UncompressFile failed] C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x81440133] 
    [2032] [0x8144012d] 
    2016-02-03 20:44:58, Warning               DISM   DISM WIM Provider: PID=2032 [UncompressFile:(1116) -> file corrupted in block at offset 00000193D68C3F1A] C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x80070570] ResExtract:(472): The file or directory is corrupted and unreadable.
    [2032] [0x8144012d] 
    2016-02-03 20:44:58, Warning               DISM   DISM WIM Provider: PID=2032 [ResExtract:(474) -> UncompressFile failed] C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x81440133] 
    [2032] [0x8144012d] 
    2016-02-03 20:44:59, Warning               DISM   DISM WIM Provider: PID=2032 [UncompressFile:(1116) -> file corrupted in block at offset 00000193D68C3F1A] C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x80070570] ResExtract:(472): The file or directory is corrupted and unreadable.
    [2032] [0x8144012d] 
    2016-02-03 20:44:59, Warning               DISM   DISM WIM Provider: PID=2032 [ResExtract:(474) -> UncompressFile failed] C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x81440133] 
    [2032] [0x8144012d] 
    2016-02-03 20:45:01, Warning               DISM   DISM WIM Provider: PID=2032 [UncompressFile:(1116) -> file corrupted in block at offset 00000193D68C3F1A] C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x80070570] ResExtract:(472): The file or directory is corrupted and unreadable.
    [2032] [0x8144012d] 
    2016-02-03 20:45:01, Warning               DISM   DISM WIM Provider: PID=2032 [ResExtract:(474) -> UncompressFile failed] C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x81440133] 
    [2032] [0x8144012d] 
    2016-02-03 20:45:02, Warning               DISM   DISM WIM Provider: PID=2032 [UncompressFile:(1116) -> file corrupted in block at offset 00000193D68C3F1A] C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x80070570] ResExtract:(472): The file or directory is corrupted and unreadable.
    [2032] [0x8144012d] 
    2016-02-03 20:45:02, Warning               DISM   DISM WIM Provider: PID=2032 [ResExtract:(474) -> UncompressFile failed] C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x80070570] RestoreFileData:(2804): The file or directory is corrupted and unreadable.
    [2032] [0x80070570] RestoreFileData:(2831): The file or directory is corrupted and unreadable.
    [2032] [0x80070570] RestoreFileDataCallback:(1810): The file or directory is corrupted and unreadable.
    [2032] [0xc144012e] 
    2016-02-03 20:45:02, Error                 DISM   DISM WIM Provider: PID=2032 C:\Windows\Installer\2b106.msp (HRESULT=0x80070570) - CWimManager::WimProviderMsgLogCallback
    [2032] [0x80070570] ProcessWimQueueNode:(96): The file or directory is corrupted and unreadable.
    [2032] [0x80070570] DequeueWimData:(304): The file or directory is corrupted and unreadable.
    [2032] [0x80070570] ImageWorkerThread:(203): The file or directory is corrupted and unreadable.
    [2032] [0x80070570] GetImageErrorCode:(2833): The file or directory is corrupted and unreadable.
    [2032] [0x80070570] RestoreFileNodeList:(1936): The file or directory is corrupted and unreadable.
    [2032] [0x80070570] RestoreFilesCallback:(3638): The file or directory is corrupted and unreadable.
    [2032] [0x80070570] EnumImageDataEntries:(1047): The file or directory is corrupted and unreadable.
    [2032] [0x80070570] RestoreAllData:(985): The file or directory is corrupted and unreadable.
    [2032] [0x80070570] WIMApplyImageInternal:(704): The file or directory is corrupted and unreadable.
    2016-02-03 20:45:02, Error                 DISM   DISM WIM Provider: PID=2032 TID=1052 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1046 - CWimManager::Apply(hr:0x80070570)
    2016-02-03 20:45:03, Error                 DISM   DISM Imaging Provider: PID=2032 TID=1052 base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2500 - CGenericImagingManager::InternalCmdWimApply(hr:0x80070570)
    2016-02-03 20:45:03, Error                 DISM   DISM Imaging Provider: PID=2032 TID=1052 base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:535 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070570)
    2016-02-03 20:45:03, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
    2016-02-03 20:45:03, Info                  DISM   DISM.EXE: 
    2016-02-03 20:45:03, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
    2016-02-03 20:45:03, Info                  DISM   DISM.EXE: 
    2016-02-03 20:45:03, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2016-02-03 20:45:03, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
    2016-02-03 20:45:03, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
    2016-02-03 20:45:03, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
    2016-02-03 20:45:03, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
    2016-02-03 20:45:03, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
    2016-02-03 20:45:03, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
    2016-02-03 20:45:03, Info                  DISM   DISM Provider Store: PID=2032 TID=1052 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
    

    Thursday, February 4, 2016 3:24 AM

Answers

  • It was the Cleanup Script. There is a patch that breaks DISM /cleanup command.

    http://deploymentbunny.com/2014/06/05/nice-to-know-get-rid-of-all-junk-before-sysprep-and-capture-when-creating-a-reference-image-in-mdt/

    • Marked as answer by jrod_32 Saturday, February 6, 2016 6:39 AM
    Saturday, February 6, 2016 6:39 AM

All replies

  • Hi

    It seems like your wim capture file is corrupted.

    Have you only deployed it to one device? (I always test the deployment first time on a virtual machine - then I'm sure that there issent a hardware related issue)

    Kind regards
    Per Larsen
    Twitter: @PerLarsen1975 | Blog: osddeployment.wordpress.com
    If this post is helpful please vote it as Helpful or click Mark for answer.

    Thursday, February 4, 2016 6:17 AM
  • Yes, I've tried on physical hardware and a VM and both had the same issue. Can't figure out what is corrupting it though. All I did was install OS, install patches, and install apps. Then sysprep and captured...
    Thursday, February 4, 2016 1:35 PM
  • try to capture another image without updates and apps . just to see is your process is working.

    Kind regards
    Per Larsen
    Twitter: @PerLarsen1975 | Blog: osddeployment.wordpress.com
    If this post is helpful please vote it as Helpful or click Mark for answer.

    Thursday, February 4, 2016 9:05 PM
  • I tested with no updates and no apps and worked fine. I'm beginning to think it might be the "Cleanup before Sysprep" script that I am running. Think there is a patch that is breaking it.
    Friday, February 5, 2016 5:43 PM
  • It was the Cleanup Script. There is a patch that breaks DISM /cleanup command.

    http://deploymentbunny.com/2014/06/05/nice-to-know-get-rid-of-all-junk-before-sysprep-and-capture-when-creating-a-reference-image-in-mdt/

    • Marked as answer by jrod_32 Saturday, February 6, 2016 6:39 AM
    Saturday, February 6, 2016 6:39 AM