Windows sysprep not working | Nutanix Community
Skip to main content

Creating a Windows VM from clone and added custom xml file . The settings defined in xml file are not getting applied after VM is created.Can see the xml file mounted in E:\ drive.

Tried creating the VM with Prism element and powershell , same result.  

Logging into VM console and running sysprep manually pointing to unattended.xml file works.

Windows OS version is 2016 standard. 

AHV hypervisor. 

Hello Shivadecode,

 

We should be able to SysPrep Windows VM via following method. Let me now, if you are facing any issues.

 

Reference Link: 

 

Please let me know, if you are still facing issues !

Happy Troubleshooting !!


Hello,

Did you stop your VM template with the sysprep command ?

sysprep /oobe /generalize /shutdown /mode:vm 

 

In that way, at the next boot, the operating system will check for the xml.

Be sure to make a snapshot before your sysprep command if you need to change anything in the template in the future.

Matthieu


Reply