Article ID: 939900 - Last Review: July 31, 2007 - Revision: 1.2

You cannot see the results for the DFS Replication performance counters in a WMI-based monitoring program on a Windows Server 2003 R2-based computer

On This Page

Expand all | Collapse all

SYMPTOMS

On a Windows Server 2003 R2-based computer, the Distributed File System (DFS) Replication service is installed. When you start a Windows Management Instrumentation (WMI)-based monitoring program, you cannot see the results for the DFS Replication performance counters.

CAUSE

This problem occurs because WMI uses the AutoDiscovery/AutoPurge (ADAP) process to build an internal performance counter table. If the DFS Replication service is not started when the WMI ADAP process starts, the performance counters are not transferred to WMI. Additionally, the following WMI classes are unavailable in the root\cimv2 WMI namespace:
  • Win32_PerfFormattedData_Dfsr_DFSReplicatedFolders
  • Win32_PerfFormattedData_Dfsr_DFSReplicationConnections
  • Win32_PerfFormattedData_Dfsr_DFSReplicationServiceVolumes
  • Win32_PerfRawData_Dfsr_DFSReplicatedFolders
  • Win32_PerfRawData_Dfsr_DFSReplicationConnections
  • Win32_PerfRawData_Dfsr_DFSReplicationServiceVolumes

WORKAROUND

To work around this problem, use the wmiadap.exe /f command to parse all the performance libraries on the system and to update the WMI classes of the performance counters. To do this, follow these steps:
  1. Click Start, click Run, type cmd, and then click OK.
  2. At the command prompt, type wmiadap.exe /f, and then press ENTER.
  3. Type exit, and then press ENTER to close the Command Prompt window.
For more information about the WMIADAP utility, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa394528.aspx (http://msdn2.microsoft.com/en-us/library/aa394528.aspx)

MORE INFORMATION

Steps to reproduce the problem

You can use the Windows Management Instrumentation command-line (WMIC) tool to check whether the DFS Replication performance counter classes are available. To use the WMIC tool, type the following command in a Command Prompt window:
Wmic path win32_perfformatteddata_dfsr_dfsreplicationservicevolumes get /format:textvaluelist
If the classes are unavailable, you receive the following error message:
ERROR:
Code = 0x80041002
Description = Not found
Facility = WMI
If the classes are available, WMIC utility returns the following message:
No Instance(s) Available
Or, the WMIC utility will return the properties for that class.

You can also use the Wbemtest tool to check whether the DFS Replication performance counter classes are available. To do this, follow these steps:
  1. Click Start, click Run, type Wbemtest, and then click OK.
  2. In Windows Management Instrumentation Tester window, click Connect.
  3. In the Namespace field, type root\cimv2, and then click Connect.
  4. Click Enum Classes.
  5. In the Enter superclass name field, type Win32_Perf , click Recursive, and then click OK.
  6. If the DFS Replication performance counter classes are available, you will see the following results in Query Results:
    • Win32_PerfFormattedData_Dfsr_DFSReplicatedFolders
    • Win32_PerfFormattedData_Dfsr_DFSReplicationConnections
    • Win32_PerfFormattedData_Dfsr_DFSReplicationServiceVolumes
    • Win32_PerfRawData_Dfsr_DFSReplicatedFolders
    • Win32_PerfRawData_Dfsr_DFSReplicationConnections
    • Win32_PerfRawData_Dfsr_DFSReplicationServiceVolumes

APPLIES TO
  • Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Datacenter Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Standard x64 Edition
  • Microsoft Windows Server 2003 R2 Enterprise x64 Edition
  • Microsoft Windows Server 2003 R2 Datacenter x64 Edition
Keywords: 
kbtshoot kbexpertiseinter kbprb KB939900
 

Article Translations

 

Related Support Centers