# Data Object - CustomizationGuiUnattended(vim.vm.customization.GuiUnattended)

Property of
  CustomizationSysprep
Extends
  DynamicData
See also
  CustomizationPassword
Since
  2.0

## Data Object Description

The GuiUnattended type maps to the GuiUnattended key in the `sysprep.xml` answer file. These values are plugged directly into the `sysprep.xml` file that VirtualCenter stores on the target virtual disk. For more detailed information, see Performing Unattended Installations.

Properties

Name | Type | Description
--- | --- | ---
autoLogon | xsd:boolean | Flag to determine whether or not the machine automatically logs on as Administrator. See also the password property. If the AutoLogon flag is set, password must not be blank or the guest customization will fail.
autoLogonCount | xsd:int | If the AutoLogon flag is set, then the AutoLogonCount property specifies the number of times the machine should automatically log on as Administrator. Generally it should be 1, but if your setup requires a number of reboots, you may want to increase it. This number may be determined by the list of commands executed by the GuiRunOnce command.
password* | CustomizationPassword | The new administrator password for the machine. To specify that the password should be set to blank (that is, no password), set the password value to NULL. Because of encryption, "" is NOT a valid value. If password is set to blank and autoLogon is set, the guest customization will fail. If the XML file is generated by the VirtualCenter Customization Wizard, then the password is encrypted. Otherwise, the client should set the plainText attribute to true, so that the customization process does not attempt to decrypt the string.
timeZone | xsd:int | The time zone index for the virtual machine. Numbers correspond to time zones listed at Microsoft Time Zone Index Values.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="CustomizationGuiUnattended"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="password" type="vsan:CustomizationPassword" minOccurs="0"/> <element name="timeZone" type="xsd:int"/> <element name="autoLogon" type="xsd:boolean"/> <element name="autoLogonCount" type="xsd:int"/> </sequence> </extension> </complexContent> </complexType>