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:

image

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:

https://social.technet.microsoft.com/Forums/en-US/b10db3de-38c0-44b4-a4a2-11c9d5999083/client-is-uninstalling-itself-every-5-hours?forum=configmanagerdeployment

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.

Advertisements

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:

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s