Web access wizard arguments

Applies To: Forefront Threat Management Gateway (TMG)

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.

Creating an answer file

An answer file is created by running the Getting Started Wizard and saving the inputted 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

An answer file can be run together with the Getting Started Wizard in either attended or unattended mode. The difference between these modes is that with attended mode, the wizard pauses at each stage of the wizard and waits for user acknowledgement (clicking Next), while unattended mode runs automatically without needing any user acknowledgement or even opening the wizard UI.

Attended

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

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