Guest_WindowsConfiguration

Guest_WindowsConfiguration
Guest_WindowsConfiguration

The WindowsConfiguration structure specifies the settings for customizing a windows guest operating system.

JSON Example
{
    "reboot": "string",
    "sysprep": {
        "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
        }
    },
    "sysprep_xml": "string"
}
reboot
Optional

The WindowsConfiguration.RebootOption enumerated type specifies what should be done to the guest after the customization.
REBOOT : Reboot the guest after customization.
NO_REBOOT : Take no action. Leave the guest OS running after customization. This option can be used to look at values for debugging purposes.
SHUTDOWN : Shutdown the guest after customization.

sysprep
Optional

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.

string
sysprep_xml
Optional

All settings specified in a XML format. This is the content of a typical answer.xml file that is used by System administrators during the Windows image customization. Check https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/update-windows-settings-and-scripts-create-your-own-answer-file-sxs Exactly one of WindowsConfiguration.sysprep or WindowsConfiguration.sysprep-xml must be specified. If unset, sysprep settings will not be applied to the windows guest operating system.