???? ????? ??? ??? ????? ????? "Adprep /rodcprep" ?? Windows Server 2008: "???? ????? Adprep ???? ??????? ????? DC = DomainDnsZones ? DC = ???????? ? DC = com"

?????? ????????? ?????? ?????????
???? ???????: 949257 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

???????

??? ????? ????? /rodcprep Adprep ??? Windows Server 2008 ????? ????? ????? ???????:
???? ????? Adprep ???? ??????? ????? DC = DomainDnsZones ? DC = ???????? ? DC = com
??? Adprep ??????? ??? ??? DC = DomainDnsZones ? DC = ???????? ? DC = com ???? ??? ????? ??????.

???? ????? Adprep ???? ??????? ????? DC = ForestDnsZones ? DC = ???????? ? DC = com
Adprep ???? LDAP. ??? ?????: 0 × 0. ?????? ????? ??? ?????: 0 × 0 ????? ??? ????: (?????).

??? Adprep ??????? ??? ??? DC = ForestDnsZones ? DC = ???????? ? DC = com ???? ??? ????? ??????.
Adprep ????? ?? ???? ???. ??? ????? ?? ???? ???????.

?????

???? ??? ??????? ??? ?????? ????? /rodcprep Adprep ??????? ???????? ?????? ???????? ?????? ??? ?? ??? ??????? ?? ?????? ????????. ???? ????? ???? ?????? ?????? ?????? ?? ??? ????? ???????? ???? ???? ?????? Read-Only (RODC). ??? ????? /rodcprep Adprep ??? ???? ??? ?????? ???????:
  • ????? ?? ??????? ???? ??? ??????? ????? ?? ????? ????? ?? ??? ??????.
  • ???????? ?????? ???????? ?????? ???? ??? ?? ????? ?? ??? ????? forcefully ?? ??? ????.

????

??? ??? ??????? ??? ??? ????? ???? ?? ??? ??????? ????? ????? ?????? ????? ????? ??????? ???????? ??????? & "????? nc" ???? Dsmgmt. ????? ?? ?????????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://technet.microsoft.com/en-us/library/cc730970(WS.10).aspx
??? ??? ????? ?????? ???????? ??? ???? ??? ?????? ?????? ???? ??? ?????? ?????. ????? ?????? ???? ?? ???? ?????? ????? ????? fSMORoleOwner ??? ??????? ??? ?? ???? ?? ??? "???? ?? ?????????".

??????? ????

????? ????? ???????? ????? ?????? ????? fSMORoleOwner ??? ???? ?????? ???????? ?? ?????? ?????? ???? ????? ???? (NDNC) ??? ???? ???? ?? contactable ?. ??? NDNC ?? ??? ?????? DomainDnsZones ? DC = contoso DC = com NDNC ???? ???????. ?????? ???????? ????? ????? ??????:
fixfsmo.vbs cscript DC = DomainDnsZones ? DC = contoso DC = com
-------fixfsmo.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
?????? ???????? ?????? ??????? ???? ????????? ????? fSMORoleOwner ??? ???? ?????? ??????? ??? ????? ???? ??????? ?? ??????. ??? ???? ??????? ????????? ????? fSMORoleOwner ??? CN = ?????? ???????? ? DC = DomainDnsZones ? DC = contoso DC = com ????? ?????? ????? ?????? ???????? ?? ?????? ???????? DC = DomainDnsZones ? DC = contoso DC = com ?????. ?????? ????????? ????? fSMORoleOwner ??? CN = ?????? ???????? ? DC = ForestDnsZones ? DC = contoso DC = com ????? ?????? ????? ?????? ???????? ?? ?????? ???????? DC = ForestDnsZones ? DC = contoso DC = com ?????.

????? ??????? ????? ??? ?????? LDP ???? ????? ?????? ???? ???? Active Directory (ADSI) ????? ldifde ?????? ??? ???????????. ??? ???? ??????? ????????? ?????? ?????? ?????? Idifde:
ldifde -f Infra_DomainDNSZones.ldf -d "CN = ?????? ???????? ? DC = DomainDnsZones ? DC = contoso DC = com" fSMORoleOwner -l
????? ??? ????????? ??? ???? ??? ?????? ??????? ?????? ???????? DC = DomainDnsZones ? DC = contoso DC = com ??? ??? ??? Infra_DomainDNSZones.ldf.

?????? ???? ????? ????? /rodcprep Adprep ??? ???? ??? ?????? ?? ???? ??? ?????? ????????. ??? ????? ???????? ???? ?? ??????? ?? executions ??????? ????? rodcprep.

??? ????? ????? ????? rodcprep ?? ???? ?????? ??? ???? ???? ???? ??? ???? ??????? ???????? ?????? ???????? ??? ???? ??? ??? ?? ??? ???? ???????.

???????

???? ???????: 949257 - ????? ??? ??????: 26/?????/1430 - ??????: 2.0
????? ???
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Standard
????? ??????: 
kbmt kbtshoot kbprb KB949257 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????949257

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com