Custom attributes for Microsoft Windows

For a Windows OS Installation Profile, you can set various Windows operating system custom attributes that allow you to replace or insert values inside the unattend.xml file during the operating system installation process. At install-time, the resolved value of the custom attribute is inserted into unattend.xml.

For example, if you do not have AdminPassword=Foo in your unattend.xml file, but you do have it added as a custom attribute, OS Provisioning will automatically add AdminPassword=CustAttrValue at install time.

For more information on how to add custom attributes, see Adding Custom Attributes to OS Installation Profile.

Refer to Microsoft documentation for syntax and valid values. Unless otherwise noted in the table, there are no default values for these attributes if they are not set.

Windows custom attributes for OS provisioning

Keyword

Corresponding unattend.xml Attribute

Description

AdminPassword

[GuiUnattended]/AdminPassword

This option sets the Administrator password for the Admin account.

AGENT_INSTALL_DELAY

 

Allows you to introduce a delay after provisioning a system that allows the build scripts to wait before starting to install the agent.

Default: 30 seconds

argstring

None

String value that is used to compose the command line arguments for the Agent installer.

auto_partition

 

Used by consoleless to indicate that instead of requiring interactive user confirmation before partitioning the disk, partition the disk automatically.

ComputerName

[UserData]/ComputerName

This value is not validated by SA. This custom attribute should only be set on the Server, but SA does not prevent you from setting the attribute anywhere. The default value is an SA-generated random string.

hpsa_netconfig

None

Created after using non-DHCP to boot the target server into the Unprovisioned Servers list.

imageexec

None

Command to apply legacy image-based provisioning image. This supports traditional imaging tools such as Symantec Ghostâ„¢. However, using the built in support for WIM images is strongly encouraged.

imagefile

None

Path to a server image file. This supports traditional imaging tools such as Symantec Ghostâ„¢. However, using the built in support for WIM images is strongly encouraged.

imageshare

None

Share with image file to install. This supports traditional imaging tools such as Symantec Ghostâ„¢. However, using the built in support for WIM images is strongly encouraged.

ProductKey

[UserData]/ProductKey

This value is not validated by SA.

timeout

None

An integer value in minutes that the Windows Setup will timeout. Default is 120 minutes. If Windows setup does not complete in the specified amount of time, the operating system installation fails with a timeout error.