I customized Vm by code using the method customizeVM_Task(),then much problem come out!
If the template's OS is windows 7 or linux ,this method work! but if the template's OS is server 2003 or server 2008, this method doesn't work! and the fault is vague : Can not finish Customization! Helpful!
And the timezone setting confused me lot! I don't have any idea of the meaning of the number to represent which timezone is! I just use the one number "4". the code is following :
CustomizationGuiUnattended guiUnattended = new CustomizationGuiUnattended();
I want the number representive of the Chinese timezone.
Thanks for helps!
In order to customize XP/2003, you would also need to install the sysprep files. Please see article VMware KB: Sysprep file locations and versions for more details.
Please note that it's not needed for Windows Vista and above. If you still get an error, please provide related vpxd log (from the support bundle) or open an SR.