In this post we will see how to uninstall SCCM primary site. Sometimes you want to try new things because you want to learn something out of it. I would like to post a quote made by Walt Disney here. “We keep moving forward, opening new doors, and doing new things, because we’re curious and curiosity keeps leading us down new paths”.
The first question you would probably ask is why should one uninstall SCCM primary site ?. There could be a situation where you would want to setup new site completely. Or probably get rid of the old primary site that has got tons of issues or it could be something else. Well I have got a big lab setup with just a single SCCM primary site. Now that I wanted to create a new setup, i thought of deleting all the virtual machines. But then, that would be so easy to do. So i thought why not try out uninstall configuration manager site option.
Long back I published a post on performing SCCM site reset. Note that SCCM site reset is different from uninstalling your configuration manager site. Though both options are seen on same screen, however one should use them wisely. If you are looking to perform SCCM Configuration manager site reset, this post will help you. In this post I will cover the steps to uninstall SCCM primary site.
Before you Uninstall SCCM Primary Site
Since you have decided to uninstall SCCM primary site, there are few things that i would like to add here. What if you have a hierarchy with multiple sites ?. Will you decommission primary site server directly ?. The answer is No. In such cases the sequence of removal is important. Remember that if your hierarchy has multiple sites, you must start by uninstalling the sites at the bottom of the hierarchy and then move upward.
- First of all remove secondary sites attached to primary sites.
- Next remove primary sites. We will see how to do that in this post.
- After all the primary sites are removed, you can uninstall the central administrations site.
As mentioned earlier, i have got just one primary site in my lab setup. Do not worry about what roles are installed on site server, we are just going to uninstall configuration manager primary site using simple steps.
How to Uninstall SCCM Primary Site
To uninstall SCCM Primary Site, let’s follow the steps. Login to the site server and go to Programs and Features. Right click System Center Configuration Manager Primary Site Setup and click Uninstall/Change.
You will now see system center configuration manager setup wizard. Click Next.
There are setup options and some of the them are greyed out. Select last option Uninstall this Configuration Manager Site. Click Next.
Before you uninstall SCCM primary site, there are two options that you see here.
- Do not remove the primary site database
- Do not remove the Configuration Manager console
Both these options are self-explanatory. I would not check any of these options as I want to uninstall primary site completely. So on the confirmation box click Yes.
Now the wizard begins to uninstall primary site. There are many steps involved while uninstalling SCCM primary site. You can click View Log and that opens ConfigMgrSetup.log file. In my lab setup the primary site got uninstalled in 14 minutes.
The ConfigMgrSetup.log file records the uninstall process. At the end of the log file you should see Completed Configuration Manager Server Setup – Uninstallation.
Peeking into System Management container, there are no entries related to primary site server. This means your primary site has been uninstalled cleanly.