Hi Pierre,
First of all thank you for building a wonderful tool. I have built my template XenApp 5.0 server on WIndows 2008 x64 VM. I am hosting the VM on ESX 4.0
I found a workaround to my problem. I use netsh int ip reset to reset the TCPIP settings, reboot and then configure my static IP. Here are the steps I take when I clone my template server called Xenapp1.
1) Take snapshot of XENAPP1 VM
2) Install Clone tool
3) I run the program and change the service to manual then perform a standard clone
4) Power off the VM and use VMWare Cloning to sysprep and create a new VM called XENAPPCLONE, The process automatically configures my VM using sysprep and registers the new VM on the domain.
5) I run the netsh command and reboot.
6) I set the static IP, set the clone service to automatic and reboot
My tests reveal using the VMWare clone tools or sysprep give the same result (default gateway field does not stick after rebooting server).
Thank you,
Derek