SCCM 2012 R2 Client Agent Uninstalling and Installing Itself Every 5 Hours

I’ve been using Tao’s ConfigMgr 2012 (R2) Client MP since he released it and recently we’ve noticed that a lot of alerts were logged for SMS Agent service not running and after half an hour or less being resolved automatically. Looking in SCOM for the closed looked like this:


What I’ve noticed that the alert was logged only for 3 servers and the alerts were repeating every 5 hours for every particular server.

Logging into the noisy alerts and looking in the SCCM agent logs I could see agent installing was causing this. So the obvious issue is that the SCCM client was re-installing itself every 5 hours roughly for these servers.

Over Internet I’ve stumbled on this forum post:

As of time of this writing there is no comment marked as answer but the guy who opened the thread last commented:

“I noticed in my ccmsetup.log that it was trying to install, and felt it needed to UNINSTALL before installing, so I have actually uninstalled (ccmsetup /uninstall) and then manually installed.  I am monitoring now to see if it has broken its cycle.”

So I’ve followed his guidance:

  1. Uninstalled the SCCM client – C:\Windows\CCMSetup\ccmsetup.exe /uninstall
  2. Installed the agent manually by copying the SCCM installation files to the server – Ccmsetup.exe /mp:<CentralSiteServerName>  /logon SMSSITECODE=<ABC>

  3. Installed SCCM 2012 R2 CU2 as this is the latest version in my environment – Msiexec.exe /update configmgr2012ac-r2-kb2938441-x64.msp

After these steps seems the issue is fixed at least for now.

All credits to the guy (DragonSpeed) posting the thread.

One thought on “SCCM 2012 R2 Client Agent Uninstalling and Installing Itself Every 5 Hours

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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