Cleaning up Broken Clients

It’s been a while since a post, I have been really busy recently with the Cloud OS Community events and some Inframon events recently, as well as the usual work with customers. As we get to the end of life in terms of ConfigMgr 2007, one thing that is coming more common is the requirement to migrate from ConfigMgr 2007 to ConfigMgr 2012. I have noticed lots of problems customers have experienced when trying to install site system roles on servers which used to have a ConfigMgr 2007 client installed. Here is my cleanup process.

  1. First of all remove the client as usual using the /uninstall switch.
  2. Secondly, run ccmclean.exe to make sure we clean up anything left over, also ccmdelcert.exe is useful.
  3. Finally, execute this bit of PowerShell below from an Administrative prompt to verify the CCM namespace has been deleted.
  4. Install the ConfigMgr 2012 client.


Get-WMIObject -namespace"root"-query"SELECT * FROM __Namespace where name = 'ccm'" | Remove-WMIObject

Tags: , , , ,

About Martyn

Martyn is one of the Senior Cloud Architects and DevOps Team Leader at one of the worlds leading Cloud Transformation Specialists Inframon. Martyn is responsible for the architecture of some of the largest Azure deployments in EMEA and is a advisor to a many businesses on their strategies. Martyn is a regular speaker at Microsoft events and community events on Azure and DevOps, giving his insight to a growing number of audiences.

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 )

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

%d bloggers like this: