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”

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

REMOTE REGISTRY NOT STARTED

within the remote CMD screen, paste:

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

 

http://eskonr.com/2015/04/sccm-configmgr-2012-client-issue-setup-was-unable-to-compile-the-file-appsynclet_local-mof-80041002/

  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 SMSMP=SGCM01.Corp.eskonr.com (replace your command line properties)
Advertisements

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!

    Like

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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