SCCM Management Points Failing: Fixing the SMS Agent Host Service Issue

One of the more frustrating Configuration Manager (SCCM / ConfigMgr) problems is a management point that keeps failing. Clients stop reporting, the client certificate shows as None in the Configuration Manager control panel, software deployments stall, and reinstalling the management point role […]

SCCM Management Points Failing: Fixing the SMS Agent Host Service Issue

One of the more frustrating Configuration Manager (SCCM / ConfigMgr) problems is a management point that keeps failing. Clients stop reporting, the client certificate shows as None in the Configuration Manager control panel, software deployments stall, and reinstalling the management point role fixes it for a day before it falls over again. In many cases the real cause is the SMS Agent Host service (CcmExec) on the site server or management point stopping, usually because antivirus or EDR software is interfering with it. This guide explains how to confirm that, fix it properly and stop it coming back on current versions of Configuration Manager.

Symptoms

  • Clients intermittently fail to communicate with the management point (MP) and stop sending inventory and status messages.
  • On affected clients, Control Panel > Configuration Manager > General shows the client certificate as None.
  • Software Center shows no deployments, or applications sit at “Downloading” or “Waiting”.
  • Reinstalling the MP role, or restarting the server, brings everything back for a while.
  • The SMS Agent Host service on the MP server is found stopped, or restarts repeatedly.

Why the SMS Agent Host service matters to a management point

The management point is a web service hosted in IIS, but it relies on the Configuration Manager client components on the same server, which run inside the SMS Agent Host service (CcmExec.exe). If that service stops or hangs, the MP can no longer process client requests even though IIS is still running. That is why reinstalling the role “fixes” it: the reinstall restarts the service, until whatever stopped it happens again.

Step 1: confirm the MP is the problem

From any machine on the network, open a browser and go to:

http://YOUR-MP-SERVER/sms_mp/.sms_aut?mplist
http://YOUR-MP-SERVER/sms_mp/.sms_aut?mpcert

A healthy MP returns an XML list of management points and a block of certificate data. An HTTP 500 or 503 error, or a blank page, means the MP is not working. If your MP is configured for HTTPS only, use https:// and test from a machine that trusts the certificate.

In the console, check Monitoring > System Status > Component Status for SMS_MP_CONTROL_MANAGER. Errors there, especially messages saying the MP cannot be reached or that HTTP verification failed, back this up.

Step 2: check the logs

On the management point server, look at:

  • MPControl.log (in the site server’s Logs folder, or SMS_CCM\Logs on a remote MP): records the MP’s own health checks. Repeated HTTP errors here show when it went down.
  • CcmExec.log and other logs in %windir%\CCM\Logs: show the SMS Agent Host service stopping and starting.
  • The Windows System event log: filter on Service Control Manager events (event ID 7031 or 7034) for “SMS Agent Host terminated unexpectedly”.
  • Your antivirus or EDR console: check for scans, quarantines or blocked actions at the times the service stopped.

If the service stops at the same time as a scheduled antivirus scan, or the security product has quarantined or locked files under %windir%\CCM, you have found the cause. Our guide to common SCCM error codes helps if the logs show specific error numbers.

Step 3: add the correct antivirus exclusions

Microsoft publishes a list of recommended antivirus exclusions for Configuration Manager. Use that page as the authority, because it is updated as the product changes. The items most relevant to this problem are:

  • Client process: %windir%\CCM\CcmExec.exe
  • Client folders: the client data folders under %windir%\CCM (such as ServiceData and the client database files) and the client cache, %windir%\ccmcache
  • Site server: the Configuration Manager installation folder’s Inboxes and Logs folders, and the SMSExec.exe process
  • Management point: the IIS temporary ASP.NET files folder used by the MP
  • Content library: the SCCMContentLib folder on distribution points, which large scans can slow badly

Apply the exclusions in whichever product you use. For Microsoft Defender for Endpoint, push them through a Configuration Manager antimalware policy, Intune or Group Policy rather than setting them by hand, so they survive a rebuild. Keep the list tight: excluding whole drives or the entire Windows folder creates a real security gap. If you want to see what exclusions are already in place across your estate, our guide to auditing Microsoft Defender exclusions with PowerShell shows where each one comes from, and limiting Defender scan CPU usage helps on busy site servers.

Step 4: restart and make the service self-healing

Restart the SMS Agent Host service on the MP server from an elevated PowerShell window:

Restart-Service CcmExec

Then set the service to restart itself automatically if it fails, so a one-off crash does not take the MP down overnight:

sc.exe failure CcmExec reset= 86400 actions= restart/60000/restart/60000/restart/60000

This restarts the service after one minute for the first three failures in any 24 hour period. It is a safety net, not a fix, so still deal with the cause.

Step 5: if it still fails, reinstall the MP cleanly

  1. Remove the management point role in Administration > Site Configuration > Servers and Site System Roles.
  2. Watch MPSetup.log until it confirms the role has been removed.
  3. Check IIS and the BITS server extension are healthy and the server is fully patched.
  4. Add the role back and watch MPSetup.log and MPControl.log for a successful install and an HTTP 200 health check.

If clients still show no certificate after the MP is healthy, repair them with ccmrepair.exe in %windir%\CCM, or for badly broken clients see our guide to CCMClean for removing and repairing the SCCM client. Make sure the site is on a supported Current Branch release too; our guide to upgrading Configuration Manager Current Branch covers this.

A note on older environments

When this problem was first widely reported, a faulty Windows update for WCF (Windows Communication Foundation) was also known to break management points on some servers, and applying Microsoft’s follow-up fix together with the antivirus exclusions resolved it. If you are maintaining an old ConfigMgr 2012 site on an old server, that is worth ruling out. On a current site, antivirus interference and unhealthy IIS are far more likely.

FAQ

What is the SMS Agent Host service?

It is the Windows service name for the Configuration Manager client, CcmExec.exe. It runs on every managed device and on site system servers.

Should I exclude the whole CCM folder?

Follow Microsoft’s list rather than excluding everything. A broad folder exclusion is easier, but it also stops your antivirus checking anything that lands there.

Can a single MP outage affect all clients?

Yes, if it is your only management point. Larger sites should have more than one MP so clients can fail over.

🛠️

Gear We Recommend

Testing configs is easier with a dedicated admin machine set up right. Here’s the kit we use.

Browse our Windows Admin Toolkit picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Intune, Active Directory, PowerShell and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published 770+ practical guides to real-world IT problems. He also builds free Windows utilities, including Ultimate Settings Panel, which has been downloaded over 850,000 times.