Skip to content

Export-ESXImageProfile fails with WinError 10054

When creating an ESXi ISO Image from VMware's Online Depot by using the PowerCLI command Export-ESXImageProfile -ExportToISO, the creation might fail with the following error message:

Export-ESXImageProfile : [WinError 10054] An existing connection was forcibly closed by the remote host

Creating an offline .zip bundle (-ExportToBundle) works without any problems. To work around this issue, create the .zip bundle first and then create the .iso file from the local software depot.

The following commands can be used to create a working ESXi 7.0 Image to be used with Intel's 10th Gen Frost Canyon NUC. See ESXi on 10th Gen Intel NUC (Comet Lake - Frost Canyon) for further information about the updated NE1000 driver required to create the image.

Export-ESXImageProfile -ImageProfile "ESXi-7.0.0-15843807-standard" -ExportToBundle -filepath
Add-EsxSoftwareDepot .\
Add-EsxSoftwareDepot .\
New-EsxImageProfile -CloneProfile "ESXi-7.0.0-15843807-standard" -name "ESXi-7.0.0-15843807-NUC" -Vendor ""
Remove-EsxSoftwarePackage -ImageProfile "ESXi-7.0.0-15843807-NUC" -SoftwarePackage "ne1000"
Add-EsxSoftwarePackage -ImageProfile "ESXi-7.0.0-15843807-NUC" -SoftwarePackage "ne1000 0.8.4-3vmw.670.3.99.32543355"
Export-ESXImageProfile -ImageProfile "ESXi-7.0.0-15843807-NUC" -ExportToIso -filepath ESXi-7.0.0-15843807-NUC.iso

2 thoughts on “Export-ESXImageProfile fails with WinError 10054”

Leave a Reply

Your email address will not be published. Required fields are marked *