AD DC

1.通过应答文件来安装第一台域控服务器(Win2008 R2):

1.1命令:

dcpromo.exe /unattend:D:\ADDB\ADZ.txt

1.2应答文件(把下面的代码用记事本保存为ADZ.txt):

[DCInstall]
InstallDNS=Yes
NewDomain=Forest
NewDomainDNSName=xuan.com
DomainNetbiosName=XUAN
ReplicaOrNewDomain=Domain
ForestLevel=4
DomainLevel=4
CreateDNSDelegation=No
ConfirmGc=Yes
DatabasePath="D:\ADDB\NTDS"
LogPath="D:\ADDB\NTDS"
SYSVOLPath="D:\ADDB\SYSVOL"
SafeModeAdminPassword=1234qwer#
RebootOnCompletion=Yes

2.通过应答文件来安装第一台域控服务器(Win2008 R2):

2.1命令:

dcpromo.exe /unattend:D:\ADDB\ADE.txt

2.2应答文件(把下面的代码用记事本保存为ADE.txt):

[DCInstall]
ReplicaOrNewDomain=Replica
ReplicaDomainDNSName=xuan.com
SiteName=Default-First-Site-Name
InstallDNS=Yes
ConfirmGc=Yes
CreateDNSDelegation=No
UserDomain=xuan.com
UserName=xuan.com\administrator
Password=1234qwer#
ReplicationSourceDC=DC01.xuan.com
DatabasePath="D:\ADDB\NTDS"
LogPath="D:\ADDB\NTDS"
SYSVOLPath="D:\ADDB\SYSVOL"
SafeModeAdminPassword=1234qwer#
RebootOnCompletion=Yes

 

本文出自 “三个苹果” 博客,谢绝转载!

你可能感兴趣的:(职场,休闲,ad)