use Automated Promotion of windows 2003 or windows 2008 DC
for automated Promotion of windows 2003 or windows 2008 Domain Controller using an answer file write the
following line in command line:
dcpromo /answer:<PathToYourAnswerFile>
dcpromo answer file may look like this:
[DCINSTALL]
UserName=director
Password=Password1111
UserDomain=latino.com
DatabasePath=%systemroot%\ntds
LogPath=%systemroot%\ntds
SYSVOLPath=%systemroot%\sysvol
SafeModeAdminPassword=DSrestoreModePassword
CriticalReplicationOnly=no
ReplicaOrNewDomain=Replica
ReplicaDomainDNSName=latino.com
RebootOnSuccess=yes
CreateOrJoin=Join