Using CCMRepair.exe, you can repair SCCM client agent via command line using below steps.
- Login to your computer. Run the Command Prompt as Administrator.
- Change the path to C:\Windows\CCM.
- To begin the SCCM client agent repair, run the command ccmrepair.exe.
- It takes a few minutes to repair the ConfigMgr client agent. When I say repair, it basically means the client agent is reinstalled. If you see “Done” as the status, it means the client agent repair is successfully completed.
- You can monitor the SCCM client agent repair process by reviewing the ccmsetup.log. The ccmsetup.log file is located in the C:\Windows\ccmsetup\Logs folder on the client computer. In addition, for other client logs, take a look at the SCCM log files.