Solved

Active directory uninstall fails with access denied during uninstall.

Posted on 2008-10-17
1
1,003 Views
Last Modified: 2013-12-02
I have a server that I used to upgrade a Windows nt 4.0 server to server 2003, I have all 5 roles changed over to a new server and I want to remove this one, it was just a stepping stone for the upgrade. The problem is when I go to un install AD from the machine I am ending up with an access denied message and AD will not uninstall. What do I need to do? I have the last log shown below.
Thanks,
Matt

10/17 11:17:51 [INFO] Request for demotion of domain controller
10/17 11:17:51 [INFO] DnsDomainName  (NULL)
10/17 11:17:51 [INFO]       ServerRole  1
10/17 11:17:51 [INFO]       Account (NULL)       Options  128
10/17 11:17:51 [INFO]       LastDcInDomain  FALSE
10/17 11:17:51 [INFO]       Forced Demote  FALSE
10/17 11:17:51 [INFO] Start the worker task
10/17 11:17:51 [INFO] Request for demotion returning 0
10/17 11:17:51 [INFO] Reading domain policy from the local machine

10/17 11:17:51 [INFO] Searching for a domain controller for the domain namcocy.com

10/17 11:17:51 [INFO] Searching for a domain controller for the domain namcocy.com that contains the account NCIBDC01$

10/17 11:17:51 [INFO] Located domain controller ncipdc01.namcocy.com for domain namcocy.com

10/17 11:17:51 [INFO] Support Dc in namcocy.com is ncipdc01.namcocy.com
10/17 11:17:51 [INFO] Located domain controller ncipdc01.namcocy.com for domain namcocy.com

10/17 11:17:51 [INFO] Preparing the directory service for demotion

10/17 11:17:51 [INFO] Searching for other replicas of directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com on the network&
10/17 11:17:51 [INFO] Transferring remaining data in directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to domain controller ncipdc01.namcocy.com&
10/17 11:17:51 [INFO] Transferring operations master roles owned by this domain controller in directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to domain controller ncipdc01.namcocy.com&
10/17 11:17:51 [INFO] Transferred FSMO roles owned by this server in partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to server ncipdc01.namcocy.com.
10/17 11:17:51 [INFO] Completing DN reference scavenging...
10/17 11:17:51 [INFO] Replicating remaining updates in directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to domain controller ncipdc01.namcocy.com&
10/17 11:17:51 [INFO] Active Directory could not transfer the remaining data in directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to domain controller ncipdc01.namcocy.com.
10/17 11:17:51 [INFO] Searching for other replicas of directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com on the network&
10/17 11:17:51 [INFO] Error - Active Directory could not transfer the remaining data in directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to domain controller ncipdc01.namcocy.com. (5)
10/17 11:17:51 [ERROR] Failed to prepare the Directory Service for uninstallation (5)
10/17 11:17:51 [INFO] The attempted domain controller operation has completed

10/17 11:17:51 [INFO] DsRolepSetOperationDone returned 0
10/17 11:18:06 [INFO] Request for demotion of domain controller
10/17 11:18:06 [INFO] DnsDomainName  (NULL)
10/17 11:18:06 [INFO]       ServerRole  1
10/17 11:18:06 [INFO]       Account namcocy\wolze       Options  128
10/17 11:18:06 [INFO]       LastDcInDomain  FALSE
10/17 11:18:06 [INFO]       Forced Demote  FALSE
10/17 11:18:06 [INFO] Start the worker task
10/17 11:18:06 [INFO] Request for demotion returning 0
10/17 11:18:06 [INFO] Reading domain policy from the local machine

10/17 11:18:06 [INFO] Searching for a domain controller for the domain namcocy.com

10/17 11:18:06 [INFO] Searching for a domain controller for the domain namcocy.com that contains the account NCIBDC01$

10/17 11:18:06 [INFO] Located domain controller ncipdc01.namcocy.com for domain namcocy.com

10/17 11:18:06 [INFO] Support Dc in namcocy.com is ncipdc01.namcocy.com
10/17 11:18:06 [INFO] Located domain controller ncipdc01.namcocy.com for domain namcocy.com

10/17 11:18:06 [INFO] Preparing the directory service for demotion

10/17 11:18:06 [INFO] Searching for other replicas of directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com on the network&
10/17 11:18:06 [INFO] Transferring remaining data in directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to domain controller ncipdc01.namcocy.com&
10/17 11:18:06 [INFO] Transferring operations master roles owned by this domain controller in directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to domain controller ncipdc01.namcocy.com&
10/17 11:18:06 [INFO] Transferred FSMO roles owned by this server in partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to server ncipdc01.namcocy.com.
10/17 11:18:06 [INFO] Completing DN reference scavenging...
10/17 11:18:06 [INFO] Replicating remaining updates in directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to domain controller ncipdc01.namcocy.com&
10/17 11:18:06 [INFO] Active Directory could not transfer the remaining data in directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to domain controller ncipdc01.namcocy.com.
10/17 11:18:06 [INFO] Searching for other replicas of directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com on the network&
10/17 11:18:06 [INFO] Error - Active Directory could not transfer the remaining data in directory partition CN=Schema,CN=Configuration,DC=namcocy,DC=com to domain controller ncipdc01.namcocy.com. (5)
10/17 11:18:06 [ERROR] Failed to prepare the Directory Service for uninstallation (5)
10/17 11:18:06 [INFO] The attempted domain controller operation has completed

10/17 11:18:06 [INFO] DsRolepSetOperationDone returned 0
0
Comment
Question by:mattwolze
1 Comment
 
LVL 30

Accepted Solution

by:
LauraEHunterMVP earned 250 total points
ID: 22742809
[1] Run dcpromo /forceremoval from the DC that you want to remove.

[2] Perform a metadata cleanup from a working DC, as described here: http://www.petri.co.il/delete_failed_dcs_from_ad.htm
0

Join & Write a Comment

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

746 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

13 Experts available now in Live!

Get 1:1 Help Now