So, here is my story, I'm making a little script to deploy images by name, ej: dism /apply-image /imagefile:install.wim /applydir:w:\ /name:"Windows 11 Pro"instead of dism /apply-image /imagefile:install.wim /applydir:w:\ /index:6So, It can be used regardless of the index images on it. Thing is, it fails by name but works by index. I get the error 2021-10-13 13:50:52, Error DISM DISM WIM Provider: PID=13192 TID=11788 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:916 - CWimManager::Apply(hr:0x80004005) 2021-10-13 13:50:52, Error DISM DISM Imaging Provider: PID=13192 TID=11788 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2829 - CGenericImagingManager::InternalCmdWimApply(hr:0x80004005) 2021-10-13 13:50:52, Error DISM DISM Imaging Provider: PID=13192 TID=11788 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:537 - CGenericImagingManager::ExecuteCmdLine(hr:0x80004005)Using dism 10.0.22000.1 with wim and esd files from microsoft official iso. Did anyone had this problem before? It works on older Windows 7 wim files.
Check the esd or install.wim with 7-zip, and open [1].xml file they might set the images name as "Windows 10", and used "Windows 11" as display name