Solved

Active directory uninstall fails with access denied during uninstall.

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

810 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