DISM incorrect parameter error

0

I am following this tutorial about capturing a Windows 10 IoT Enterprise image. After properly preparing a USB drive, I inserted it into my IoT device. Upon booting, I selected the correct USB drive and I'm currently in my administrative command prompt (X:\windows\system32\cmd.exe).

The command dism /capture-image /imagefile:C:\IoTOS.wim /CaptureDir:C:\ /Name:"Windows 10 IoT Enterprise" succeeds, and looking at the C:\ drive by using the command dir C:\ shows that IoTOS.wim does indeed exist.

However, the DISM command to split the image into 4 GB chunks keeps failing. I first checked which USB drive I prepped to allow WinPE and executed dism /Split-Image /ImageFile:C:\IoTOS.wim /SWMFile:F:\IoTOS.swm /FileSize:4000 accordingly, but I keep getting error 87 saying that The parameter is incorrect, without specifying which parameter is incorrect.

Unfortunately, I cannot copy and paste the dism logs into this question, but it looks like the most important errors and warnings are the following:

  • DISM Provider Store: PID=1784 TID=1764 Failed to load the provider: X:\Windows\System32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

  • DISM Provider Store: PID=1784 TID=1764 Failed to load the provider: X:\Windows\System32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)

  • DISM WIM Provider: PID=1784 TID=1764 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1628 - CWimManager::SplitFile(hr:0x80070057)

  • DISM Imaging Provider: PID=1784 TID=1764 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2722 - CGenericImagingManager::InternalCmdWimSplit(hr:0x80070057)

  • DISM Imaging Provider: PID=1784 TID=1764 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:537 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070057)

The first error also showed up when capturing the image (dism /capture-image ...), but the other ones only occur when I try to split the image.

I downloaded the deployment and imaging tools with the WinPE add-on (Windows ADK) from the Microsoft website according to these earlier instructions

windows-10
command-line
dism
iot
asked on Super User Nov 6, 2020 by JansthcirlU

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0