Unable to install secondary domain controller

Posted on 2014-01-06
Last Modified: 2014-03-04
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:

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


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.

Adprep was unable to extend the schema.
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.

Question by:Ram Kumar Chellam
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +2
LVL 53

Expert Comment

by:Will Szymkowski
ID: 39759394
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.

LVL 57

Expert Comment

by:Mike Kline
ID: 39759405
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?



Author Comment

by:Ram Kumar Chellam
ID: 39759448
Dear Will,

Thanks for your commend.

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


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.

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

LVL 18

Expert Comment

by:Jeremy Weisinger
ID: 39759719
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:
LVL 53

Assisted Solution

by:Will Szymkowski
Will Szymkowski earned 250 total points
ID: 39759774
Do the following...
- Make sure that all of the services are started accordingly (services.msc)
- If no connections are automatically made by the KCC in Sites and Services, create the connections manually from one DC to another (temporarily) until replicaiton has completed.
- Make sure that your DNS settings on the BDC are correct.
- Check in DNS Manager under the internal domain zone that the BDC is a Name server for that Zone
- Also check the _msdcs folder as well to ensure that your SRV records have been created sucessfully for the BDC (gc/kerberos/ldap/etc)

Once the above steps have been completed and verified re-run the tests again making sure you have no errors.

Create Manual Connection -

LVL 37

Expert Comment

ID: 39769227
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.


Author Comment

by:Ram Kumar Chellam
ID: 39820607
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.

Author Comment

by:Ram Kumar Chellam
ID: 39867255
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.


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.

LVL 37

Accepted Solution

Mahesh earned 250 total points
ID: 39867320
The  answer is remains same as my 1st comment
Check your active directory for stale DC accounts 1st

In addition to that you need to demote BDC gracefully with dcpromo command
If its not worked, you need to demote it forcefully with dcpromo /forceremoval
Also if any FSMO roles exists on BDC server that needs to be seized

Then you need to do cleanup metadata from active directory
Also you need to clear the BDC traces from DNS _msdcs folder, NS records in dns zone, domain system volume container under\system\file replication service

Once you done that, you can promote new DC and then extend the schema

Reference links:
Forcefull removal of DC: (2003) (2008)

Metadata cleanup:

Seize FSMO role:


Author Closing Comment

by:Ram Kumar Chellam
ID: 39905678

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question