Skip to content
Fix SCCM Untrusted Forest Remote DP Installation Error 0x800706BA ConfigMgr

Fix SCCM Untrusted Forest Remote DP Installation Error 0x800706BA ConfigMgr

Written By Anoop C Nair
Last Updated August 5, 2024
Posted In SCCM
SHARE

Fix SCCM Untrusted Forest Remote DP Installation Error 0x800706BA ConfigMgr. This happens only in complex environments.

The error 0x800706ba shows that SCCM site server was incapable of establishing a connection with client over RPC ports.

I have loads of remote DPs in untrusted forests. One of the remote DP installations was not going very well. The DP was not getting installed at all.

Fix SCCM Untrusted Forest Remote DP Installation Error 0x800706BA

I checked and confirmed all the requirements, such as a) Requiring the Site server to Initiate Connection to this Site System and b) Using another account to install this site system (this account must have local admin rights on remote DP).

Patch My PC

Following are the errors in distmgr.log:-

  • They were upgrading DP with ID 33554439. Thread 0x2490. Used 1 thread out of 5.
  • CWmi:Connect() failed to connect to \\[“Display=\\RemoteDP.com\”]MSWNET:[“SMS_SITE=RSP”]\\RemoteDP.com\\root\CIMv2. Error = 0x800706BA
  • DPConnection:ConnectWMI() – Failed to connect to  RemoteDP.com.
  • Failed to install DP files on the remote DP. Error code = 1722

Fix Error 0x800706BA

The error 0x800706BA translates to “The RPC Server is unavailable.”

I tried remote WMI tests using wmimgmt. msc and wbemtest with no luck.  Telnet was not working for the primary server’s remote DP IP for port 135, which is used for RPC services.

The cause of this problem was very simple. The RPC port 135 was not opened between the primary server and remote DP in an untrusted forest.  We opened port 135, and the remote DP was installed successfully.

More Details on SCCM Firewall ports – SCCM Firewall Ports Download The List Of ConfigMgr Firewall Ports HTMD Blog (anoopcnair.com)

Resources

Free SCCM Training Part 1 | 17 Hours Of Latest Technical Content | ConfigMgr Lab HTMD Blog (anoopcnair.com)

How To Disable SCCM Application Deployment | ConfigMgr | MEMCM – HTMD Blog #2 (howtomanagedevices.com)

We are on WhatsApp now. To get the latest step-by-step guides, news, and updates, Join our Channel. Click here – HTMD WhatsApp.

Author

