Split it into multiple split wim files or compress it to install.esd? Split: Code: Dism.exe /Split-Image /ImageFile:"install.wim" /SWMFile:"install.swm" /FileSize:4000 Compress: Code: dism /Export-Image /SourceImageFile:"install.wim" /all /DestinationImageFile:"instal.esd" /Compress:recovery
That worked, compressing not, even after adding an "i". So I will just replace the original with those two files. I will report back if this helped. If not, I will go back to Win10 IoT, thanks.
Compress install.wim > install.esd: Code: E:\Test>dism /Export-Image /SourceImageFile:"install.wim" /all /DestinationImageFile:"install.esd" /Compress:recovery Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Exporting image [==========================100.0%==========================] Exporting image [==========================100.0%==========================] Exporting image [==========================100.0%==========================] Exporting image [==========================100.0%==========================] Exporting image [==========================100.0%==========================] Exporting image [==========================100.0%==========================] Exporting image [==========================100.0%==========================] Exporting image [==========================100.0%==========================] The operation completed successfully. Code: Name: install.esd Size: 7115594148 bytes : 6785 MiB But if the install.esd still is to large for FAT32 (>4000MB) then you can split that install.esd to multiple install.swm files too, you can only use the split install.esd files with 24H2 setup: Code: Dism.exe /Split-Image /ImageFile:"install.esd" /SWMFile:"install.swm" /FileSize:4000 Running: Code: E:\Test>Dism.exe /Split-Image /ImageFile:"install.esd" /SWMFile:"install.swm" /FileSize:4000 Deployment Image Servicing and Management tool Version: 10.0.19041.3636 The operation completed successfully. Code: Name: install.swm Size: 4155615830 bytes : 3963 MiB Name: install2.swm Size: 2936038562 bytes : 2800 MiB
Code: PS C:\New folder> dism /Export-Image /SourceImageFile:"install.wim" /all /DestinationImageFile:"install.esd" /Compress:recovery Deployment Image Servicing and Management tool Version: 10.0.26100.1150 Error: 87 A required option is missing from the command-line. Ensure that /index or /name is specified. The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log PS C:\New folder> Might missing something with that.
Maybe a DISM version thing. Spoiler: log Code: 2025-04-13 18:02:11, Info DISM PID=9744 TID=8328 Scratch directory set to 'C:\Users\Bobby\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir 2025-04-13 18:02:11, Info DISM PID=9744 TID=8328 DismCore.dll version: 10.0.26100.3323 - CDISMManager::FinalConstruct 2025-04-13 18:02:11, Info DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log 2025-04-13 18:02:11, Warning DISM PID=9744 TID=8328 Failed to archive the log file. Continuing with existing log file. - CDISMManager::CreateLocalImageSession(hr:0x80070002) 2025-04-13 18:02:11, Info DISM PID=9744 TID=8328 Successfully loaded the ImageSession at "C:\WINDOWS\system32\Dism" - CDISMManager::LoadLocalImageSession 2025-04-13 18:02:11, Info DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log 2025-04-13 18:02:11, Info DISM DISM Provider Store: PID=9744 TID=8328 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger 2025-04-13 18:02:11, Info DISM Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log 2025-04-13 18:02:11, Info DISM DISM Manager: PID=9744 TID=8328 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession 2025-04-13 18:02:11, Info DISM DISM.EXE: 2025-04-13 18:02:11, Info DISM DISM.EXE: <----- Starting Dism.exe session -----> 2025-04-13 18:02:11, Info DISM DISM.EXE: 2025-04-13 18:02:11, Info DISM DISM.EXE: Host machine information: OS Version=10.0.26100, Running architecture=amd64, Number of processors=16 2025-04-13 18:02:11, Info DISM DISM.EXE: Instance information: Parent process=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe, Parent process PID=19868 2025-04-13 18:02:11, Info DISM DISM.EXE: Dism.exe version: 10.0.26100.1150 2025-04-13 18:02:11, Info DISM DISM.EXE: Executing command line: "C:\WINDOWS\system32\Dism.exe" /Export-Image /SourceImageFile:install.wim /all /DestinationImageFile:install.esd /Compress:recovery 2025-04-13 18:02:11, Error DISM DISM WIM Provider: PID=9744 TID=8328 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1494 - CWimManager::Export(hr:0x80070057) 2025-04-13 18:02:11, Error DISM DISM WIM Provider: PID=9744 TID=8328 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4863 - CWimManager::InternalCmdExport(hr:0x80070057) 2025-04-13 18:02:11, Error DISM DISM WIM Provider: PID=9744 TID=8328 "Error executing command" - CWimManager::InternalExecuteCmd(hr:0x80070057) 2025-04-13 18:02:11, Error DISM DISM WIM Provider: PID=9744 TID=8328 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2317 - CWimManager::ExecuteCmdLine(hr:0x80070057) 2025-04-13 18:02:11, Info DISM DISM.EXE: Image session has been closed. Reboot required=no. 2025-04-13 18:02:11, Info DISM DISM.EXE: 2025-04-13 18:02:11, Info DISM DISM.EXE: <----- Ending Dism.exe session -----> 2025-04-13 18:02:11, Info DISM DISM.EXE:
Still no success here. Code: 'wimlib-imagex' is not recognized as an internal or external command, operable program or batch file.
For win 11 ISOs I create the install.esd and next split the install.esd when it is >4GB. Only for win 10 i only split the install.wim if the install.esd is >4GB. Nice it did work out for you