Thursday, September 30, 2010

CWmi::Connect(): ConnectServer(Namespace) failed. - 0x80041001 error

When you try to manually push SCCM client installation, in ccm.log on SCCM Server, you get the following error:

  • CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e SMS_CLIENT_CONFIG_MANAGER 9/30/2010 12:19:17 PM 4496 (0x1190)
  • Unable to connect to WMI (r) on remote machine "computer name", error = 0x8004100e. SMS_CLIENT_CONFIG_MANAGER 9/30/2010 12:19:17 PM 4496 (0x1190)

To resolve this issues you must delete or rename the machines WMI Repository and allow it to recreate itself.

Follow the steps below to accomplish this on local machine:

1. Stop the "Windows Management Instrumentation" service.

2. Rename the %WinDir%\System32\Wbem\Repository folder to ”Oldrepository”.

3. Restart the “Windows Management Instrumentation service”.

4. Verify that the %WinDir%\System32\Wbem\Repository folder has been recreated.

5. Push again SCCM client software.

9 comments:

  1. is this on the server or the client computer we do this?

    ReplyDelete
  2. Hi, the procedure should be done on client computer.
    I will update my post.
    Thanks.

    ReplyDelete
  3. This did the trick for me, thanks!!

    ReplyDelete
  4. Hello is there a way to make it automatic ?
    We have too many clients and do it on every single machine is not applicable for us.
    Do you know how can I achieve this through the Group Policy ?

    ReplyDelete
  5. Francesco, you can use GPO and apply startup script.

    ReplyDelete
  6. Hi i m still stuck with old repository folder even after restarting d WMI service , let me know d further steps.

    Thanks in Advance

    Regards

    Siva

    ReplyDelete
    Replies
    1. same error im getting after renaming the folder .any other reason for this error .please help me

      ram

      Delete
  7. Does not work for me, same error.

    ReplyDelete
  8. Hi I'm new to the hole GPO and have learn some things during my internship, and I was wondering how do I in instructions to use the GPO and apply startup script to send out to the clients

    ReplyDelete