Anoop C Nair is Microsoft MVP! He is a Device Management Admin with more than 20 years of experience (calculation done in 2021) in IT. He is a Blogger, Speaker, and Local User Group HTMD Community leader. His primary focus is Device Management technologies like SCCM 2012, Current Branch, and Intune. He writes about ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc.

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 16 comments

  1. Anoop, if you have seen this,
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/0322417f-cc8c-474a-89ed-ca040f56ab9e/error-while-configuring-remote-dp-on-sccm2012-on-different-forest the issue is similar, i get it in where there is trust established, and the ports are opened. I am able to telnet to and from remote DP and Primary server on port 135.
    Just the issue is that the Remote DP is acting as a DC :(.

    Have you seen such a problem?

    1. StaffI’ve replied to your post in technet forum.
      I know, you must have seen this post about Untrsuted Forest Remote DP Error 0x800706BA. As I mentioned in the post whether you tried to access wmimgrmt.msc and wbemtest.msc with domain admin user? Also worth enabling WMI logs (on DC) to check whether any error while attempting to connect to wmi from primary server. If you’ve Win2k8 and above see how to enable wmi tracing

      It seems to me like a FW issue. The error mentioned above is remote procedure call (RPC) server unavailable that can happen if the dynamic ports are NOT open other than 135.

      It worth checking following ports as well. To get more details you may need to perform network trace so that you will come to which port is blocking it,

      – tcp 135,
      – tcp/udp – 389
      – tcp 3268
      – tcp/udp – 88
      – tcp/udp – 53
      – tcp 3268
      – tcp 445
      – dynamic rpc ports for NTDS. Netlogon

    2. StaffI’ve replied to your post in technet forum.
      I know, you must have seen this post about Untrsuted Forest Remote DP Error 0x800706BA. As I mentioned in the post whether you tried to access wmimgrmt.msc and wbemtest.msc with domain admin user? Also worth enabling WMI logs (on DC) to check whether any error while attempting to connect to wmi from primary server. If you’ve Win2k8 and above see how to enable wmi tracing

      It seems to me like a FW issue. The error mentioned above is remote procedure call (RPC) server unavailable that can happen if the dynamic ports are NOT open other than 135.

  2. issue solved. It was indeed a firewall issue. Had a detailed check with the FW team. Ephemeral ports are created dynamically and assigned to each client which opens a session. In case of Windows Server 2003 both TCP and UDP ephemeral ports are within the range 1025-5000. We had to set an exception of port # between 1025 and 5000. This fixed the issue

  3. My Problem was that our DP was running on a HyperV server on a physical server. The physical servers firewall was stopped causing an issue. Started the firewall, restarted the VM and voila.

  4. Hi Anoop, we have a same situation here but the ports 80, 445 and 135 are opened in both sides. Please help me.

  5. Hi Anoop,
    I have same issue, Trying to install the DP role in the untrusted forest. We have port 135 and 445 open between the Primary site and server in another forest
    While installing i selected the option as mentioned in the post a) Require the Site server to Initiate Connection to this Site System b) Use another account for installing this site system (this account must have local admin rights on remote DP).

    In the Distmgr.log, getting error code as FAILED TO INSTALL DP FILES ON THE REMOTE DP. ERROR CODE = 1901.
    Please advise

    1. StaffI would take help from network team to perform network trace between DP and SCCM Primary server. Otherwise can you please let me know how are you checking the ports are open ? I would portquery utility rather than telnet ! Also make sure two way communication is in place in terms of ports !!

      1. StaffI would take help from network team to perform network trace between DP and SCCM Primary server. Otherwise can you please let me know how are you checking the ports are open ? I would portquery utility rather than telnet ! Also make sure two way communication is in place in terms of ports !!

  6. Hi Anoop,
    I have checked from both sides using telnet and Port Query tool and its open. Can you please let me know the response for the below queries
    All our servers are Windows 2012 R2

    1. Are there any other port needed ecept 135 and445 ? (only for DP)
    2. Do we need to install IIS manually on the remote DP (untrusted Forest)
    3. Do we need to open any dynamic ports ?
    4. Any ports for WMI need to be open ?

    while checking distmgr.log in cmtrace getting below errors

    1. CWmi:: Connect() failed to connect to \\servername\root\CIMv2. Error = 0X800070776
    2. DP connection::ConnectWMI() -Failed to connect to “ServerNAme”
    3. Failed to Install DP files on the remote DP.Error code -1910

    Any more help will be really appreciated.

    1. Staff1. Are there any other port needed ecept 135 and445 ? (only for DP) ==> YES
      2. Do we need to install IIS manually on the remote DP (untrusted Forest) ==> NO
      3. Do we need to open any dynamic ports ? ==> YES…135 is useless if you have not opened dynamic ports
      4. Any ports for WMI need to be open ? NO

  7. Thanks Anoop,
    Can you please let me know what range of dynamic ports should we open ?

    Any other configuration needed like to Enable Forest discovery of untrusted forest?

    Regards
    Fahim

  8. Thanks Anoop,
    I checked with the network team an even dynamic ports are opened .
    Do I need to extend the AD schema in untrusted forest for completing the DP installation ?
    Or creating manually system management container in untrusted domain ?

    Regards
    Fahim

    1. StaffAD schema extension is not required for DP to work. There is something else. May be raise a call with Microsoft support or check the group policies. If you have a working DP in that forest or similar forest check and compare the setting of both the servers.

Join the discussion

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

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read