Hi,
Thank you very much for your feedback and sharing. We're glad that the question is solved now. It may help others who have similar issue.
Based on my experience, it may be that the maximum option in the /Compress argument provides the best compression, but takes more time to capture the image. Recently in all distributions of Windows 8.1, Windows 10, instead of the install.wim file, install.esd is located. The file size with the esd extension is smaller, because it is compressed more strongly (a new type of compression is used). This compression type packs the Windows installation files even more and, as a result, the size of the install.esd file becomes less than the install.wim file by 30%. So we should specify the /compress:max in the dism.exe command.
Similar thread for your reference:
How to Extract Install.ESD to Install.WIM (Windows 10/8)
Please note: The links are not from Microsoft, just for your reference. Thanks for your time.
Best regards,
Simon
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.