The directory service is missing mandatory configuration

The operation failed because: Active Directory Domain Services could not transfer the remaining data in directory partition DC=ForestDnsZones,DC=domain-name,DC=com to Active Directory Domain Controller \\DC.domain-name.com.
“The directory service is missing mandatory configuration information, and is unable to determine the ownership of floating single-master operation roles.”

Scenario:

When trying to demote one of Windows 2008 Domain Controllers, you get the above error message.

Resolution:

Copy the script below into a file and call it Script.vbs.

const ADS_NAME_INITTYPE_GC = 3
const ADS_NAME_TYPE_1779 = 1
const ADS_NAME_TYPE_CANONICAL = 2

set inArgs = WScript.Arguments

if (inArgs.Count = 1) then
' Assume the command line argument is the NDNC (in DN form) to use.
NdncDN = inArgs(0)
Else
Wscript.StdOut.Write "usage: cscript fixfsmo.vbs NdncDN"
End if

if (NdncDN <> "") then

' Convert the DN form of the NDNC into DNS dotted form.
Set objTranslator = CreateObject("NameTranslate")
objTranslator.Init ADS_NAME_INITTYPE_GC, ""
objTranslator.Set ADS_NAME_TYPE_1779, NdncDN
strDomainDNS = objTranslator.Get(ADS_NAME_TYPE_CANONICAL)
strDomainDNS = Left(strDomainDNS, len(strDomainDNS)-1)

Wscript.Echo "DNS name: " & strDomainDNS

' Find a domain controller that hosts this NDNC and that is online.
set objRootDSE = GetObject("LDAP://" & strDomainDNS & "/RootDSE")
strDnsHostName = objRootDSE.Get("dnsHostName")
strDsServiceName = objRootDSE.Get("dsServiceName")
Wscript.Echo "Using DC " & strDnsHostName

' Get the current infrastructure fsmo.
strInfraDN = "CN=Infrastructure," & NdncDN
set objInfra = GetObject("LDAP://" & strInfraDN)
Wscript.Echo "infra fsmo is " & objInfra.fsmoroleowner

' If the current fsmo holder is deleted, set the fsmo holder to this domain controller.

if (InStr(objInfra.fsmoroleowner, "\0ADEL:") > 0) then

' Set the fsmo holder to this domain controller.
objInfra.Put "fSMORoleOwner", strDsServiceName
objInfra.SetInfo

' Read the fsmo holder back.
set objInfra = GetObject("LDAP://" & strInfraDN)
Wscript.Echo "infra fsmo changed to:" & objInfra.fsmoroleowner

End if
End if

 

Now go to command line on that DC and run the script by typing the following:

cscript Script.vbs DC=ForestDNSZones,DC=contoso,DC=com

Where:
DC=costoso is the Windows Domain. My Windows Domain was called Domain1.com so I replaced costoso with Domain1. So the command for me was:

cscript Script.vbs DC=ForestDNSZones,DC=Domain1,DC=com

Now try the dcpromo again.

If that doesn’t work go to command line and type:

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. | zero hour sleep

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

and see if the result show an old DC you had and had demoted previously but still have traces in domain.  Use edsiedit to clean up remove that DC.  
the following article might help you

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/

If you find this article helpful, please send us a note to Mike@bostonIT.com so I can keep on adding quality hands-on articles.

