服务器 频道

Server 2008 R2之从介质安装AD DS

    以下为无人职守文件的内容:

    ; DCPROMO unattend file (automatically generated by dcpromo)

    ; Usage:

    ;   dcpromo.exe /unattend:C:\Users\Administrator\Desktop\share\unattend.txt

    ;

    ; You may need to fill in password fields prior to using the unattend file.

    ; If you leave the values for "Password" and/or "DNSDelegationPassword"

    ; as "*", then you will be asked for credentials at runtime.

    ;

    [DCInstall]

    ; Replica DC promotion

    ReplicaOrNewDomain=Replica

    ReplicaDomainDNSName=HBYCRSJ.COM

    SiteName=Default-First-Site-Name

    InstallDNS=Yes

    ConfirmGc=Yes

    CreateDNSDelegation=No

    UserDomain=HBYCRSJ.COM

    UserName=HBYCRSJ.COM\BILL.XU

    Password=*

    ReplicationSourcePath="C:\dcinstallmedia"

    ReplicationSourceDC=WIN2008R2CNDC.HBYCRSJ.COM

    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)

    ; CriticalReplicationOnly=Yes

    ; RebootOnCompletion=Yes

    验证安装:

    1、可以通过活动目录用和计算机(dsa.msc)、活动目录站点和服务(dssite.msc)、活动目录管理中心(dsac.com)查看

    2、通过DNS管理器(Dnsmgmt.msc)查看有关记录。

    说明:

    1、 Windows Server 2003 的域控制器上不支持 ifm 命令。可以创建 Windows Server 2003 域控制器的备份,然后在待安装的服务器上将备份恢复到某一文件夹,然后使用 dcpromo /adv 命令创建 Windows Server 2003 域控制器。

    2、可以使用 32 位域控制器为 64 位域控制器生成安装介质,反之亦然。

0
相关文章