Demotion Error: The Directory Service failed to replicate off changes made locally. The DSA operation is unable to proceed because of a DNS lookup failure.

Posted on 2006-05-26
Last Modified: 2009-07-09
Hello All,

I am trying to uninstall one child DC from my forest

My Root Server is Windows 2003 Standard Server [Windows 2000 Native]. I had raised domain level from 2000 mixed to 2000 native after joining Windows 2000 Server as child domain to Windows 2003 Server in existing forest. I am not sure whether this is related to demotion issue

Child Domain is sqlserv.myserver.local

Since i don't need this Child Domain anymore so i planned to demote it (and since i don't have any dc in this child domain so i checked ON "This is my last domain...", when demoting) but demotion process aborts and it is erroring out

Remove Active Directory from this computer.
You have indicated that this domain controller is the last controller in the
domain "sqlserv.myserver.local"
When the process is complete, this domain will no longer exist.

The operation failed because:
The Directory Service failed to replicate off changes made locally.
"The DSA operation is unable to proceed because of a DNS lookup failure. "

I am using correct DNS entries [ip of domain which is hosting DNS Server in forest], When i run nslookup it shows below result.

Default Server:  servername.myserver.local

This is IP Address of my DNS Server and it seems to be perfect output, so i don't know why it is showing DNS related issues.

I will appreciate any help :-)


Question by:askdavid

    Author Comment


    Hello All,

    I found that behavior is by design of Ative Directory which is dependant on
    DNS Infrastructure.

    Ok here is what i did...

    1. Download ResKit & Support Tools [Reskit is not necessary, but good tools]

    Download Tools from microsoft
    Support Tools

    Windows 2003 SP1 Resource Kit

    2. Start CMD and Run dcdiag.exe [available under support tools] with below
    dcdiag.exe /test:DNS /DNSALL

    3. Read output of above and resolve issues one-by-one [errors and
    suggestions are given by tool itself, just try to understand and follow
    instructions, if you are unable to understand then you need to google ;-)]

    4. Then run below command
    dcdiag.exe /e

    5. Again read output of above and try to resolve issues one-by-one [follow
    instructions given by tool, ignore warnings but not in all cases :-)]

    6. Make sure that your child and parent server's preferred DNS Server
    settings is correctly configured

    7. Now go to child server and run dcpromo, it worked for me :-)

    Alternatively you can use below article, NOT RECOMMENDED BUT LAST OPTION

    Using the DCPROMO /FORCEREMOVAL Command to Force the Demotion of Active
    Directory Domain Controllers:;en-us;332199

    HOW TO: Remove Data in Active Directory After an Unsuccessful Domain
    Controller Demotion:;EN-US;216498

    Using Ntdsutil.exe to Seize or Transfer FSMO Roles to a Domain Controller:;EN-US;255504




    Accepted Solution

    Closed, 500 points refunded.

    The Experts Exchange
    Community Support Moderator of all Ages

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now