Rename Active Directory Domain running Windows Server 2008 R2 (for test environment). Rename Active Directory Domain running Windows Server 2008 R2
1. Prepare
- DC21 : Domain Controller(Yi.vn) | WIN102 : Domain Member
2. Step by step : Rename Yi.vn to Yz.vn
- WIN102 : Check domain : Yi.vn
- DC21 : Rename Yi.vn to Yz.vn
+ Create a Zone DNS Named Yz.vn :
+ Start - Administrative - DNS - DC21 - Right-Click "ForWard Lookup Zones" - New Zone... - Zone Type : Primary zone, Zone Name : Yz.vn - Finish
+ Start - cmd, 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 Yi.vn to Yz.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 to actually perform the domain rename operation === Restart
+ Logon using Yz\Administrator
+ Check "Group Policy Managememt" : Start - Administrative Tools - Group Policy Management === Fail
+ Start - Right-Click cmd - Run as administrator, Type :
+ gpfixup /olddns:Yi.vn /newdns:Yz.vn # Update DNS
+ gpfixup /oldnb:Yi /newnb:Yz
+ netdom computername DC21.Yi.vn /add:DC21.Yz.vn # Change Computer name
+ netdom computername DC21.Yi.vn /makeprimary:DC21.Yz.vn === Restart
+ Start - Right-Click cmd - Run as administrator, Type : rendom /clean # clean up
- WIN102 : Logon using Yi\Administrator - Check domain Yz.vn === OK === Restart
+ Logon using Yz\Administrator
---------------------------------------------------------------------******************** Youtube.com/c/MicrosoftLab ********************---------------------------------------------------------------------
Tags: Rename Active Directory Domain running Windows Server 2008 R2 (for test environment)