SCCM console not working - Configuration Manager cannot connect to the site

Eaven HUANG 2,126 Reputation points
2022-08-12T03:13:53.807+00:00

Dear experts,

Out of sudden, my SCCM console is not working at my win 11 client machine. It's been working just fine since May 2022 and I didn't recall there was any system change in recent days.

Any idea how I can overcome this? I've tried reinstalling the client but it didn't make any difference.
Thanks a lot!

230644-mecm-console-client.png

[7, PID:22696][08/12/2022 11:08:57] :Transport error; failed to connect, message: 'The RPC server is unavailable.  
'\r\nMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionException\r\nThe RPC server is unavailable.  
\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)  
   at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)\r\nThe RPC server is unavailable.  
  
\r\nSystem.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[2, PID:22696][08/12/2022 11:08:57] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObject.Initialize(Boolean getObject)  
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)\r\n  
[5, PID:22696][08/12/2022 11:08:57] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[5, PID:22696][08/12/2022 11:08:57] :Transport error; failed to connect, message: 'The RPC server is unavailable.  
'\r\nMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionException\r\nThe RPC server is unavailable.  
\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)  
   at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)\r\nThe RPC server is unavailable.  
  
\r\nSystem.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[5, PID:22696][08/12/2022 11:08:57] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[5, PID:22696][08/12/2022 11:08:57] :Transport error; failed to connect, message: 'The RPC server is unavailable.  
'\r\nMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionException\r\nThe RPC server is unavailable.  
\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)  
   at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)\r\nThe RPC server is unavailable.  
  
\r\nSystem.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[2, PID:22696][08/12/2022 11:08:57] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObject.Initialize(Boolean getObject)  
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)\r\n  
[2, PID:22696][08/12/2022 11:08:57] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObject.Initialize(Boolean getObject)  
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)\r\n  
[1, PID:22696][08/12/2022 11:09:05] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Management.ThreadDispatch.Start()  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[1, PID:22696][08/12/2022 11:09:05] :Transport error; failed to connect, message: 'The RPC server is unavailable.  
'\r\nMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionException\r\nThe RPC server is unavailable.  
\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)  
   at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)\r\nThe RPC server is unavailable.  
  
\r\nSystem.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Management.ThreadDispatch.Start()  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[1, PID:22696][08/12/2022 11:09:07] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Management.ThreadDispatch.Start()  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[1, PID:22696][08/12/2022 11:09:07] :Transport error; failed to connect, message: 'The RPC server is unavailable.  
'\r\nMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionException\r\nThe RPC server is unavailable.  
\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)  
   at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)\r\nThe RPC server is unavailable.  
  
\r\nSystem.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Management.ThreadDispatch.Start()  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[2, PID:22696][08/12/2022 11:09:07] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObject.Initialize(Boolean getObject)  
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)\r\n  
[2, PID:22696][08/12/2022 11:09:07] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObject.Initialize(Boolean getObject)  
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)\r\n  
[1, PID:22696][08/12/2022 11:09:11] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Management.ThreadDispatch.Start()  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[1, PID:22696][08/12/2022 11:09:11] :Transport error; failed to connect, message: 'The RPC server is unavailable.  
'\r\nMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionException\r\nThe RPC server is unavailable.  
\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)  
   at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)\r\nThe RPC server is unavailable.  
  
\r\nSystem.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Management.ThreadDispatch.Start()  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[2, PID:22696][08/12/2022 11:09:38] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObject.Initialize(Boolean getObject)  
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)\r\n  
[1, PID:22696][08/12/2022 11:10:29] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Management.ThreadDispatch.Start()  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[1, PID:22696][08/12/2022 11:10:29] :Transport error; failed to connect, message: 'The RPC server is unavailable.  
'\r\nMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionException\r\nThe RPC server is unavailable.  
\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)  
   at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)\r\nThe RPC server is unavailable.  
  
\r\nSystem.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Management.ThreadDispatch.Start()  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[2, PID:22696][08/12/2022 11:10:33] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObject.Initialize(Boolean getObject)  
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)\r\n  
[1, PID:22696][08/12/2022 11:10:34] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Management.ThreadDispatch.Start()  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[1, PID:22696][08/12/2022 11:10:34] :Transport error; failed to connect, message: 'The RPC server is unavailable.  
'\r\nMicrosoft.ConfigurationManagement.ManagementProvider.SmsConnectionException\r\nThe RPC server is unavailable.  
\r\n   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)  
   at Microsoft.ConfigurationManagement.AdminConsole.SmsSiteConnectionNode.GetConnectionManagerInstance(String connectionManagerInstance)\r\nThe RPC server is unavailable.  
  
\r\nSystem.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Management.ThreadDispatch.Start()  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObjectSearcher.Initialize()  
   at System.Management.ManagementObjectSearcher.Get()  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.Connect(String configMgrServerPath)\r\n  
[2, PID:22696][08/12/2022 11:11:01] :System.Runtime.InteropServices.COMException\r\nThe RPC server is unavailable.  
\r\n   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)  
   at System.Management.ManagementScope.InitializeGuts(Object o)  
   at System.Management.ManagementScope.Initialize()  
   at System.Management.ManagementObject.Initialize(Boolean getObject)  
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)  
   at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, Boolean traceParameters)\r\n  
Microsoft Configuration Manager
{count} votes

3 answers

Sort by: Most helpful
  1. SW 6 Reputation points
    2022-08-17T20:41:25.087+00:00

    I was having the EXACT same issue. a colleague found the resolution for me. here's what worked for me:

    Open an elevated cmd prompt
    net stop MSDTC
    run MSDTC –uninstall
    Review event log: In Application Event Log message confirms that MSTDC was successfully uninstalled
    Run MSDTC –install
    Review event log: In Application Event Log message confirms that MSTDC was successfully installed
    net start MSDTC
    Reboot the machine

    for more detail here's the website this came from:
    https://eskonr.com/2017/04/sccm-current-branch-remote-console-connectivity-issues-insufficient-privilege-to-connect-error-access-is-denied/

    Hope that helps you!

    0 comments No comments

  2. Messaoud Babaghayou 0 Reputation points
    2023-04-01T09:35:04.0633333+00:00

    SW's answer worked perfectly for me (taking into account that SCCM console was working for me before).

    But there is another important thing to begin with: the DCOM hardening is a feature that was introduced in the late 2022 year so if your OS system in where you have the console installed is not updated (talking about security updates), then it is likely that you get an error as well (assuming the server is updated and is using the DCOM feature and the remote computer is not), so you need to either update the remote computer that has the console or search for the exact KB package that has DCOM fix. Deactivating DCOM on the server works but it is not recommended due to security issues (either both the server and remote computer have to have DCOM enabled or both have to have it disabled).

    Hope the comment helps other guys.

    0 comments No comments

  3. Kraziken 1 Reputation point
    2024-04-18T19:23:19.68+00:00

    Came here to comment. I was working in the console. When something happened. When I tried to relaunch, I had this exact same error.

    These steps restored the console. Thanks!

    0 comments No comments