Avatar of Ram Kumar Chellam
Ram Kumar Chellam
Flag for Saudi Arabia asked on

Unable to install secondary domain controller

Dear All,

Good Day,

I have a 2003 Enterprise Edt. 32bit server as my primary DC and want to install a 2008 r2 Enterprise 64bit server as a secondary DC with a child domain.

When I run dcpromo.exe and follow the steps up to where it wants me to name the new child domain and click next, I get this error: To install a domain controller into this Active Directory forest, you must first prepare the forest using "adprep /forestprep". The Adprep utility is available on the Windows Server 2008 R2 installation media in the \support\adprep folder.

and follow the below link:

http://www.petri.co.il/prepare-for-server-2008-r2-domain-controller.htm

then its gives me the below error, could you please help me how to solve this issue ( coz before i had a backup domain controller Win Server 2003  Enterprise Edt. 32bit but now its no more its not working and i don't have backup also)

Error Message:

I:\>\support\adprep\adprep32.exe /forestprep

ADPREP WARNING:

Before running adprep, all Windows 2000 Active Directory Domain Controllers in t
he forest should be upgraded to Windows 2000 Service Pack 4 (SP4) or later.

[User Action]
If ALL your existing Windows 2000 Active Directory Domain Controllers meet this
requirement, type C and then press ENTER to continue. Otherwise, type any other
key and press ENTER to quit.


c
Adprep was unable to extend the schema.
[Status/Consequence]
The schema master did not complete a replication cycle after the last reboot. Th
e schema master must complete at least one replication cycle before the schema c
an be extended.
[User Action]
Verify that the schema master is connected to the network and can communicate wi
th other Active Directory Domain Controllers.  Use the Sites and Services snap-i
n to replicate between the schema operations master and at least one replication
 partner. After replication has succeeded, run adprep again.

Please help me how to solve this issue.

Thanks
Kumar
Windows Server 2003Active DirectoryWindows Server 2008

Avatar of undefined
Last Comment
Ram Kumar Chellam

8/22/2022 - Mon
Will Szymkowski

It appears based on your error message that you are having some replicaiton issues. I would start but making sure that replicaiton is working accordingly. Run the below commands...

- dcdiag /v
- repadmin /replsum
- repadmin /showrepl

Also checking the event viewer FRS (file replication services) and Directory Services logs to ensure there are no errors. Once you have confirmed that replicaiton is working accordingly login to the DC that is holding the schema master role and run the command again. Make sure that you have "schema admins" rights as well with the account you are logged in with.

Will.
Mike Kline

Do you still have any 2000 pre SP4 DCs?  

Check the health of your DCs and replication using dcdiag and repadmin.  I'm guessing you ar gong to find some issues there.

Are you running the forestprep on the schema master?

Thanks

Mike
Ram Kumar Chellam

ASKER
Dear Will,

Thanks for your commend.

Please check the below error message from event viewer FRS (file replication services)

Error:

The File Replication Service is having trouble enabling replication from BDC001(Backup Domain Controller) to PDC01(Primary Domain Controller) for c:\windows\sysvol\domain using the DNS name bdc001.domainName FRS will keep retrying.
 Following are some of the reasons you would see this warning.
 
 [1] FRS can not correctly resolve the DNS name bdc001.DomainName from this computer.
 [2] FRS is not running on bdc001.Domain Name.
 [3] The topology information in the Active Directory for this replica has not yet replicated to all the Domain Controllers.
 
 This event log message will appear once per connection, After the problem is fixed you will see another event log message indicating that the connection has been established.

As i said my Backup Domain Controller not working any more and don't have backup also.

Please let me know what to do.

Still i didn't run your comment what you mention in your reply.

Thanks
Kumar
Your help has saved me hundreds of hours of internet surfing.
fblack61
Jeremy Weisinger

Did you used to have another DC in the domain named bdc001.DomainName?

If so it seems that it wasn't removed properly.

Follow this to clean up AD of the old domain controller: http://www.petri.co.il/delete_failed_dcs_from_ad.htm
SOLUTION
Will Szymkowski

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Mahesh

You must do metedata cleanup to remove the old orphaned DC's, then force replication to all the other active DCs.  Then you can extend the schema.

http://social.technet.microsoft.com/Forums/windowsserver/en-US/eb13c698-b4d0-40e9-8a48-4f8cf0cb4896/failed-or-expired-domain-controllers-how-to-remove-from-domain?forum=winserverDS

Mahesh
Ram Kumar Chellam

ASKER
Thanks for your comments, sorry for the delay reply, was busy with one urgent project, let me try after on Monday then update you the result.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Ram Kumar Chellam

ASKER
Thanks for all your comment, after long search and fight with my Backup Domain Controller now its online, but i can't Sync the AD between Primary Domain Controller and Backup Domain Controller, i getting the below Error message from PDC while try to run replicate now from AD Sites and Services.

Error:

the following error occurred during the attempt  to synchronize naming context Domain Name from domain controller PDC to Domain controller BDC:

The AD cannot replicate with this server because the time since the last replication with this server has exceeded the tombstone lifetime.

The operation will not continue.

when i try to run netdiag on Backup domain controller all passed except DNS Test:

DNS Error:

DNs Test…… : Failed

[WARNING] The DNS entries for this DC are not registered correctly on DNS server “Local IP”. Please wait 30min for DNS server replication.
[FATAL] No DNS server have the DNS records for this DC registered.

And when i try to run replicate now from AD Sites and Services on BDC:

The following Error occurred during the attempt to contact the domain controller BDC: The target principal name is incorrect.

Waiting for your reply to solve this issue and replicate the AD between PDC and BDC.

BR
Kumar
ASKER CERTIFIED SOLUTION
Mahesh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Ram Kumar Chellam

ASKER
Thx