Error connecting to cluster in Failover Cluster Manager “Invalid Namespace”

2017-12-04T15:23:23+00:00 April 2nd, 2014|Azure, Cloud, Windows|

We had an issue recently when trying to connect to a Windows 2012 R2 cluster, whenever we tried to connect to the cluster we got an “Invalid Namespace” error.

First thing we did was to check WMI as that’s what the “Invalid Namespace” error points at. So we logged onto the Hosts in the cluster and ran a Wbemtest (Referenced from http://blogs.msdn.com/b/clustering/archive/2010/11/23/10095621.aspx)

WBEMTest Steps

 

  • Launch CMD
  • Type “WBEMTest”
  • The Windows Management Instrumentation Tester will launch
  • Select Connect
  • Namespace: RootMSCluster
  • Select Connect

 

As soon as we hit Connect we got the following error code “Invalid namespace Error: 0x8004100e“, so we knew our error was WMI related.

 

Now onto the fix to resolve this we had to add the Cluster WMI back onto all nodes in the cluster.

 

Resolution

 

  • Open Command Prompt
  • Run “regsvr32 -s C:WindowsSystem32wbemClusWMI.dll
  • Run “Mofcomp C:WindowsSystem32wbemclusWMI.mof

 

After doing this we could connect to our cluster in Failover Cluster Manager and all was good J