Domain Server Migration (2003 2008 2012 2016)
Migrating Active Directory Domain Controller
CHECKLIST:
What is the name of the domain?
What is the ip of the window server 2003 domain controller?
What OS the domain function level on window server 2003?
Is both servers can ping each other?
PHASE 0
I am preparing the Windows server 2008
Setup static ip address
Setup dns ip address
Set up computer name
Uncheck the ipv6 in properties.
Test connectivity
Run DCPROMO now before preparing active directory…….
-àrun àDCPROMOàuse advance optionànextàExisting Forest (add a domain controller to an existing domain àNextàenter the name of domain controller (domain)select alternate credentialàsetàenter server administrator username and passwordànextà
Now need to run adprep first on win2003 server (old server)
PHASE 1
Preparing the active directory schema
Raise the function level of domain controller from native to 2003 (active directory user and AD domain trust)
Run adprep32 from window server 2008 DVD on old server:
/forestprep
/domianprep
/rodcprep
Enter the 2008R2 DVD and select the path of adprep32.exe
Run command prompt as administrator
àD: (DVD ROM Drive Letter e.g. D)
D:\>cd (enter the path of adprep32.exe)
D:\adprep32.exe /forestprep
D:\adprep32.exe /domianprep
D:\adprep32.exe /rodcprep
Once above command is completed successfully move to window server 2008 (New Server)
PHASE 2
Promote windows server 2008 as a domain controller/
Run DCPROMO on window server 2008
Choose existing forest and additional controller.
Verify the installation.
Select both DNS and Global Catalog option
nextàyesàselect replace data over the network with existing domain controller optionànextàselect use this specific domain controllerànextànextàput restore passwordànextànextàfinishàrestart the domain.
Now login with server user name and password on window server 2008
PHASE 3
Transfer FSMO roles
PDC master
RID master
Infrastructure master
Domain naming master
Schema master
And register schmmgmt.dll
Go to AD users and computersàright click on domain nameàoperation masteràChange RID, PDC and Infrastructure to new server.
Go to AD Domain and Trustà Go to AD Domain and Trustàoperation masteràdomain naming space masteràchange to new server.
Go to runàcmdàregsvr32 schmmgmt.dllàok
Type mmcàfileàadd or remove snapàad schemaàaddàokàright click on active directory schema optionàchange directory schema serveràselect new domain controlleràokàok.
Right click on Active directory Schemaàoperation masteràchange schema masteràok.
Now cross check all the FSMO roles status on the window server 2008. It must be registered with new server.
PHASE 4
Demote windows server 2003 server
Run dcpromo
Don’t check is the last server on the domain.
CLEANUP PHASE
Remove windows server 2003 account
Delete record from dns zone for old server name from new server
Delete account from active directory sites and services.
Unjoin the old server from the domain to workgroup.
Delete the old computer name from window server 2008 domian controller list.
NTDSUTIL
Ntdsutil
Ntdsutil : metadata cleanup
Metadata cleanup : connections
Server connections : connect to server prologic.asiana
Server connections : quit
Metadata cleanup : select operation target
Select operation target : list domain
Select operation target : select domain 0
Select operation target : list sites
Select operation target : select site 0
Select operation target : list servers in site
Select operation target : select server 2
Select operation target : quit
Metadata cleanup : remove selected server (yes if it is showing two server)
IP CHANGE PROCESS
192.168.1.1
IPconfig /flushdns
Ipconfig /registerdns
Repadmin
Dcdiag.exe
DOMAIN RENAMING PROCESS
Run repadmin command.
Step 1
Syntax: netdom computername <currentDC FQDN> /add:<newDCName FQDN>
C:\>netdom computername serverdc1.lab.local /add:
serverdc21.lab.local
Run repadmin command
Use Adsiedit
Step 2
netdom computername <currentDC FQDN> /makeprimary:<newDCName FQDN>
C:\>netdom computername serverdc1.lab.local /makeprimary:
serverdc21.lab.local
the computer object attribute msDS-AdditionalDnsHostName will now have the value of the original Domain Controller name, in the above example serverdc1.lab.local.
Reboot the Domain Controller.
Step 3
Syntax: netdom computername <newDCName FQDN> /remove:<oldDCName FQDN>
Example:
C:\>netdom computername serverdc21.lab.local /remove:
serverdc1.lab.local
run repadmin, dcdiag /fix etc to replicate the data.
——————————————————Finish Successfully——————————————————–