The following steps are from RunLockdUnattended.doc, which is available if you unpack files by running IISLockd.exe with the /q and /c arguments.
Task To configure IISLockdown for unattended execution
Open IISlockd.ini in a text editor.
Under the [Info] section, configure the UnattendedServerType setting by entering the name that matches the server template you want to use. For example, if you want to apply the dynamicweb template, the setting would look like this:
UnattendedServerType=dynamicweb
Change the Unattended setting to TRUE , as follows :
Unattended=TRUE
Note | If you want to run IISlockd.exe unattended to undo a previous set of changes, ensure that both the Unattended and Undo settings are set to TRUE . |
Configure the server template that you chose in step 2. The template configuration is denoted with square brackets around the server template name, for example, [dynamicweb] . The template configuration contains the various feature settings for that specific server template. These feature settings can be toggled on or off by setting them to TRUE or FALSE .
Note | The AdvancedSetup setting is ignored during an unattended installation, and the UninstallServices setting applies only to Windows 2000. |
Save IISlockd.ini.
Run IISlockd.exe using the command line or scripting.