Solved

Active directory uninstall fails with access denied during uninstall.

Posted on 2008-10-17
1
1,008 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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
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 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 …

828 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