Customizing the Windows Server 2008 answer file

The following procedure describes how to customize the Windows Server 2008 answer file.

  1. Open the sgdeploy\SGTKWinPE\AnswerFiles\win2008x64.xml file.
  2. Add the settings you want to customize, for example:
    <TimeZone>%TK_TimeZone%</TimeZone>
  3. Set the value of the setting you added to a variable that you add to the appropriate Scripting Toolkit scenario .ini file.
    Typically you will add this value to the [NOS Installation Settings] section of the .ini file. Scripting Toolkit environment variables are surrounded by the percent sign (%), as shown in this example:
    [GuiUnattended]
    ...
    <TimeZone>%TK_TimeZone%</TimeZone>
    ...
  4. For each environment variable you have assigned, include a value in the corresponding scenario .ini file.
    Typically, you add this value to the [NOS Installation Settings] section of the .ini file.
    Use the format variable_name=value, where variable_name is the name you selected in the answer file and value is a valid value for the variable you are using, for example:
    TK_TimeZone=035
    or:
    TK_TimeZone=Pacific Standard Time
During deployment, the environment variables specified in the answer file are replaced with the corresponding variables from the scenario .ini file.