Hopefully someone finds this helpful in the future as VMWare has no documentation around this. There were indeed hidden commands that were necessary:Ĭ:sysprepguestcustutil.exe cleanBootExecuteĬ:sysprepguestcustutil.exe restoreMountedDevicesĬ:sysprepguestcustutil.exe deleteContainingFolder Does anyone have a custom Sysprep file they’ve used that works and I can perhaps work off of? Is there a way to export the Sysprep file that vCenter creates behind the scenes when using the wizard?įor reference, here is my very basic Sysprep answer file:Ĭmd.exe /c C: -File a:enable-winrm.ps1įigured it out. My guess is that vCenter is adding some magic sauce onto the Sysprep file and the custom one I am supplying doesn’t meet the expectation.
Looking in the logs I see sub=VmCustomizer opID=41a11a03] Creating deploy pkg: N9GuestCust22SysprepConfigGenerator12MissingParamE(command: guestcustutil.exe restoreMountedDevices) After you install a prepared reference Windows 10 image and configured in the correct way (with certain installed software, with the operating system settings, with the specified permissions and restrictions), you can deploy it to all computers of the company using MDT, WDS, SCCM or. I’ve tried all sorts of variants with this feature and continue to get a “Cannot complete customization” error when attempting to use the profile. In Windows 10 and Windows Server 2016, the Sysprep.exe utility is located in folder C:\Windows\System32\sysprep.
When creating a guest customization profile for Windows VM’s it’s possible to specify a custom Sysprep XML file.