Server 2008 & 2008 R2 dcpromo Unattended Installation - rharmonson/richtech GitHub Wiki
To show available options:
dcpromo /?:Promotion > promotion.txt
Instructions and required fields can be found here:
https://technet.microsoft.com/en-us/library/cc816873%28v=ws.10%29.aspx
Command-line syntax dcpromo /unattend:<unattendfile>
Example configuration for 2008 R2
; DCPROMO unattend file (automatically generated by dcpromo)
; Usage:
; dcpromo.exe /unattend:C:\Users\Administrator\Documents\initadds_unattend.txt
;
[DCInstall]
; New forest promotion
ReplicaOrNewDomain=Domain
NewDomain=Forest
NewDomainDNSName=contoso.com
ForestLevel=4
DomainNetbiosName=CONTOSO
DomainLevel=4
InstallDNS=Yes
ConfirmGc=Yes
CreateDNSDelegation=No
DatabasePath="C:\Windows\NTDS"
LogPath="C:\Windows\NTDS"
SYSVOLPath="C:\Windows\SYSVOL"
; Set SafeModeAdminPassword to the correct value prior to using the unattend file
SafeModeAdminPassword=
; Run-time flags (optional)
; RebootOnCompletion=Yes