Unable to demote DC due to error “The directory service is missing mandatory configuration information, and is unable to determine the ownership of floating single-master operation roles.”

Trying to demote a Domain Controller the process fails with:

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

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

removeAD2

Using Command Prompt run:

dsquery * CN=Infrastructure,DC=ForestDnsZones,DC=domain,DC=int -attr fSMORoleOwner

(Replace domain and int for the correct values)

You will find some entries like:

\0ADEL:c66cd18e-6f23-4aaa-b567-f5293219f906

Which clearly shows there is some info linked to a former domain controller.

From the server holding the Schema Master role run ADSIEdit connect to the Default Naming Context and follow the instructions:

adsiedit1

  • Expand and click on DC=domain,DC=com
  • Double-click CN=Infrastructure at the end of the list of folders
  • Look for the fSMORoleOwner attribute and double-click on it
  • Copy its content and click Cancel twice to close the windows

adsiedit2

  • Use ADSIEdit again to connect to the following Connection Point: DC=DomainDNSZones,DC=domain,DC=com (Replace domain and com for the correct values)
  • Follow the same process to get to CN=Infrastructure
  • Look for the fSMORoleOwner attribute and double-click on it
  • Paste the value copied earlier and click OK twice to accept the changes

adsiedit3

  • Repeat the same steps to update the value also connected to the DC=ForestDNSZones,DC=domain,DC=com Connection Point
  • Wait for Replication and try to demote the server after again

 

 

2 Comments

  1. Martin

    This worked perfectly. Thank you so much.

  2. Bud

    Was trying to demote a 2008 R2 server and this fixed the error I was getting. Thank you!

Leave a Comment

 

%d bloggers like this: