Networknet archive Blog

SCCM: Uninstall the SCCM 2007 agent

Originally published

By Ivan Versluis

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

  1. Open an elevated command prompt (cmd.exe).
  2. Go to C:\Windows\System32\ccmsetup.
  3. Run Ccmsetup.exe /uninstall.

image

Monitor the uninstall log

Use trace32.exe to watch C:\Windows\System32\ccmsetup\ccmsetup.log. The final line should read “Uninstall succeeded.”

image

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)”.

image

I monitored ccm.log on the SCCM server and saw that installation was working.

image

The client was communicating with the primary server again and was recognized as a client in SCCM.

References