Rename Active Directory Child Domain running Windows Server 2008 R2
1. Prepare
- DC21 : Domain Controller(Yi.vn - Root Domain) - IP 10.0.0.21 | DC22 : Domain Controller(HQ.Yi.vn - Child Domain) - IP 10.0.2.22
- DC23 : Domain Controller(Site01.Yi.vn - Child Domain) - IP 10.0.3.23 | DC24 : Domain Controller(Site02.Yi.vn - Child Domain) - IP 10.0.4.24
- WIN102 : Domain Member(HQ.Yi.vn - Child Domain) - IP 10.0.2.102 | DC254 : Routing Server IP 10.0.0.254, 10.0.2.254, 10.0.3.254, 10.0.4.254
2. Step by step : Rename HQ.Yi.vn to Site00.Yi.vn
- WIN102 : Check Domain : HQ.Yi.vn | DC21 : Add HQ\Administrator to "Enterprise Admins" group
- DC22 : Rename HQ.Yi.vn to Site00.Yi.vn
+ Logon using HQ\Administrator
+ Create a Zone DNS Named Site00.Yi.vn :
+ Start - Administrative - DNS - DC22 - Right-Click "ForWard Lookup Zones" - New Zone... - Zone Type : Primary zone, Zone Name : Site00.Yi.vn - Finish
+ Start - Right-Click cmd - Run as administrator, Type :
+ rendom /list # An xml file created lists the current domain information
+ Go to C:\Users\administrator to check file Domainlist.xml
+ Righ-click Domainlist.xml - Open with - Notepad - Replace HQ.Yi.vn to Site00.Yi.vn
+ At cmd, type :
+ rendom /showforest # verify the new configuration + rendom /upload # upload the modified xml to our domain controllers
+ rendom /prepare # prepare for domain rename by verifying authorization
+ rendom /execute # Execute the uploaded script on all domain controllers === All Domain Controller will restart - Waiting a moment...
+ Logon using Site00\Administrator - Restart server
+ Check "Group Policy Managememt" : Start - Administrative Tools - Group Policy Management === Fail
+ Start - Right-Click cmd - Run as administrator, Type :
+ gpfixup /olddns:HQ.Yi.vn /newdns:Site00.Yi.vn + gpfixup /oldnb:HQ /newnb:Site00 # Update DNS
+ netdom computername DC22.HQ.Yi.vn /add:DC22.Site00.Yi.vn # Change Computer name
+ netdom computername DC22.HQ.Yi.vn /makeprimary:DC22.Site00.Yi.vn === Restart
+ Start - Right-Click cmd - Run as administrator, Type : rendom /clean # clean up
- WIN102 : Check Domain : Site00.Yi.vn === OK
------------------------------------------------------------******************** Youtube.com/c/MicrosoftLab ********************--------------------------------------------------------------------------------
Ещё видео!