An XML answer file can be used to automatically configure the Getting Started Wizard instead of manually entering the settings at each stage of the wizard. Using an answer file is only applicable for standalone server configuration; and must be executed from the Forefront TMG computer itself. The Getting Started Wizard is the only wizard that supports an answer file.
The following describes how to create an answer file, and use it in attended and unattended modes.
Creating an answer file
You create an answer file by running the Getting Started Wizard and saving the input settings to an XML file. To generate an answer file, open the wizard from a command line using the following syntax:
Isamgmt.exe wizards wizardName=GettingStarted
wizardAnswers=<path to XML answers file>
-GenerateAnswers
For example:
Isamgmt.exe wizards wizardName=GettingStarted
wizardAnswers="C:\GSWanswers.xml" -GenerateAnswers
Using an answer file
You can run an answer file together with the Getting Started Wizard in either attended or unattended mode. The difference between these modes is that in attended mode, the wizard pauses on each page of the wizard and waits for user acknowledgement (such as clicking Next), while unattended mode runs automatically without requiring any user acknowledgement or even opening the wizard UI.
Attended mode
To run the Getting Started Wizard with an answer file in attended mode, open the wizard from a command line using the following syntax:
Isamgmt.exe wizards wizardName=GettingStarted
wizardAnswers=<path to XML answers file>
For example:
Isamgmt.exe wizards wizardName=GettingStarted
wizardAnswers="C:\GSWanswers.xml"
Unattended mode
To run the Getting Started Wizard with an answer file in unattended mode, open the wizard from a command line using the following syntax:
Isamgmt.exe wizards wizardName=GettingStarted
wizardAnswers=<path to XML answers file> -Automate
For example:
Isamgmt.exe wizards wizardName=GettingStarted
wizardAnswers="C:\GSWanswers.xml" -Automate