Overview

An error of "Failed connecting to the WMI Namespace" is thrown when utilizing the WMI Provider MicrosoftIdentityIntegrationServer to automate processes such as (1) The execution of run profiles, (2) clearing the Run History.


Here is an example of the error message:


    "C:\Script\SCB_Delta Import.vbs(12, 1) (null): 0x8004100E"

MSDN indicates that the 0x8004100E is http://msdn.microsoft.com/en-us/library/aa394559(v=vs.85).aspx explains this code to be WBEM_E_INVALID_NAMESPACE.

WBEM_E_INVALID_NAMESPACE

2147749902 (0x8004100E)

Namespace specified cannot be found.

Troubleshooting List

  1. Does the MicrosoftIdentityIntegrationServer Namespace appear in the WMI Namespace list
    1. In Administrative Tools, open Server Manager ( Windows Server 2008, 2008 R2, 2012 )

        
    2. In Server Manager, expand Configuration and select WMI Control

        
    3. Right click on WMI Control, and select Properties
    4. In the Properties Window, select the Security Tab and expand the root branch

      (NOTE: The picture displays the MicrosoftIdentityIntegrationServer Namespace. If the namespace is not there, then you will need to execute the resolution steps.)

        

Resolution

Manually register the WMI Provider with the following steps:

  1. In an Administrative Command-Prompt, type each line and press the ENTER key after each line

    regsvr32 /s <FIM Synchronization Service Installation Path>\bin\mmswmi.dll (ENTER KEY)

    mofcomp <FIM Synchronization Service Installation Path>\bin\mmswmi.mof (ENTER KEY)

    net stopwinmgmt (ENTER KEY)

    net startwinmgmt (ENTER KEY)

Additional Information / See Also

FIM Landing Page: Resource and Troubleshooter Wiki Index

Run Profiles Resource Wiki