Unattend Installation of Active Directory Domain Controller
When you promote system as domain controller in Summary page of the
Active Directory Domain Services Installation Wizard, you can click
Export settings to save the settings to an answer file. You can then use
the answer file to automate installations of Active Directory Domain
Services (AD DS).
This Exercise actually for Server Core edition where only CLI interface is available and you want to promote server core as a Domain Controller.
The answer file is a plain text file with a [DCInstall] header. The answer file provides answers to the questions that are asked by the Active Directory Domain Services Installation Wizard. The sample of answer file should be look like this image.
To use an answer file to install AD DS, type the following command at a command prompt, and then press ENTER:
dcpromo /answer:kk.txt
Where kk.txt is the name of your answer file. If you want to run this command from run menu, don't forget to give exact path of answer file.
After finish Reboot your system (if required) to complete exercise.
This Exercise actually for Server Core edition where only CLI interface is available and you want to promote server core as a Domain Controller.
The answer file is a plain text file with a [DCInstall] header. The answer file provides answers to the questions that are asked by the Active Directory Domain Services Installation Wizard. The sample of answer file should be look like this image.
To use an answer file to install AD DS, type the following command at a command prompt, and then press ENTER:
dcpromo /answer:kk.txt
Where kk.txt is the name of your answer file. If you want to run this command from run menu, don't forget to give exact path of answer file.
After finish Reboot your system (if required) to complete exercise.
No comments:
Post a Comment