SCCM client installation failure
Question
Hi all,
While installing CCM client manually in server 2012R2 I am getting this error.ccmsetup failed with error code 0x80041013.please provide any troubleshooting clue?
Thanks
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Hi all,
While installing CCM client manually in server 2012R2 I am getting this error.ccmsetup failed with error code 0x80041013.please provide any troubleshooting clue?
Thanks
Answers ( 7 )
Server Class it is.
Save it as BAT. Open CMD as Administrator and Navigate to the path where you saved it. Execute it and monitor what’s going on in the CMD Window. After few minutes when it’s done, trigger install.
@echo off
sc config winmgmt start= disabled
net stop winmgmt /y
%systemdrive%
cd %windir%\system32\wbem
for /f %%s in (‘dir /b *.dll’) do regsvr32 /s %%s
wmiprvse /regserver
winmgmt /regserver
sc config winmgmt start= auto
net start winmgmt
for /f %%s in (‘dir /s /b *.mof *.mfl’) do mofcomp %%s
net start ccmexec
Thanks for your reply.But after running batch also same error.
Machine is server 2012R2 machine.
It seems you need to check the WMI health and event logs to get more details now.
Probably you might need to rebuild WMI repository if it’s corrupted …
But be careful ….have appropriate change requests before doing this same. This could impact other apps as well
Tried rebuilding WMI also.Still same error.
On scanning found component store got corrupted.
Did OS repair and
CCM client got installed.
Thanks for the replies.
Hi, I suggest before initiating manual installation please try to uninstall the client properly and check all the CCM related folders should be cleaned from the C:\Windows location. Also go to registry HKLM\SOFTWARE\Microsoft and HKLM\SOFTWARE\WOW6432Node\Microsoft path and remove all CCM, CCMSetup and SMS folder. Once everything removed do a reboot. Post reboot try to start installation again. If failed again share the ccmsetup.log.
For this stop the WMI service and rename the repository on below path. C:\windows\system 32\webm\repository. Restart the WMI service. Now try to install sccm client.
Hello Sujith – I will be careful before doing any changes on the WMI repository …
I shall check the health of WMI first .. I think this is shared by Deepak on Saturday, isn’t it? Do the links from his ppt might help? https://howtomanagedevices.com/sccm/2023/sccm-client-troubleshooting-confi/
The code is something related to WMI as you see below :
Provider load failure – Source: Windows Management (WMI)