Windows Server 2008 Core的特性限制了它必须使用无人职守安装方式来安装活动目录.因此,它的安装需要一个自动应答文件.形式如下:
[DCInstall]
AdministratorPassword = P@ssw0rd1
AllowAnonymousAccess = No
AutoConfigDNS = Yes
ChildName = winos.kxmd.cn
ConfirmGc = Yes
CreateOrJoin = Create
CriticalReplicationOnly = Yes
DatabasePath = %SYSTEMROOT%Data
DisableCancelForDnsInstall = Yes
DNSOnNetwork = Yes
DomainNetBiosName = MY_DOMAIN
IsLastDCInDomain = Yes
LogPath = %SYSTEMROOT%Logs
NewDomain = Tree
NewDomainDNSName = cn.kxmd.cn
ParentDomainDNSName = kxmd.cn
Password = P@ssw0rd1
RebootOnSuccess = NoAndNoPromptEither
RemoveApplicationPartitions = Yes
ReplicaDomainDNSName = fab_2.com
ReplicaOrMember = Replica
ReplicaOrNewDomain = Replica
ReplicationSourceDC =kxmd.cn
ReplicationSourcePath = %SYSTEMDRIVE%Source
SafeModeAdminPassword = P@ssw0rd1
SetForestVersion = Yes
SiteName = FirstSite
Syskey = 12345
SysVolPath = %SYSTEMDRIVE%Sysvol
TreeOrChild = Tree
UserDomain = kxmd.cn
UserName =administrator
关于这些参数的具体意思可以查看Windows Server 2003 Support Tools中的support oolsdeploy.cab
ef.chm中[DCInstall]的部分.
安装界面如下(部分图没有截到,安装速度太快,装完就自动重启动了.忘设置不自动重启了)
总的来说,知道了每个参数的意思后安装还是挺简单的.期待正式版本的推出!