You can also perform unattended AD LDS instance creations . For example, you must use an unattended instance creation process on a Server Core installation because there is no GUI to run the wizard. You can also use unattended instance creation when you need to create an instance for a distributed application on multiple servers . Make sure you prepare all the prerequisites for the instance as described in the "Preparing to Create an AD LDS Instance" section earlier in this lesson.
The %SystemRoot%\ADAM folder includes an additional command, adaminstall.exe, which you can use to perform unattended instance setups . As with the dcpromo.exe command, this command requires a text file as input for the creation of the instance . You can run adaminstall.exe on either a full installation or Server Core . Your first step is to create a text file by using the following template:
ImportLDIFFiles="LDIFFilename1" "LDIFFilename2" "LDIFFilename3" SourceUserName=DomainorMachineName\AccountName SourcePassword=Password
You must replace all the items in italics with the appropriate values, save the file in the %SystemRoot%\ADAM folder, and name it with the name of the instance you want to create.
Was this article helpful?