Link to home
Get AccessLog in
Avatar of zry700
zry700

asked on

Cannot remove a Windows 2008 server as a domain controller

I tried running dcpro.exe to demote a windows 2008 server as a domain controller.  However I got the following error message

Active Directory Domain Service Installer
Failed to detect if Active Directory Domain Services binaries were installed.  The error was:  Element not found.

Any idea what caused the problem and how to fix it.
Avatar of Wayne88
Wayne88
Flag of Canada image

Avatar of zry700
zry700

ASKER

I installed the system update readiness tool on the server, and I can start DCPROMO.exe.  However I am getting the following error message In Active Directory Domain Services Installation Wizard

The operation failed because:

Active Directory Domain Services could not transfer the remaining data in directory partition
DC=ForestDnsZones, DC=NameOfOtherDomainController, DC=local to Active Directory Domain Controller \\NameOfOtherDomainController.domain.local.

"The directory services is missing mandatory configuration information, and is unable to determine the ownership of floating single-master operation roles."

How to fix this problem?  In case I cannot demote this domain controller using DCPROMO.exe, can I remove it manually from Active Directory?  Thanks,
ASKER CERTIFIED SOLUTION
Avatar of Wayne88
Wayne88
Flag of Canada image

Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access
It looks FSMO role is been seized from the failed DC, but its metadata cleanup has not been performed.
My suggestion is use dcpromo /forceremoval and perform metadata cleanup to remove the dc. You can refer below article to remove references of earlier removed dc from the AD.

https://support.microsoft.com/en-us/kb/216498
https://awinish.wordpress.com/2011/05/08/metadata-cleanup-of-a-domain-controller/
Thanks for the points zry700

Deadman, nice try.