CustomizationGuiUnattended

CustomizationGuiUnattended
CustomizationGuiUnattended

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 <a href="https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx"target="_blank">Performing Unattended Installations.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "password": {
        "_typeName": "string",
        "value": "string",
        "plainText": false
    },
    "timeZone": 0,
    "autoLogon": false,
    "autoLogonCount": 0
}
password
Optional

Contains a password string and a flag that specifies whether the string is in plain text or encrypted.

integer As int32 As int32
timeZone
Required

The time zone index for the virtual machine.

Numbers correspond to time zones listed at <a href="https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values"target="_blank">Microsoft Time Zone Index Values.

boolean
autoLogon
Required

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.

integer As int32 As int32
autoLogonCount
Required

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.