最近开始学习Windows server,大概了解了活动目录,个人觉得看书看资料只是一个辅助,最重要的还是自己动手做,自己总结。

     下面是做了一个域迁移(从2003到2008)的步骤,以及遇到的问题和解决办法。在此记录下来,以供日后参考。

 

      实验环境两台虚拟机Windows server2003和Windows server2008,其中Windows server2003为域控,Windows server2008需要加入域。

             1.需要扩展2003域控制器的林、域、策略、只读域控,这时要用到adprep这个工具,将Windows server2008的光盘里的\support\adprep文件复制到Windows server2003虚拟机的硬盘上,然后在命令行里分别使用 adprep /forestprep , adprep /domainprep , adprep /domainprep /gpprep , adprep /rodcprep进行扩展。

域迁移:从windows2003到windows2008_职场 

域迁移:从windows2003到windows2008_休闲_02

 

域迁移:从windows2003到windows2008_Windows server 2003A_03 

出现上述“not in native mode”错误,说明2003的域控是在2000级别,需要提升域控制器的域功能级别和林功能级别。解决如下:

域迁移:从windows2003到windows2008_休闲_04 

域迁移:从windows2003到windows2008_Windows server 2003A_05 

域迁移:从windows2003到windows2008_休闲_06 

域迁移:从windows2003到windows2008_休闲_07 

域迁移:从windows2003到windows2008_Windows server 2003A_08 

域迁移:从windows2003到windows2008_职场_09

        2.下面就需要将Windows server2008从域成员提升为域控制器,即使用 dcpromo命令安装DC,在此需要以域账户登陆Windows server2008。

        3.最后需要把域控制器的五大角色从Windows server2003上传送过来。

有两种方法:

其一,用ntdsutil工具

 

域迁移:从windows2003到windows2008_Windows server 2003A_10 

域迁移:从windows2003到windows2008_Windows server 2003A_11 

域迁移:从windows2003到windows2008_Windows server 2003A_12

在那Windows server2008上查看fsmo,已经迁移过来。 

域迁移:从windows2003到windows2008_Windows server 2003A_13

至此迁移完毕!

其二,用图形化界面

 

域迁移:从windows2003到windows2008_职场_14 

域迁移:从windows2003到windows2008_休闲_15 

域迁移:从windows2003到windows2008_Windows server 2003A_16 

域迁移:从windows2003到windows2008_职场_17

通过以上4步传送过来4个角色,还剩下架构主机,输入 regsvr32 schmmgmt 命令在mmc中注册该组件

 

域迁移:从windows2003到windows2008_休闲_18 

域迁移:从windows2003到windows2008_Windows server 2003A_19 

域迁移:从windows2003到windows2008_职场_20 

域迁移:从windows2003到windows2008_职场_21 

域迁移:从windows2003到windows2008_Windows server 2003A_22 

域迁移:从windows2003到windows2008_Windows server 2003A_23 

域迁移:从windows2003到windows2008_Windows server 2003A_24 

域迁移:从windows2003到windows2008_Windows server 2003A_25 

域迁移:从windows2003到windows2008_Windows server 2003A_26

 

域迁移:从windows2003到windows2008_职场_27

至此,域迁移完成!

欢迎批评指正!