Sitecore 9 can easily be setup using the Sitecore Install Assistant (SIA). But if you were like me you installed it a few times before you got it right and were left with a few Sitecore 9 instances that you would like to clean up. I'm hoping Sitecore comes up with their own un-installer, but in the meantime here are the steps I followed to cleanup my un-used Sitecore instances.
Assuming the Sitecore 9.2 instance we are going to un-install has the Sitecore prefix SC92
1. Remove the windows services (you can find your service names by opening your local windows services) with "sc.exe delete [servicename]" in cmd prompt.
I ran the following 3 statements from the cmd as administrator
2. Remove the IdentityServer and xConnect website and application pools from IIS. I right clicked and Removed the following websites from IIS
Next I right clicked and Removed the following appllication pools from IIS.
3. Delete the Sitecore and xConnect websites from inetpub
I right clicked and deleted the following folders from my local C:\inetpub\wwwroot
4. Remove the databases from SQL Server prefixed with SC92
I had to right click and delete the following databases from my SQL server instance
5. Open your windows services and stop your Solr service. Mine was solr-7.5.0 (I right clicked and stopped this service).
6. Delete local Solr indexes. Right click and delete any folder with SC92 prefiex in your solr installation path (mine was D:\solr\solr-7.5.0\server\solr)
I deleted the following folders locally
6. Open your local hosts file (at C:\Windows\System32\drivers\etc)
Remove Hosts entries from hosts.etc file, that are prefixed with SC92. I had to delete the following 2 lines
That's it, you have cleaned up your un-used Sitecore instance. Happy Sitecoreing!
Assuming the Sitecore 9.2 instance we are going to un-install has the Sitecore prefix SC92
1. Remove the windows services (you can find your service names by opening your local windows services) with "sc.exe delete [servicename]" in cmd prompt.
I ran the following 3 statements from the cmd as administrator
2. Remove the IdentityServer and xConnect website and application pools from IIS. I right clicked and Removed the following websites from IIS
Next I right clicked and Removed the following appllication pools from IIS.
3. Delete the Sitecore and xConnect websites from inetpub
I right clicked and deleted the following folders from my local C:\inetpub\wwwroot
4. Remove the databases from SQL Server prefixed with SC92
I had to right click and delete the following databases from my SQL server instance
5. Open your windows services and stop your Solr service. Mine was solr-7.5.0 (I right clicked and stopped this service).
6. Delete local Solr indexes. Right click and delete any folder with SC92 prefiex in your solr installation path (mine was D:\solr\solr-7.5.0\server\solr)
I deleted the following folders locally
6. Open your local hosts file (at C:\Windows\System32\drivers\etc)
Remove Hosts entries from hosts.etc file, that are prefixed with SC92. I had to delete the following 2 lines
That's it, you have cleaned up your un-used Sitecore instance. Happy Sitecoreing!
Comments
Post a Comment