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.

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


View products that this article applies to.

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.

↑ Back to the top


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

↑ Back to the top


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:

↑ Back to the top


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

↑ Back to the top


Keywords: KB939900, kbprb, kbexpertiseinter, kbtshoot

↑ Back to the top

Article Info
Article ID : 939900
Revision : 3
Created on : 7/31/2007
Published on : 7/31/2007
Exists online : False
Views : 283