命令行安裝額外域控制器,具體的參數參見http://mifeihu.blog.51cto.com/2060590/1565830,二者參數意義相同。紅色部分須要根據須要進行修改。ide
dcpromo.exe /unattend /ReplicaOrNewDomain:Domain /NewDomain:Forest /NewDomainDNSName:mifeihu.cn /ForestLevel:3 /DomainLevel:3 /InstallDNS:Yes /ConfirmGc:Yes /CreateDNSDelegation:No /DatabasePath:"%systemroot%\NTDS" /LogPath:"%systemroot%\NTDS" /SYSVOLPath:"%systemroot%\SYSVOL" /SafeModeAdminPassword:aa11..00 /RebootOnCompletion:Yesspa