Question:
                   I have 2 no’s of windows server 2003 standard edition with service pack 2 Machines.
The machine names are server 100 and server 200. I made server 100 as Primary domain controller which hold’s FSMO roles with integrated Active Directory DNS and I made Server 200 as secondary Domain controller. Now I need to demote the server 200 from Primary domain controller (server 100) and need to prepare newly purchased Machine name server 300 which is having windows server R2 Standard Edition with service pack 2 as Primary Domain controller and Server 100 as secondary Domain controller.
How can I achieve my Goals?
 
By
Mr. Thomas
Giltedge InfoTech service Pvt ltd
 
Answer:
                You need to do the following steps below.
1.       Remove the active directory on server 200 using dcpromo /forceremoval
2.       Remove server 200 on default site using meta data cleanup on server 100
3.       Upgrade the schema master version using adprep utility on server 100
4.       Prepare the Server 300 as domain controller
5.       Transfer the FSMO roles using ntdsutil.exe tool
 
Step1:
Remove the Active Directory on server using Dcpromo /forceremoval on server 200
Note:
           Before remove active directory confirm that all FSMO roles and global catalog should be holds on server 100 and remove the global catalog on server 200.
 
Steps 2:
Remove the server 200 from default site meta data using meta data  cleanup on server 100.
a.       Open the command prompt on server 100
b.      Type “ntdsutil.exe” and then enter
c.       on ntdsutil type metadata cleanup(“ntdsutil: metadata cleanup”)
d.      on metadata Cleanup type “connections”(metadata Cleanup: Connections”)
e.      on connections type “ connect to server 100”(“server connections: connect to server100”)
f.        Now you should get message  “Connected to server100 using credentials of locally logged on user”
g.       Now you quiet the server connections(“server connections: q”)
h.      Then type” select operation target”( “metadata cleanup: Select operation target”)
i.         Type “List domains” on select operation target(“select operation target: list domains”)
            And it showed like below
              Select operation target: list domains
      Found 1 domain(s)
      0 - DC=dpetri, DC=net
Select operation target:
 
 
 
 
j.        And then select and type the domain no like below
select operation target: Select domain 0
No current site
Domain - DC=dpetri,DC=net
No current server
No current Naming Context
select operation target:
 
k.       Then type “ list sites” like below
select operation target: List sites
Found 1 site(s)
0 - CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=dpetri,DC=net
select operation target:
 
l.         Select the sites so type “Select site 0” (“ zero is the no of the sites”) like below
select operation target: Select site 0
Site - CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=dpetri,DC=net
Domain - DC=dpetri,DC=net
No current server
No current Naming Context
select operation target:
 
m.    Then type “ List servers in site” it showed like below
select operation target: List servers in site
Found 2 server(s)
0 - CN=SERVER200,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=dpetri,DC=net
1 - CN=SERVER100,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=dpetri,DC=net
select operation target:
 
 
 
 
 
n.      Then type “ select server 0”(Zero is the no of the server) like below
select operation target: Select server 0
Site - CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=dpetri,DC=net
Domain - DC=dpetri,DC=net
Server - CN=SERVER200,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=dpetri,DC=net
DSA object - CN=NTDS Settings,CN=SERVER200,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=dpetri,DC=net
 DNS host name - server200.dpetri.net
 Computer object - CN=SERVER200,OU=Domain Controllers,DC=dpetri,DC=net
No current Naming Context
select operation target:
 
o.      Then type “q”(“select operation target: q”)
p.      Then type “ remove selected server” and enter like below
metadata cleanup: Remove selected server
"CN=SERVER200,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=dpetri,DC=net" removed from server "server100"
metadata cleanup:
q.      You will receive a warning message. Read it, and if you agree, press Yes then quit everything on the command.
r.        Then remove the “server 200” objects from active directory sites and services
s.       Then remove the “ server 200” from domain controller list on active direct users and computers
t.        Then remove the “server 200” dns host record from the DNS server.
Step3:
           Now you need to upgrade the Schema master version on server 100 for windows server R2 edition using adprep command and do the following steps for upgrade the schema version.
 
1.       Insert the windows server  R2 edition Second Disk on server 100.
2.       Then open the command prompt and enter the disk drive
3.       And you should open the following directory on the disk and type “adprep /forestprep”
4.       Drive:\cmpnents\R2\adprep> adprep /forestprep
5.       Then upgrade the group policy on the same and typ “ adprep /domainprep /gpprep
6.       Drive:\cmpnents\R2\adprep>adprep /domainprep /gpprep
7.       Close the command prompt.
 
If you don’t upgrade the Schema master version you will get the following error message on windows server R2 standard Edition Machine(server 300) while attempting to prepare additional domain controller.
 
The Active Directory Installation Wizard cannot continue because the forest is not prepared for installing Windows Server 2003. Use the Adprep command-line tool to prepare both the forest and the domain. For more information about using the Adprep, see Active Directory Help.The version of the Active Directory schema of the source forest is not compatible with the version of Active Directory on this computer.
 
Once you upgraded the Schema version then you make the Server 300 as a secondary domain controller and once you done the secondary domain controller with DNS service on server 300, now you transfer the FSMO roles to Server 300 from Server 100.
 
Step 4:
             Do the following steps for transferring FSMO roles to server 300 from server 100.
 
·         Open the command prompt on server 100 and then type ntdsutil
·         Then type roles like below
ntdsutil: roles
fsmo maintenance:
·         Then type “ connections” (“fsmo maintenance: connections”)
·         Then type “ connect to server server300”( server connections: connect to server server300)
·         Once connected then type “q”(“server connections: q”)
·         Then transfer 5 FSMO roles like below
Fsmo maintenance: transfer rid master
Fsmo maintenance: transfer domain naming master
Fsmo maintenance: transfer pdc
Fsmo maintenance: transfer infrastructure master
Fsmo maintenance: transfer schema master
 
Once you transferred all five roles the server 300 as primary domain controller and server 100 secondary domain controller, you can confirm using netdom command utility.
 

 

Answered by A.Ramuu, if you are having any comments post here or mail me at aramu@iotap.com