Kevin79 Posted December 28, 2012 Report post Posted December 28, 2012 I had two SCCM secondary sites that I told SCCM to delete and uninstall the secondary site. It is now stuck on "deleting" and the secondary servers have SCCM uninstalled on them. How do I remove those sites from the primary server so that I can re-add the servers? Quote Share this post Link to post Share on other sites More sharing options...
Peter33 Posted December 29, 2012 Report post Posted December 29, 2012 Run the following command as admin on your primary server, where XXX is the site code of your secondary site which you want to remove. Microsoft Configuration Manager\bin\X64\00000409\preinst.exe /delsite XXX Also uninstall the SQL Server and the SCCM client on this secondary (if installed) and reboot the server. Then remove the registry key HKLM\Software\Microsoft\SMS on this server. You should be able to install the server without any problems after that. Quote Share this post Link to post Share on other sites More sharing options...
Kevin79 Posted December 29, 2012 Report post Posted December 29, 2012 Thanks! Quote Share this post Link to post Share on other sites More sharing options...
learningmode Posted March 18, 2014 Report post Posted March 18, 2014 It worked for me... Thanks! Quote Share this post Link to post Share on other sites More sharing options...