1、 自动安装活动目录
先在记事本中编辑“答录文件”,保存为answer.txt(保存在 C:\Documents and settings \administrator中)
运行------"dcpromo" /answer:answer.txt
说明:
1、WINDOWS SERVER 2003 WEB 版不具备升级为域控制器的功能。
2、“目录服务还原模式”的系统管理员与域的系统管理员是有同的账号,密码可以设为有同的 密码。
编码如下:
[dcinstall]
replicaornewdomain=domain
treeorchild=tree
createorjoin=create
dnsonnetwork=no
newdomaindnsname=jljc.local
domainnetbiosname=jljc
databasepath=c:\windows\ntds
logpath=c:\windows\ntds
sysvolpath=c:\windows\sysvol
2、 备份与恢复活动目录
非验证方法:
重启---按F8===选择“目录服务还原模式”
运行:ntbackup---还原
验证方式:
重启---按F8===选择“目录服务还原模式”
在CMD下
ntdsutil
恢复整个活动目录的数据库
authoritative restore
restore database
恢复部分活动目录的数据库
authoritative restore
restore subtree u=works,dc=lanyi,dc=com
(其中:works,lanyi,com需根据实际情况而定)
3、 重设“目录服务还原模式”的系统管理员密码
进入“目录服务还原模式”
在CMD下
ntdsutil
set dsrm password
reset password on server server1.abc.com
输入与确认新密码
quit结束
4、 计算机配置的启用时间(手动)
在CMD下
gpupdate /target:computer /force
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21173334/viewspace-580384/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/21173334/viewspace-580384/