Guest_WindowsSysprep

Guest_WindowsSysprep
Guest_WindowsSysprep

The WindowsSysprep structure provides all the settings like user details, administrator details, etc that need to applied for a windows guest operating system during customization.

JSON Example
{
    "gui_run_once_commands": [
        "string"
    ],
    "user_data": {
        "computer_name": {
            "type": "string",
            "fixed_name": "string",
            "prefix": "string"
        },
        "full_name": "string",
        "organization": "string",
        "product_key": "string"
    },
    "domain": {
        "type": "string",
        "workgroup": "string",
        "domain": "string",
        "domain_username": "string",
        "domain_password": "string",
        "domain_OU": "string"
    },
    "gui_unattended": {
        "auto_logon": false,
        "auto_logon_count": 0,
        "password": "string",
        "time_zone": 0
    }
}
array of string
gui_run_once_commands
Optional

A list of commands to run at first user logon, after customizing the guest. These commands are directly mapped to the GuiRunOnce key in the sysprep.xml answer file. These commands are transferred into the sysprep.xml file that VirtualCenter stores on the target virtual disk. For more information about performing unattended installation, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx The commands listed here ar executed when a user logs on the first time after customization completes. The logon may be driven by GuiUnattended.auto-logon setting. These commands are directly mapped to the GuiRunOnce key in the If unset, no commands are run.

user_data
Required

The UserData structure specifies the personal data pertaining to the user of the Windows guest operating system. This structure maps to the UserData key in the sysprep.xml answer file. These values are transferred directly into the sysprep.xml file that VirtualCenter stores on the target virtual disk. For more detailed information about performing unattended installation, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx

domain
Optional

The Domain structure specifies the information needed to join a workgroup or domain. This structure maps to the Identification key in the sysprep.xml answer file. These values are transferred into the sysprep.xml file that VirtualCenter stores on the target virtual disk. For more information about performing unattended installation, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx

gui_unattended
Required

The GuiUnattended structure 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 about performing unattended installations, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx