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

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

?????

?? ?? ?????Adprep /rodcprep???? Windows Server 2008 ?? ???? ????? ?????? ????? ??????? ???? ??:
DC ???????? ?? ??? ?? Adprep replica ?? ?????? ???? ?? ??? DomainDnsZones, DC = Contoso, DC = = com
Adprep ???? DC ???????? ?? ???????? DomainDnsZones, DC = Contoso, DC = = com Skipping ???? ???????? ?? ????

Adprep could not contact a replica for partition DC=ForestDnsZones,DC=Contoso,DC=com
Adprep encountered an LDAP error. Error code: 0x0. Server extended error code: 0x0, Server error message: (null).

Adprep failed the operation on partition DC=ForestDnsZones,DC=Contoso,DC=com Skipping to next partition.
Adprep completed with errors. Not all partitions are updated.

????

?? ?????? ?? ???? ?? ??Adprep /rodcprepcommand tries to contact the infrastructure master for each application partition in the forest. The command does this to set the permissions that are required for Read-Only Domain Controller (RODC) replication. TheAdprep /rodcprepcommand fails if one of the following conditions is true:
  • The partition or the partitions that are referenced in the error message no longer exist.
  • ????????????????? ?????? ?? ???????? ???????? ?? ?????????? ?? ??? ?? demoted forcefully ???? ??? ?? ?? ??????? ???

????????

??? ?????? ???? ???????? ?? ?? ?????? ?? ?? ???? ?? ??? ????? ??, orphaned ???????? Dsmgmt ????? ?? "nc ???????" ???????? ?? ????? ???? ?? ??? ??? ???????? ??????? ?? ???? ????? ???? ??????? ?? ???, Microsoft ?? ????? ??? ???? ?? ????::
(WS.10) http://TechNet.Microsoft.com/en-us/library/cc730970 .aspx
????????? ?????? ????? ??, ??? ??? ?????? ??? ?????? ?? ?????? ?? ??? ?????? ?? ????????? ????? ?? ?? ???????? ??? ?? ??????? ???? ???? ?? ???? ???fSMORoleOwner??????? ?? ????????, ???? "???? ???????" ??? ??? ????? ???? ??? ???

???? ???????

?????????? ????????? ????? ??????? ???? ??fSMORoleOwner??????? ?????? ???????? ?? ????????? ???-????? ?????? ?????? (NDNC) ?? ?????? ?? contactable, ????? ?? ??? ?? ????? ??? NDNC ??DomainDnsZones, DC contoso, DC = com NDNC =?????? ?????? ???? ????????? ????? ???? ?? ????? ???? ??:
CScript fixfsmo.vbs 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??????? ??? question ?????? ?????? ??? ?? ??????? ?????? ???????? ?? ??? ?????? ?? ??? ??????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 ?????, ?????? ?????????? ???? ??????? (ADSI) ?????? ????? ?? ldifde. exe ????? ???? ????? ?? ????? ?? ???? ??? ?????? ?? ???, ????? ?????? Idifde ????? ????? ???? ??:
LDIFDE -f Infra_DomainDNSZones.ldf -d "CN ?????????, DC = DomainDnsZones, DC = contoso, DC = = com" -l fSMORoleOwner
?? ?????? ?? ??? ????????????????? ?????? ??? ?????? ?? ???? ??DC DomainDnsZones, DC = contoso, DC = = com?????? Infra_DomainDNSZones.ldf ????? ?? ??? ???

???:?? ??? ???? ???Adprep /rodcprep???? ?????? ??? ???? ???????? harming ??? ???????? ????? ?? ????? executions ??? ??? ?? ??rodcprep???? ???? ?????? ?? ????

??? ?? ????? ?? ?????? ????rodcprep???? ??? ??????? ???, ???????? ????? ?? ??? ?? ???????? ????????? ?????????? ?????? ?? ??? ????????????????? ?????? ???? ??? ???? ?? ???????? ?? ??? ??????? ??? ?????? ???? ?????? ???

???

???? ID: 949257 - ????? ???????: 06 ?????? 2010 - ??????: 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
??????: 
kbtshoot kbprb kbmt KB949257 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??: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