Rebuild a failed SCCM client

Track the file \\%HOSTNAME%\C$\Windows\CCMSETUP\Logs\CCMSETUP.LOG

psexec -s %hostname% CMD

cd \windows\ccmsetup

setup /uninstall

TRACK USING: tasklist |find /i “setup”


TRACK USING: tasklist |find /i “setup”

Once gone, TRACK USING: tasklist |find /i “CCMEXEC”

also see \\%HOSTNAME%\C$\WIndows\CCM\Logs\CCMREPAIR.LOG

Watch the cache grow in \\%HOSTNAME%\C$\WIndows\CCMCache


within the remote CMD screen, paste:

sc config “remoteregistry” start= auto & sc start remoteregistry

  1. ccmsetup.exe /uninstall
  2. repair wmi using script available here
  3. RD /s /q “C:\Windows\ccmsetup”
  4. RD /s /q “C:\Windows\CCM”
  5. RD /s /q “C:\Windows\system32\CCM”
  6. DEL /q “C:\windows\smscfg.ini
  7. REG DELETE HKLM\software\Microsoft\ccm /f
  8. REG DELETE HKLM\software\Microsoft\CCMSETUP /f
  9. REG DELETE HKLM\software\Microsoft\SMS\
  10. REG DELETE HKLM\software\Microsoft\Systemcertificates\SMS\Certificates /f
  11. ccmsetup.exe SMSSITECODE=PS1 (replace your command line properties)

One thought on “Rebuild a failed SCCM client

  1. I like the helpful information you provide in yourr articles.
    Ӏ’ll bookmark ʏour blog ɑnd check aɡain here regularly.
    I’m quite suгe I wikll lern ɑ ⅼot oof new stuff right here!
    Gooɗ luck for the neⲭt!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s