3 replies
  1. Joycelyn
    Joycelyn says:

    Tyre of Fortune: Showmanship Edition

    Wheel of Fortune is one of the better online casino games you can play in 2019, also it was developed by
    a company frequently cited because the finest casino developer, IGT.
    If you’ve observed the Wheel regarding Fortune show
    before, you probably know how it takes on. In this sport, you play the role of among
    the contestants, and it’s under your control how a lot money you would like
    to bet on each spin.

    this specific game lets an individual win a lot of money in case you are lucky.
    The income may be huge, but you must wager a few cash to
    obtain it.

    this game is amazing for everyone who is playing the sport and wants to
    be part of the show rather than just watching it
    on TV SET, watching other folks get excited whilst they are sitting at home.
    If you have actually desired to be the part of typically the Wheel of Bundle of money,
    this online online casino may be what you are looking for!

    How Does Wheel associated with Fortune: Hollywood Version Work?

    This game is in truth a representation regarding the famous TV show, where a person guess the
    gamble and spin typically the wheel. Your earnings increase according to how
    much money a person bet, but they are also tied to be able to the payoff an individual get.

    As well, this specific game has a lot more features to offer.
    A person get a chance to get yourself a random jackpot bonus.
    This is usually seen once you rewrite the jackpot wheel and an symbol
    appears on the screen – with each spin is made, the particular jackpot increases.

    Reply
  2. mabosbet
    mabosbet says:

    For anyone who like to play gambling and if you usually are looking for partners in gambling activities, Mabosbet is the right choice.
    Mabosbetransfer You can contact the customer care and make dealings with us.
    Mabosbet livechat is available 24 hours nonstop and is all set
    to serve you and help you online with wagering.

    Mabosbet. com as a responsible gambling agent, we all always
    provide an alternate link to mabosbet to ensure that
    members feel comfortable. You no longer require to have
    trouble getting an alternate Jababbet link with regard to
    access, it is currently available for you.

    We also always give concern to the safety associated with our members, very strict protecting all
    the privacy associated with members of Jababbet.

    Trustworthy Mabosbet From 2010

    Together with good praise, the support from the Headquarters is no
    doubt. Friendly, quickly response, under 3 minutes.

    Mabosbet is highly valued by gambling bettors coming from Indonesia because whatever success you get will probably be approved by
    mabosvip. We usually want to provide the perfect for
    members with optimum service. The site mabosmail. com
    is additionally very simple to access, as you only want internet access and option links mabosvip, no want
    to use proxies, newsletters, or troublesome applications.

    That is why many individuals join mabosbola
    and create deposits, then, win the particular match.
    The best in addition to quality alternative mabosbola alternative site.

    Come join mabosbet. com the trusted on the internet gambling agent
    in Philippines. Contact livechat mabosbet today in the lower right corner to get the user ID.
    Welcome in order to the club.

    MABOSBET is usually a Trusted Online Wagering Site that has already been established for
    more as compared to 9 years with the particular biggest amount
    of online gambling players. This gambling site also provides
    the most satisfactory online gambling game with
    the most popular gambling providers in Indonesia.
    Online Gambling Games that could be played at MABOSBET are Sportsbook Soccer Wagering, Live Casino, Online
    Poker Cards Gambling, Online Slot Gambling and Online Togel.
    Mabosbet itself has provided a variety of excellent facilities for gambling
    online players in Indonesia starting from 24-hour Live Chat Assistance, Bonuses with the
    least difficult conditions, additional wins for True Gambling Players.

    This particular MABOSBET Gambling Site likewise proves to get very trustworthy, while this Gambling Internet site can also pay with regard to any winning player with no deductions.
    So you may play gambling comfortably in addition to safely without anxiety about having to pay.
    In addition to a definite win at MABOSBET, you will also provide additional
    bonuses to offer a different experience enjoying online gambling.

    JOBI BALL OFFICIAL SBOBET ONLINE INSIDE INDONESIA
    Online Soccer Betting has become a very popular gambling
    online game inside Indonesia where every game has a market regarding betting.
    MABOSBET is becoming an official partner of SGD777 Indonesia, where more compared
    to six years has provided football gambling games for gambling players in Indonesia.
    This SBOBET Soccer Gambling Marketplace allows a good where players will
    actually be given the live market from your official match directly.
    Therefore you will be very lucky to be able to play SBOBET in this specific MABOSBET.

    RELIABLE ONLINE SLOT SITE SITE NUMEROUS PROFITS
    Online slot gambling is currently popular in Philippines, where online slots
    are extremely lucrative with huge jackpots and freespins that are straightforward to win. Because of
    that this MABOSBET first provided Online Slot Video games from 2012
    for gambling players in Indonesia. Where Jackpot is provided more than USD $ just one, 000, 000 for slot players who
    register at MABOSBET. The Slot Game machine at MABOSBET won’t just use your Stability,
    the Slot Game has been made with the FREESPIN Bonus
    that comes out there more often, so you will be Fortunately.

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *