This article covers multiple solutions to fix CcmSetup failed with error code 0x80041010 in SCCM. The ccmsetup.log file on the client computer contains a record of the error 0x80041010.
During the Configuration Manager client agent installation, you may encounter several errors. You can identify the cause of your client agent’s installation failure by reviewing the error code found in the SCCM log file.
Examining the ccmsetup.log file revealed the error code 0x80041010 when attempting to install the ConfigMgr client on a remote Windows computer. It should be noted that the error 0x80041010 only occurs on a few computers; it is not a widespread problem.
The SCCM client error code 0x80041010 appears when you attempt to install the agent using the client push method or even manual client installation. We will look at the steps to troubleshoot this issue and find an appropriate solution.
Check out some useful guides related to some common client agent errors:
- SCCM Client Agent Install Error 0x80200010
- Fix SCCM Client Agent Installation Error code 80041002
- Fix ConfigMgr Client Install Error 0000052e
- CcmSetup failed with error code 0x80080005
- SCCM Client Installation Error 00000005
- Fix CcmSetup failed with Error Code 0x80200014 in SCCM
During the SCCM client agent installation on a Windows device, the CcmSetup failed with error code 0x80041010 appears. The error code 0x80041010 in SCCM translates to an unknown error and there are multiple solutions associated with this error.
First, let’s take a look at the error CcmSetup failed with error code 0x80041010. This error is logged in the ccmsetup.log file on the client computer.
Along with the other errors, there is another error which is OS is not Win10RS3+, ENDOK. While installing the SCCM client, there are few parameters that are checked and one among them is supported Windows OS. Definitely, in my case this seemed to be inapplicable because the client machine was running Windows 10 21H2.
No MP or source location has been explicitly specified. Trying to discover a valid content location… ccmsetup Looking for MPs from AD Unexpected row count (0) retrieved from AD GetADInstallParams failed with 0x80004005 Couldn't find an MP source through AD. Error 0x80004005 No valid source or MP locations ccmsetup Sending state '322'… ccmsetup Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147500037 OS is not Win10RS3+, ENDOK. ccmsetup Failed to get client version for sending state messages. Error 0x8004100e ccmsetup [] Params to send '5.0.9078.1005 Deployment "C:WINDOWSccmsetupccmsetup.exe" /runservice "/RetryWinTask:1" "/source:" CCMHOSTNAME="ZADC1PCMPRI01.ZUTARI.COM" CLIENT="Client" INSTALLCCMSETUP.EXE="Installccmsetup.exe" SCCM="SCCM" SMSCACHESIZE="15360" SMSSITECODE="ZUT"' ccmsetup Unable to load profiler: 0x80070002 ccmsetup A Fallback Status Point has not been specified and no client was installed. Message with STATEID='322' will not be sent. Failed to send status 322. Error (87D00215) Failed to connect to policy namespace. Failed to revoke client upgrade local policy. Error 0x8004100e ccmsetup Sending state '301'… ccmsetup Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147500037 ccmsetup OS is not Win10RS3+, ENDOK. CcmSetup failed with error code 0x80004005 ccmsetup
If you encounter a similar error code during client install, you can translate SCCM error codes to error messages using error lookup tools. ConfigMgr provides these tools for free, and you can find more details about the error when you decode it.
Now I will be listing few solutions to fix CcmSetup failed with error code 0x80041010. If something else worked for you, please let me know in the comments section below.
Solution 1: Repair WMI
The first thing you should try when SCCM agent installation fails with the error code 0x80041010 is to repair WMI on the client. If the WMI is broken or corrupt, the client agent installation fails, and you see error code 0x80041010 in ccmsetup.log.
The below script can be used to fix WMI issues and repair WMI on the Windows computer. Copy the VB script and paste it in a text file. Save this file as RepairWMI.bat.
Net Stop winmgmt C: CD %SystemRoot%System32wbem RD /S /Q repository regsvr32 /s %SystemRoot%system32scecli.dll regsvr32 /s %SystemRoot%system32userenv.dll for /f %%s in (‘dir /b /s *.dll’) do regsvr32 /s %%s scrcons.exe /regserver unsecapp.exe /regserver winmgmt.exe /regserver wmiadap.exe /regserver wmiapsrv.exe /regserver wmiprvse.exe /regserver mofcomp cimwin32.mof mofcomp cimwin32.mfl mofcomp rsop.mof mofcomp rsop.mfl for /f %%s in (‘dir /b *.mof’) do mofcomp %%s for /f %%s in (‘dir /b *.mfl’) do mofcomp %%s
To run this script, launch the command prompt as administrator and run the below batch file. Type ‘Y‘ to continue stopping the required services and proceed with script execution.
The following services are dependent on the Windows Management Instrumentation service. Stopping the Windows Management Instrumentation service will also stop these services.The following services are dependent on the Windows Management Instrumentation service. Stopping the Windows Management Instrumentation service will also stop these services. IP Helper SMS Agent Host Do you want to continue this operation? (Y/N) [N]: Y The IP Helper service is stopping. The IP Helper service was stopped successfully. The SMS Agent Host service is stopping.. The SMS Agent Host service was stopped successfully. The Windows Management Instrumentation service is stopping. The Windows Management Instrumentation service was stopped successfully.
After the above script runs, it repairs the WMI on the client computer. Restart the computer once and now install the SCCM client agent and that should resolve the error code 0x80041010.
Solution 2: DNS Issues
At times, when you have DNS issues on the client computer, the client agent installation may fail with error code 0x80041010. From the ccmsetup.log, we see two errors: No MP or source location has been explicitly specified and No valid source or MP locations.
This may not mean that Management Point server is down. You have to run the nslookup command on the client computer and check if that resolves SCCM Management Point Server correctly. Furthermore, run the gpupdate command on the client computer and check if the computer policy and user policy updates successfully or not.
Prajwal Desai is a Microsoft MVP in Enterprise Mobility. He writes articles on SCCM, Intune, Configuration Manager, Microsoft Intune, Azure, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
- Remove From My Forums
-
Question
-
Hi,
I am getting the following error when attempting to install the client on a machine (Windows 10 1809, 1902 SCCM):
File C:WINDOWSccmsetup{5263BAD3-800F-4BD7-A9ED-FCA2063B6CC8}client.msi installation succeeded. ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)
No client language or update changes are detected per current client.msi. ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)
C:WINDOWSCCMclientstate.dat exists after client.msi run. ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)
Could not retrieve value for MDM_ConfigSetting . Error 0x80041010 ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)
Updating MDM_ConfigSetting.ClientHealthStatus with value 1 ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)
Failed to get MDM_ConfigSetting instance, 0x80041010 ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)
Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 0 ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)
Failed to get MDM_ConfigSetting instance, 0x80041010 ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)
[5.00.8790.1007] Params to send ‘5.0.8790.1008 Deployment [DP] http://SysCen.local/SMS_DP_SMSPKG$/CAL00004’ ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)<ClientDeploymentMessage ErrorCode=»0″><Client
Baseline=»1″ BaselineCookie=»2019-06-25T11:06:11.400″ Platform=»2″ Langs=»LP1040″/><Packages><Package ID=»{0395D1D3-D677-40FF-B962-C44736530EAB}»/></Packages><Additional><SourceType
Value=»DP»/><DeploymentMethod Value=»8″/></Additional></ClientDeploymentMessage> ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)
Raised pending client deployment state message. ccmsetup 02/07/2019 11:21:47 3808 (0x0EE0)
Successfully deleted the ccmsetup service ccmsetup 02/07/2019 11:21:52 3808 (0x0EE0)
Deleted file C:WINDOWSccmsetupccmsetup.xml ccmsetup 02/07/2019 11:21:52 9800 (0x2648)
Task ‘Configuration Manager Client Upgrade Task’ does not exist ccmsetup 02/07/2019 11:21:52 9800 (0x2648)
Could not retrieve value for MDM_ConfigSetting . Error 0x80041010 ccmsetup 02/07/2019 11:21:52 9800 (0x2648)
CcmSetup is exiting with return code 0 ccmsetup 02/07/2019 11:21:52 9800 (0x2648)The client looks installed (I can find CM in the machine control panel and Software Center in the menu, although I see no tray icon; in the MP Console I see the green tick and the device is marked as active) but it seems broken somehow (can’t get a os upgrade
task sequence to show up in any way although the device is in the collection and I am starting to think that this might be related).I already tried to uninstall and install sccm and also checked WMI which seems fine. Any suggestion?
Thanks in advance for any help you can provide.
- Remove From My Forums
-
Question
-
Getting this Error when i starts SQL sevrer Configuration Manager on SQL server 2008 R2..mof file located in right folder but it didnt nowrk.
Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager. Invalid class [0x80041010]
If any one has solution get back to me here ASAP
Thanks
Answers
-
Has an instance been unistalled? (Not nessesarily the one you are connecting too)? If so, the workaround is to type the following at the command prompt
mofcomp «%programfiles(x86)%MicrosoftMicrosoft SQL Server100Sharedsqlmgmproviderxpsp2up.mof»
Peter Carter-Greenan http://sqlserverdownanddirty.blogspot.com/
-
Proposed as answer by
Friday, April 1, 2011 7:00 PM
-
Marked as answer by
Alex Feng (SQL)
Tuesday, April 12, 2011 5:22 AM
-
Proposed as answer by
-
Type .exe in below command and worked for me
mofcomp.exe «C:Program FilesMicrosoft SQL Server90Sharedsqlmgmproviderxpsp2up.mof»
Please Mark As Answer if it is helpful. \Aim To Inspire Rather to Teach A.Shah
-
Marked as answer by
-kit
Monday, June 16, 2014 9:06 PM
-
Marked as answer by