1. Knowledge Base Article
Page 1 of 5
Created On: November 6, 2014
Author: Eric J. Roberson
Title
How to manually reinstall SCCM2012 agent
Description of Issue
In Task Scheduler, MicrosoftConfiguration ManagerConfiguration
Manager Health Evaluation is missing, or the last run time is “Never.”
The C:WindowsCCM folder may be empty or missing.
Information in this solution applies to computers running Windows 7
which have been previously upgraded to an SCCM 2012 agent.
Description of Resolution
This solution contains several parts. Follow each section carefully. The
variable {computername} refers to the remote computer. The term local
computer refers to the computer from where the commands are performed.
PART 1: Remove the SCCM agent
Parts one and two may be performed remotely without user intervention.
Connect to the remote computer, remove the old SCCM agent on the remote
computer, then check the ccmsetup.log file to verify removal.
1. Open a command using an account with elevated privileges. When
prompted, enter the admin user ID and password.
2. Type winrs –r:{computer_name} cmd.exe, where
{computer_name} is the remote computer name.
2. Knowledge Base Article
Page 2 of 5
3. Type hostname to verify connectivity to the remote computer.
4. Type CD then press Enter.
5. Type C:WindowsCCMSetupccmsetup.exe /uninstall, then
press Enter.
NOTE: If the CCMsetup folder is missing or corrupt, copy
company.comhomecmclient to C:WindowsCCMSetup.
6. Use Windows Explorer to connect to {hostname}c$ remotely. Type
cdwindowsccmsetuplogs, then press Enter. Double click the
file ccmsetup.log. Scroll to the end of the log file to confirm removal
of the SCCM agent.
3. Knowledge Base Article
Page 3 of 5
7. Restart the remote computer. Type CDWINDOWSSYSTEM32.
Then type shutdown -r -f -t 600 /c “Save your work! Restarting
computer in 10 minutes for SCCM 2012 agent install.”
NOTE: A warning will appear on the remote user’s computer.
8. Type ping -4 {computername} –t –w 15000. Once the ping
response confirms the remote computer has restarted, continue to
Part 2: Reinstall the SCCM Agent.
PART 2: Reinstall the SCCM Agent
Reinstall the SCCM agent on the remote computer, then check the
ccmsetup.log file to verify successful installation.
1. Open a command using an account with elevated privileges (eg.
A_UserID). See Part 1: Connect to the Target Computer for more
information.
2. Type winrs –r:{computer_name} cmd.exe, where
{computer_name} is the remote computer name.
3. Type hostname to verify connectivity to the remote computer.
4. Type CD then press Enter.
4. Knowledge Base Article
Page 4 of 5
5. Type C:Windowsccmsetupccmsetup.exe SMSSITECODE=ABC
SMSCACHESIZE=16384
6. Press Enter. Wait for the command to complete, then check the
CCMSetup.log file. The install may take 15 minutes or longer.
NOTE: SMSCACHESIZE and SMSSITECODE are case sensitive
command switches.
7. Connect to {hostname}c$ remotely. Type cdwindows
ccmsetuplogs, then press Enter. Double click the file
ccmsetup.log. Scroll to the end of the log file to confirm installation.
5. Knowledge Base Article
Page 5 of 5
8. Once the installation completes, restart the remote computer. Type
CDwindowssystem32. Then, type shutdown -r -f -t 600 /c
“SAVE YOUR WORK! Restarting computer in 10 minutes to
complete SCCM 2012 agent installation.”
NOTE: A warning will appear on the remote user’s computer.
9. The installation is complete after the remote computer restarts.
Additional Information
For additional support, contact the IO_Infrastructure Systems team.
Revision History
Revision Number Date Editor Summary of revision
1.0 6-Nov-2014 Eric Roberson Published Draft
2.0 11-Jan-2016 Eric Roberson Major revision: replaced
psexec w/ winrs
2.1 23-Mar-2016 Eric Roberson Added network location for
CM agent
Tags
SCCM 2012 agent, SCCM 2012 client