question

BlakeBoman-4564 avatar image
0 Votes"
BlakeBoman-4564 asked BlakeBoman-4564 answered

DISM Capture Error 5

Hi,

I have a project coming up soon that will require deploying Windows 10 via a customized image file. I'm having issues with capturing a wim file from a source which we have customized and run sysprep on.

I'm running command prompt as administrator on a computer running Windows 10 21H1 (same as the source image) that I am a local admin on. The hard drive of the image source is mounted via an external dock as F:. I notice that it creates the public.wim file at the destination directory, so it doesn't seem to be a write permission issue on the local computer. I've tried putting quotes around all of the paths in the command, but it didn't seem to make a difference. I've also tried running DISM from the ADK folder at C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM, and it didn't make any difference either. I've tried capturing from inside of WinPE built from the latest ADK source, in order to take antivirus out of the equation, with the same error. Any help or advice would be appreciated.

DISM log:
2021-08-10 12:22:42, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
2021-08-10 12:22:42, Info DISM DISM.EXE:
2021-08-10 12:22:42, Info DISM DISM.EXE: Host machine information: OS Version=10.0.19043, Running architecture=amd64, Number of processors=12
2021-08-10 12:22:42, Info DISM DISM.EXE: Dism.exe version: 10.0.19041.1
2021-08-10 12:22:42, Info DISM DISM.EXE: Executing command line: dism.exe /capture-image /imagefile:d:\public.wim /capturedir:f:\ /name:public
2021-08-10 12:22:42, Info DISM DISM Provider Store: PID=32076 TID=28560 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2021-08-10 12:22:42, Info DISM DISM Provider Store: PID=32076 TID=28560 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-08-10 12:22:42, Info DISM DISM Provider Store: PID=32076 TID=28560 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-08-10 12:22:42, Info DISM DISM Provider Store: PID=32076 TID=28560 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-08-10 12:22:42, Info DISM DISM Provider Store: PID=32076 TID=28560 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-08-10 12:22:42, Info DISM DISM Provider Store: PID=32076 TID=28560 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-08-10 12:22:42, Info DISM DISM Provider Store: PID=32076 TID=28560 Connecting to the provider located at C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2021-08-10 12:22:42, Warning DISM DISM Provider Store: PID=32076 TID=28560 Failed to load the provider: C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2021-08-10 12:22:42, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2021-08-10 12:22:42, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2021-08-10 12:22:42, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
2021-08-10 12:22:42, Info DISM DISM.EXE: Attempting to add the commands from provider: SiloedPackageManager
2021-08-10 12:22:42, Info DISM DISM.EXE: Succesfully registered commands for the provider: SiloedPackageManager.
2021-08-10 12:22:42, Info DISM DISM.EXE: Attempting to add the commands from provider: FfuManager
2021-08-10 12:22:42, Info DISM DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2021-08-10 12:22:42, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
2021-08-10 12:22:42, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
2021-08-10 12:22:42, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
2021-08-10 12:22:42, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2021-08-10 12:22:42, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
[32076] [0xc144012f]
2021-08-10 12:23:26, Error DISM DISM WIM Provider: PID=32076 TID=28560 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1123 - CWimManager::Capture(hr:0x80070005)
2021-08-10 12:23:26, Error DISM DISM WIM Provider: PID=32076 TID=28560 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4486 - CWimManager::InternalCmdCaptureBase(hr:0x80070005)
2021-08-10 12:23:26, Error DISM DISM WIM Provider: PID=32076 TID=28560 "Error executing command" - CWimManager::InternalExecuteCmd(hr:0x80070005)
2021-08-10 12:23:26, Error DISM DISM WIM Provider: PID=32076 TID=28560 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2119 - CWimManager::ExecuteCmdLine(hr:0x80070005)
2021-08-10 12:23:26, Error DISM DISM.EXE: WimManager processed the command line but failed. HRESULT=80070005
2021-08-10 12:23:26, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2021-08-10 12:23:26, Info DISM DISM.EXE:
2021-08-10 12:23:26, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

windows-10-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

BlakeBoman-4564 avatar image
0 Votes"
BlakeBoman-4564 answered BlakeBoman-4564 edited

I'm able to capture a WIM inside a VM from a clean install, so I'm assuming it's a problem with the source we've built.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.