try these steps (not mine but seems to solve the issue for someone with the same problem)
- ccmsetup.exe /uninstall
- repair wmi using script below
@echo off
REM WMI Repair
Title WMI Repair script running on the client machines
%windir%\system32\wbem\winmgmt /clearadap
%windir%\system32\wbem\winmgmt /kill
%windir%\system32\wbem\winmgmt /unregserver
%windir%\system32\wbem\winmgmt /regserver
%windir%\system32\wbem\winmgmt /resyncperf
net stop winmgmt /y
REM if exist %windir%\system32\wbem\repository.old rmdir /s /q %windir%\system32\wbem\repository.old
REM ren %windir%\system32\wbem\repository repository.old
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
for /f %%s in ('dir /b /s %windir%\system32\wbem\*.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b /s %windir%\system32\wbem\*.mof') do mofcomp %%s
for /f %%s in ('dir /b %windir%\system32\wbem\*.mfl') do mofcomp %%s
net start winmgmt
%windir%\system32\wbem\wmiprvse /regserver
- RD /s /q "C:\Windows\ccmsetup"
- RD /s /q "C:\Windows\CCM"
- RD /s /q "C:\Windows\system32\CCM"
- DEL /q "C:\windows\smscfg.ini
- REG DELETE HKLM\software\Microsoft\ccm /f
- REG DELETE HKLM\software\Microsoft\CCMSETUP /f
- REG DELETE HKLM\software\Microsoft\SMS\
- REG DELETE HKLM\software\Microsoft\Systemcertificates\SMS\Certificates /f
- ccmsetup.exe SMSSITECODE=PS1 SMSMP=SGCM01.Corp.eskonr.com (replace your command line properties)