locked
Best Practices to Uninstall SCCM 2012 Server and Client Agents? RRS feed

  • Question

  • Hello,

    I've to uninstall an existing SCCM 2012 installation with all of installed client agents. In SCOM, I'm able to uninstall all agents from console and removed roles one by one. But where as in SCCM, there is no option to remotely uninstall client agents.

    Can anyone let me know the best practice to uninstall SCCM 2012 server roles and client agents? Any further help/suggestions would be greatly appreciated. Thank you!

    Monday, December 17, 2012 9:13 PM

Answers

  • Hi,

    For the clients, use a script that executes "C:\windows\CCMsetup\ccmsetup.exe /uninstall" either a GPO startup skript or something like that, you could do it with SCCM as well but as you want to uninstall it I would use Another method.

    For the Site server, remove as many roles as you can in the ConfigMgr console, after that launch setup from the start menu under System Center 2012\Configuration Manager\Configuration Manager Setup. there you can uninstall the whole site.

    After that I would cleanup the AD as well by deleting the System Management Container under the System Container.

    Regards,
    Jörgen 


    -- My System Center blog ccmexec.com -- Twitter @ccmexec

    Monday, December 17, 2012 9:24 PM

All replies

  • Hi,

    For the clients, use a script that executes "C:\windows\CCMsetup\ccmsetup.exe /uninstall" either a GPO startup skript or something like that, you could do it with SCCM as well but as you want to uninstall it I would use Another method.

    For the Site server, remove as many roles as you can in the ConfigMgr console, after that launch setup from the start menu under System Center 2012\Configuration Manager\Configuration Manager Setup. there you can uninstall the whole site.

    After that I would cleanup the AD as well by deleting the System Management Container under the System Container.

    Regards,
    Jörgen 


    -- My System Center blog ccmexec.com -- Twitter @ccmexec

    Monday, December 17, 2012 9:24 PM
  • You can simple advertise a package/program with the command line to do the client uninstall.  Something like 'ccmsetup.exe /uninstall' with a directory of "%windir%\ccmsetup\"

     

    For more information, see this TechNet article:

    http://technet.microsoft.com/en-us/library/gg712288.aspx#BKMK_UninstalClient

     

    I hope that helps!

     

    Nash


    Nash Pherson, Senior Systems Consultant - http://www.nowmicro.com - http://myitforum.com/myitforumwp/author/npherson <-- If this post was helpful, please click "Vote as Helpful".

    Monday, December 17, 2012 9:27 PM
  • You can simple advertise a package/program with the command line to do the client uninstall.  Something like 'ccmsetup.exe /uninstall' with a directory of "%windir%\ccmsetup\"

     

    For more information, see this TechNet article:

    http://technet.microsoft.com/en-us/library/gg712288.aspx#BKMK_UninstalClient

     

    I hope that helps!

     

    Nash


    Nash Pherson, Senior Systems Consultant - http://www.nowmicro.com - http://myitforum.com/myitforumwp/author/npherson <-- If this post was helpful, please click "Vote as Helpful".

    Monday, December 17, 2012 9:27 PM
  • Hi,

    For the clients, use a script that executes "C:\windows\CCMsetup\ccmsetup.exe /uninstall" either a GPO startup skript or something like that, you could do it with SCCM as well but as you want to uninstall it I would use Another method.

    For the Site server, remove as many roles as you can in the ConfigMgr console, after that launch setup from the start menu under System Center 2012\Configuration Manager\Configuration Manager Setup. there you can uninstall the whole site.

    After that I would cleanup the AD as well by deleting the System Management Container under the System Container.

    Regards,
    Jörgen 


    -- My System Center blog ccmexec.com -- Twitter @ccmexec

    Thanks for your prompt response.

    Since most of the workstations are running on Windows XP, I can't execute a PowerShell script with the above command. So it seems to be GPO is the best option to execute the uninstall command.

    I've to deploy SCCM 2012 again in our infrastructure with new deployment plan. I'm trying to do:

    1. Uninstall all client agents
    2. Uninstall all server roles and SCCM sites
    3. Cleanup Active Directory

    If I leave the existing client agents as it is, are they going to detect new SCCM Site servers (considering new deployment)?

    Thanks again!

    Tuesday, December 18, 2012 1:19 AM
  • Not sure if this is still relevant but in my rollout, I only removed the server roles and built a new SCCM 2012 SP1 infrastructure.

    To remediate the clients, I created a new GPO for Client Assignment, imported the Configuration Manager Reassignment Template and set the new site code. Once my systems were assigned to my new site I used the Automatic Client upgrade over a 30 day period to upgrade my clients to the latest version. This enabled me to get back up and running a lot sooner.

    Wednesday, April 17, 2013 1:27 PM
  • can you please give me more information.I need to uninstall sccm2012 clients from all computers joind to domain
    Thursday, July 9, 2015 8:58 AM
  • can you please give me more information.I need to uninstall sccm2012 clients from all computers joind to domain

    You can also use Right Click tools. There is an option Client Tools >> Uninstall SCCM Client for devices or collections... I believe it's also in SCCM Client Center. Startup script from GPO or SCCM package with script(c:\windows\ccmsetup\ccmsetup.exe /uninstall) should work also. Enough options....

    • Edited by D. Aartman Friday, October 16, 2015 10:29 AM
    Friday, October 16, 2015 10:27 AM