Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Win32_DFS WMI classes return "No instance(s) Available" on cluster share


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a Windows Server 2008 R2 configured with failover clustering feature
  • You have configured Distributed File System (DFS) on failover cluster to maintain a single namespace for file shares
  • You query the DFS cluster resource using Win32_DFS* WMI-class objects
  • WMI results bring NULL instances when connected to DFS resources in the cluster as seen in the examples below:
For example:
C:\>WMIC /NODE:<nodename> /NameSpace:\\root\cimv2 path Win32_DFSTarget
"No instance(s) Available"

C:\>WMIC /NODE:<nodename> /NameSpace:\\root\cimv2 path Win32_DFSNode
"No instance(s) Available"

C:\>WMIC /NODE:<nodename> /NameSpace:\\root\cimv2 path Win32_DFSNodeTarget
"No instance(s) Available"

↑ Back to the top


Cause

The behavior is by design. The Win32_DFS classes are not designed to work for clustered DFS resources.

↑ Back to the top


Workaround

To work around this problem, you may try one of the methods mentioned below:

  1. Use Win32_Share or Win32_ClusterShare WMI classes, if applicable. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    971403 The "Win32_share" WMI class cannot enumerate file shares or create file shares on a node in a Windows Server 2008 failover cluster
  2. Use DFS Management Command Line Tool - Dfsutil.exe, to show the instance(s) successfully.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2703061
Revision : 1
Created on : 1/7/2017
Published on : 4/23/2012
Exists online : False
Views : 455