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.

Error message

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.


2147749902 (0x8004100E)

Namespace specified cannot be found.


Troubleshooting Steps

Validate WMI Namespace List

Does the MicrosoftIdentityIntegrationServer Namespace appear in the WMI Namespace list

In Administrative Tools, open Server Manager ( Windows Server 2008, 2008 R2, 2012 )



In Server Manager, expand Configuration and select WMI Control


Right click on WMI Control, and select Properties

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.)




Manually register the WMI Provider with the following steps:

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 stop winmgmt (ENTER KEY)

net start winmgmt (ENTER KEY)


See Also