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:
- Click Start, click Run,
type Wbemtest, and then click OK.
- In Windows Management Instrumentation Tester
window,
click Connect.
- In the Namespace field, type
root\cimv2, and then click Connect.
- Click Enum Classes.
- In the Enter superclass name field, type
Win32_Perf , click Recursive, and then
click OK.
- 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