DCPromo out fails with: The directory service is missing mandatory configuration information, and is unable to determine the ownership of floating single-master operation roles.
Following commad was correct:
netdom query fsmo
But on all dc there was old informations that pointed to old PDC DC that no longer exist:
dsquery * CN=Infrastructure,DC=ForestDnsZones,DC=sevescorp,DC=com -attr fSMORoleOwner
output
CN=NTDS Settings\0ADEL:123412345-1234-1234-1234-123123123123,CN=XXXX-AD\0ADEL:123412345-1234-1234-1234-123123123123,CN=Servers,CN=xxxx,CN=Sites,CN=Configuration,DC=xxxxxxxx,DC=com
then we opened ADSIEdit.msc and connected to:
CN=Infrastructure,DC=ForestDnsZones,DC=domain,DC=int
and we changed these information to correct one:
You must execute this activities on schema master DC
Same procedure must be replicated on
CN=NTDS Settings,CN=
With ADSI edit using this article on point 3.:
http://www.more2know.nl/tag/fsmoroleowner/
To get correct string you need to view point 1. of precedent article and mainly going here:
Here is another useful article:
http://www.zerohoursleep.com/2011/07/dcpromo-out-fails-with-the-directory-service-is-missing-mandatory-configuration-information-and-is-unable-to-determine-the-ownership-of-floating-single-master-operation-roles/
we changed this information and thereafter they was correctely replicated and dcdemote was working fine