By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: Troubleshooting SCCM Error 0x80080005: Unable to Establish Connection to Service
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Configuration Manager Query Collection List
ConfigMgr

Troubleshooting SCCM Error 0x80080005: Unable to Establish Connection to Service

Published: February 18, 2024
2 Min Read
SHARE

Troubleshooting SCCM Error 0x80080005: Unable to Establish Connection to Service. SCCM Unable to establish a connection to the service 80080005. Some of the clients could not able perform software update scans. Look at wuahandler.log ,scanagent.log, and windowsupdate.log as these logs will help you to troubleshoot software update scan issues at the initial stage.

WARNING:     IsSessionRemote: WinStationQueryInformationW(WTSIsRemoteSession) failed for session 2, GetLastError=2250
COMAPI    FATAL: Unable to connect to the service (hr=80080005)
COMAPI    WARNING: Unable to establish connection to the service. (hr=80080005) 

The issue is not with SCCM client or windows update agent rather it is more of a windows issue likely to be caused due to a missing/corrupt class in root\microsoft\windows\servermanager.

For this, you need to create a dump to analyze what is going on, and here is what you can find in the dump log.

4 0000003ebe29d850 00007ffd2f31a1c7 wbemcore!CCoreQueue::QueueWaitForSingleObject+0x5c   Waiting for the thread running wbemcore!CCoreQueue::Execute

5 0000003ebe29d8a0 00007ffd2f328f5a wbemcore!CWmiFinalizer::GetOperationResult+0x67

6 0000003ebe29d8e0 00007ffd2a999afd wbemcore!CWbemNamespace::ExecQuery+0x2ae

When Windows Update is in the “scanning for updates” state, the WMI provider in use is ServerManager.DeploymentProvider.

To fix this problem you need to compile servermanager.deploymentprovider.mof. If the ServerManager.DeploymentProvider is bad, this command will fix it. If the ServerManager.DeploymentProvider is good, the below command will not cause any damage to the machine.

Open cmd in elevated mode (as admin):

  1. Run:  taskkill /f /fi “services eq wuauserv”
  2. Run the following command to recompile the MOF file:  mofcomp c:\windows\system32\wbem\servermanager.deploymentprovider.mof
  3. Restart the machine.

After the server reboot, the software update scan went through successfully.

TAGGED:Microsoft Windows ServerSystem CenterSystem Center Configuration ManagerTechnical PreviewWindowsWindows 10WSUS
Previous Article Configuration Manager Query Collection List Configuration Manager Ccmsetup Error Exit Code 1603
Next Article Windows 10 how to view a saved Wi-Fi password
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?