Open pbolduc opened 6 years ago
I looked into this a bit more. The Nano Server version uses cmdlet Expand-WindowsImage from the DISM module. I proposed to Artem Pronichkin that a check for for the existence of this cmdlet could be the fix. Use it if found (Win 8.1 and beyond) or try old method (Win 7).
Hi Ben, I know you do not support Convert-WindowsImage.ps1 from the TechNet Gallery. However, I am trying find out what changed from 1703 to 1709 of Windows 10 that breaks the image converter. Something changed in the API WimApplyImage from Wimgapi.dll
Any assistance you can provide would be appreciated.
This change breaks the vhdx creation in Hyper-V-PowerShell scripts on Windows 10.
I could try to modify to use the Convert-WindowsImage.ps1 from the NanoServerImageGenerator on Windows Server 2016 disk, but I am unsure about the licensing of that script. It says:
I know there is someone at Microsoft knows what changed with this API in 1709.
Here is the error you get when running the image factory on Windows 10 Pro 1709.