Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐:
搜索:
您的位置: Linux安全网 > Windows服务器 > » 正文

无人值守安装域控制器

来源: 阳光奋进 分享至:

; 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路径


Tags:
分享至:
最新图文资讯
1 2 3 4 5 6
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史