How can I configure an answer file to use with the Windows Server 2003 domain controller (DC) install-from-media function to promote a Windows 2003 server to a DC?

A. To use an answer file when promoting a DC using the install-from-media function, you must add the following two lines to your answer file:

ReplicateFromMedia=yes
ReplicationSourcePath=c:\NTDSRestore

The second line must contain the path to the location of the DC backup restored files. For example, an answer file might look like

\[Unattended\]
Unattendmode=fullunattended

\[DCINSTALL\]
UserName=<domain admin account>
Password=<password for domain account>
UserDomain=<domain name>
DatabasePath=c:\windows\ntds
LogPath=c:\windows\ntds
SYSVOLPath=c:\windows\sysvol
SafeModeAdminPassword=<new password for safe mode>
CriticalReplicationOnly=No
SiteName=<name of site for the domain controller>
ReplicaOrNewDomain=Replica
ReplicaDomainDNSName=<existing DNS domain name>
ReplicationSourceDC=<existing domain controller in domain>
ReplicateFromMedia=yes
ReplicationSourcePath=c:\NTDSrestore
RebootOnSuccess=yes

To use this answer file, enter the command

dcpromo /adv /answer:<filename>

Be aware that if you use an answer file for a second time to perform another unattended installation, the passwords will be blank and you'll be prompted to re-enter them. The Dcpromo process removes the passwords from the file each time for security reasons.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish