![Error 1722 The Rpc Server Is Unavailable Error 1722 The Rpc Server Is Unavailable](/uploads/1/2/4/7/124744178/739857667.png)
This article describes the symptoms, cause and resolution for resolving Active Directory replication failing with Win32 error 1722: The RPC server is unavailable.
- DCPROMO Promotion of a replica DC fails to create an NTDS Settings object on the helper DC with error 1722 Dialog Title Text:Active Directory Domain Services Installation WizardDialog Message text:The operation failed because: Active Directory Domain Services could not create the NTDS Settings object for this Active Directory Domain Controller CN=NTDS Settings,CN=<Name of DC being promoted),CN=Servers,CN=<site name>,CN=Sites,CN=Configuration,DC=<forest root domain> on the remote AD DC <helper DC>.<domain name>.<top level domain>. Ensure the provided network credentials have sufficient permissions. 'The RPC server is unavailable.'
- DCDIAG reports that the Active Directory Replications test has failed with error 1722: “The RPC Server is unavailable' [Replications Check,<DC Name>] A recent replication attempt failed:
From <source DC> to <destination DC>
Naming Context: <DN path of directory partition>
The replication generated an error (1722):
The RPC server is unavailable.
The failure occurred at <date> <time>.
The last success occurred at <date> <time>.
<X> failures have occurred since the last success.
[<dc name>] DsBindWithSpnEx() failed with error 1722,
The RPC server is unavailable..
Printing RPC Extended Error Info:
<snip> - REPADMIN.EXE reports that replication attempt has failed with status 1722 (0x6ba).
REPADMIN commands that commonly cite the -1722 (0x6ba) status include but are not limited to:·REPADMIN /REPLSUM
·REPADMIN /SHOWREPL·REPADMIN /SHOWREPS
·REPADMIN /SYNCALL
Sample output from 'REPADMIN /SHOWREPS' and REPADMIN /SYNCALL depicting 'The RPC server is unavailable' error is shown below:c:>repadmin /showreps
<site name><destination DC>
DC Options: <list of flags>
Site Options: (none)
DC object GUID: <NTDS settings object object GUID>
DC invocationID: <invocation ID string>INBOUND NEIGHBORSDC=<DN path for directory partition>
<site name><source DC via RPC
DC object GUID: <source DCs ntds settings object object guid>
Last attempt @ <date> <time> failed, result 1722 (0x6ba):
The RPC server is unavailable.
<X #> consecutive failure(s).
Last success @ <date> <time>
Sample output of 'REPADMIN /SYNCALL' depicting 'The RPC server is unavailable' error is shown below:C:>repadmin /syncall
CALLBACK MESSAGE: Error contacting server <object guid of NTDS Settings object>._msdcs.<forest root domain>.<top level domain> (network error): 1722 (0x6ba):
The RPC server is unavailable. - The 'replicate now' command in Active Directory Sites and Services returns 'The RPC server is unavailable.'
Right-clicking on the connection object from a source DC and choosing 'replicate now' fails with 'The RPC server is unavailable.. The on-screen error message is shown below:Dialog title text:Replicate NowDialog message test:The following error occurred during the attempt to synchronize naming context <DNS name of directory partition> from domain controller <source Dc host name> to domain controller <destination DC hostname>:The RPC server is unavailable. This operation will not continue. This condition may be caused by a DNS lookup problem. For information about troubleshooting common DNS lookup problems, please see the following Microsoft Web site:http://go.microsoft.com/fwlink/?LinkId=5171 - NTDS KCC, NTDS General or Microsoft-Windows-ActiveDirectory_DomainService events with the 1722 status are logged in the directory service event log.
Active Directory events that commonly cite the 1722 status include but are not limited to:Event Source Event ID Event String Microsoft-Windows-ActiveDirectory_DomainService 1125 The Active Directory Domain Services Installation Wizard (Dcpromo) was unable to establish connection with the following domain controller. NTDS KCC 1311 The Knowledge Consistency Checker (KCC) has detected problems with the following directory partition. NTDS KCC 1865 The Knowledge Consistency Checker (KCC) was unable to form a complete spanning tree network topology. As a result, the following list of sites cannot be reached from the local site. NTDS KCC 1925 The attempt to establish a replication link for the following writable directory partition failed. NTDS Replication 1960 Internal event: The following domain controller received an exception from a remote procedure call (RPC) connection. The operation may have failed.
![Error 1722 the rpc server is unavailable server 2012 r2 Error 1722 the rpc server is unavailable server 2012 r2](/uploads/1/2/4/7/124744178/257697839.png)
Video showing how tot fix the 'RPC server is unavailable' error in Windows Detailed description - https://www.pcrisk.com/computer-techn.