SCCM client - On AD

karthik palani 1,036 Reputation points
2023-01-09T07:37:19.013+00:00

Hi All,

I am facing SCCM client installation issue on domain controller, it looks like in all DC i am getting the below error which is weird, other machines are fine to install the client

Tried reinstallation, used CCMcleanup, restarted the server, verified the communication issue. But no joy. Please suggest

Logs:

<![LOG[Item 'i386/MicrosoftPolicyPlatformSetup.msi' is not applicable.]LOG]!><time="10:43:24.740-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="manifest.cpp:420">
<![LOG[CcmGetOSVersion failed with 0x80004005]LOG]!><time="10:43:25.146-180" date="01-08-2023" component="ccmsetup" context="" type="2" thread="8668" file="util.cpp:1549">
<![LOG[Cannot find method GetDeviceRegistrationInfo. Error 0x8007007f]LOG]!><time="10:43:25.162-180" date="01-08-2023" component="ccmsetup" context="" type="3" thread="8668" file="mdmreglib.cpp:437">
<![LOG[Set device to not externally managed]LOG]!><time="10:43:25.162-180" date="01-08-2023" component="ccmsetup" context="" type="0" thread="8668" file="mdmreglib.cpp:406">
<![LOG[Deleting Comanagement reg keys...]LOG]!><time="10:43:25.162-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="ccmcomgmt.cpp:626">
<![LOG[Failed to connect to policy namespace. Error 0x8004100e]LOG]!><time="10:43:25.334-180" date="01-08-2023" component="ccmsetup" context="" type="3" thread="8668" file="localpolicy.cpp:391">
<![LOG[Failed to revoke client upgrade local policy. Error 0x8004100e]LOG]!><time="10:43:25.334-180" date="01-08-2023" component="ccmsetup" context="" type="3" thread="8668" file="localpolicy.cpp:418">
<![LOG[Sending state '301'...]LOG]!><time="10:43:25.334-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="state.cpp:72">
<![LOG[Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147500037]LOG]!><time="10:43:25.334-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="ccmcomgmt.cpp:976">
<![LOG[OS is not Win10RS3+, ENDOK.]LOG]!><time="10:43:25.334-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="ccmcomgmt.cpp:981">
<![LOG[Failed to get client version for sending state messages. Error 0x80041010]LOG]!><time="10:43:25.365-180" date="01-08-2023" component="ccmsetup" context="" type="2" thread="8668" file="state.cpp:169">
<![LOG[[] Params to send '5.0.9078.1005 Deployment Error: 0x80004005, ']LOG]!><time="10:43:25.365-180" date="01-08-2023" component="ccmsetup" context="" type="0" thread="8668" file="state.cpp:214">
<![LOG[Sending Fallback Status Point message to 'XXXXXX.XXXXXX.XXXXXX', STATEID='301'.]LOG]!><time="10:43:25.365-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="state.cpp:296">
<![LOG[<ClientDeploymentMessage ErrorCode="-2147467259"><Client Baseline="1" BaselineCookie="" Platform="2" Langs=""/></ClientDeploymentMessage>]LOG]!><time="10:43:25.365-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="statedetails.cpp:157">
<![LOG[State message with TopicType 800 and TopicId {66F63F28-E29C-4E82-A733-07B37A40EE08} has been sent to the FSP]LOG]!><time="10:43:25.401-180" date="01-08-2023" component="FSPStateMessage" context="" type="1" thread="8668" file="fsputillib.cpp:783">
<![LOG[Deleted file C:\Windows\ccmsetup\ccmsetup.exe.download]LOG]!><time="10:43:25.401-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="ccmsetup.cpp:10688">
<![LOG[Deleted file C:\Windows\ccmsetup\ccmsetup.xml]LOG]!><time="10:43:25.412-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="ccmsetup.cpp:10688">
<![LOG['Configuration Manager Client Retry Task' is scheduled to run at 01/08/2023 03:43:25 PM (local) 01/08/2023 12:43:25 PM (UTC) time with arguments ' /mp:XXXXXX /logon SMSSITECODE=XXX FSP=XXXXXX /RetryWinTask:1'.]LOG]!><time="10:43:25.412-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="wintask.cpp:376">
<![LOG[Folder 'Microsoft\Microsoft\Configuration Manager' not found. Task does not exist.]LOG]!><time="10:43:25.412-180" date="01-08-2023" component="ccmsetup" context="" type="0" thread="8668" file="wintask.cpp:551">
<![LOG[Task 'Configuration Manager Client Retry Task' not found in the scheduler task cache.]LOG]!><time="10:43:25.412-180" date="01-08-2023" component="ccmsetup" context="" type="0" thread="8668" file="taskschdutils.cpp:55">
<![LOG[Successfully created task 'Configuration Manager Client Retry Task']LOG]!><time="10:43:25.537-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="wintask.cpp:406">
<![LOG[CcmSetup failed with error code 0x80004005]LOG]!><time="10:43:25.537-180" date="01-08-2023" component="ccmsetup" context="" type="1" thread="8668" file="ccmsetup.cpp:11823">

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
975 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. CherryZhang-MSFT 6,491 Reputation points
    2023-01-10T06:08:29.737+00:00

    Hi @karthik palani ,

    1, What install method are you using?

    2, I have down some research based on the logs your provided. For error” Failed to get client version for sending state messages. Error 0x80041010”. I found two ways to fix the issue. The following methods for your reference:

    Method 1: Open a command prompt in Administrator mode and change to folder c:\windows\system32\wbem. Run the following command:

    >> dir /b *.mof *.mfl | findstr /v /i uninstall > moflist.txt & for /F %s in (moflist.txt) do mofcomp %s

    Method 2: Save and run the following script in a command prompt:

    >> Net Stop winmgmt >> C: >> CD%SystemRoot%\System32\wbem >> RD /S /Q repository >> regsvr32 /s %SystemRoot%\system32\scecli.dll >> regsvr32 /s %SystemRoot%\system32\userenv.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

    A system restart is recommended.

    The related links for your reference: Fix CcmSetup failed with error code 0x80041010 in SCCM (prajwaldesai.com) CcmSetup failed with error code 0x80041010 - Jacques in IT Note: Microsoft provides third-party contact information to help you understand the problem. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

    3, If the above methods cannot resolve the problem, please upload a full ccmsetup.log for our reference.

    Looking forward to your reply.

    Best regards, Cherry


    If the response is helpful, please click "Accept Answer" and upvote it. Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. karthik palani 1,036 Reputation points
    2023-01-10T10:21:13.89+00:00

    Thanks alot Cherry, i will give a try and update you soon


  3. karthik palani 1,036 Reputation points
    2023-01-12T10:50:31.1666667+00:00

    HI,

    I tried running both WMI script but still i get the attached error. Any other WMI fixture i can try. Please suggest

    ccmsetup.log


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.