Uninstall SCCM 2007 Client From The Estate


I would like to uninstall the SCCM 2007 Client from all machines on our estate, both x86 and x64.

The ccmsetup folder is located in C:\Windows\ccmsetup on x64 machines, and for x86 machines it is located in c:\Windows\System32\ccmsetup.

Does anyone know of a way i can silently uninstall the client from the machines?  What will be my silent command line?  Can i do this via a bat file?

i have used ccmsetup.exe /uninstall, running the command from the directories stated above manually.  It does remove the Client but doesn't remove the folder or content in the ccmsetup folder.

I need to remove the client via a package and require a command line or instructions how to apply this.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Maidens 4 years ago
Third Degree Blue Belt

Removal via SCCM Package.

- Copy the SCCM client install folder to SCCM package share, if not already present.
- Access SCCM Console.
- Create SCCM package which targets contents of source folder
- Command line: ccmsetup.exe /uninstall
- Run behavior should be set to hidden.
- Complete remaining package options as desired.
- Distribute contents to DP.
- Deploy package to test device collection.
- Ensure package functions and client is removed.

Yes annoyingly the uninstall leaves junk behind. Ccmsetup folder remains, along with folders, files and registry keys below.


Either create a separate script to remove these with its own SCCM package, or alternatively create a single script single package.

The choice is yours.

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