無人值守安裝域控制器

; DCPROMO unattend file (automatically generated by dcpromo)
; Usage:
;   dcpromo.exe /unattend:C:\Users\Administrator\Desktop\123.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


主要註釋:

dcpromo.exe /unattend:C:\Users\Administrator\Desktop\123.txt,這個是應答文件

NewDomainDNSName=contoso.com,新的DNS名稱是“contoso.com”

ForestLevel=4,林功能級別是2008R2
InstallDNS=Yes,安裝DNS服務
ConfirmGc=Yes,配置GC角色
CreateDNSDelegation=No,不創建DNS委派
DatabasePath="C:\Windows\NTDS",數據庫文件路徑
LogPath="C:\Windows\NTDS",日誌文件路徑
SYSVOLPath="C:\Windows\SYSVOL",SYSVOL路徑

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章