CustomizationSysprep

CustomizationSysprep
CustomizationSysprep

An object representation of a Windows sysprep.xml answer file.

The sysprep type encloses all the individual keys listed in a sysprep.xml file. 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",
    "guiUnattended": {
        "_typeName": "string",
        "password": {
            "_typeName": "string",
            "value": "string",
            "plainText": false
        },
        "timeZone": 0,
        "autoLogon": false,
        "autoLogonCount": 0
    },
    "userData": {
        "_typeName": "string",
        "fullName": "string",
        "orgName": "string",
        "computerName": {
            "_typeName": "string"
        },
        "productId": "string"
    },
    "guiRunOnce": {
        "_typeName": "string",
        "commandList": [
            "string"
        ]
    },
    "identification": {
        "_typeName": "string",
        "joinWorkgroup": "string",
        "joinDomain": "string",
        "domainAdmin": "string",
        "domainAdminPassword": {
            "_typeName": "string",
            "value": "string",
            "plainText": false
        },
        "domainOU": "string"
    },
    "licenseFilePrintData": {
        "_typeName": "string",
        "autoMode": "string",
        "autoUsers": 0
    },
    "scriptText": "string",
    "resetPassword": false,
    "extraConfig": [
        {
            "_typeName": "string",
            "key": "string",
            "value": {
                "_typeName": "string"
            }
        }
    ]
}
guiUnattended
Required

An object representation of the sysprep GuiUnattended key.

userData
Required

An object representation of the sysprep UserData key.

guiRunOnce
Optional

An object representation of the sysprep GuiRunOnce key.

identification
Required

An object representation of the sysprep Identification key.

licenseFilePrintData
Optional

An object representation of the sysprep LicenseFilePrintData key.

Required only for Windows 2000 Server and Windows Server 2003.

string
scriptText
Optional

The script to run before and after GOS customization.

The script must be a batch file for Windows virtual machines. For additional information, refer to <a href="https://knowledge.broadcom.com/external/article?legacyId=74880"target="_blank">Setting the customization script for virtual machines in vSphere.

Since: vSphere API Release 9.1.0.0

boolean
resetPassword
Optional

Require local Administrators group accounts to change their password at the first logon after customization.

Since: vSphere API Release 9.1.0.0

array of OptionValue
extraConfig
Optional

Additional key/value pairs to support third party customization.

Since: vSphere API Release 9.1.0.0