SCCM: Uninstall the SCCM 2007 agent
An SCCM client would not communicate with the primary server. Its computer object appeared in the console, but SCCM did not recognize it as a client. I had installed the agent locally and decided to uninstall it while troubleshooting.
My next step was to try the installation again.
Uninstall the agent
- Open an elevated command prompt (cmd.exe).
- Go to
C:\Windows\System32\ccmsetup. - Run
Ccmsetup.exe /uninstall.
Monitor the uninstall log
Use trace32.exe to watch C:\Windows\System32\ccmsetup\ccmsetup.log. The final line should read “Uninstall succeeded.”
Reinstall from the SCCM server
In the SCCM console, I started the Client Push Installation Wizard and selected “Always install (repair or upgrade existing client)”.
I monitored ccm.log on the SCCM server and saw that installation was working.
The client was communicating with the primary server again and was recognized as a client in SCCM.