Controls the types of counters that can be viewed using System Monitor.
diskperf [-y[d|v]|-n[d|v] [\\computername]
Parameters
none
Reports whether disk performance counters are enabled on the local or specified computer and identifies the counters enabled: for physical drives, logical drives, or both.
-y
Sets the system to start both physical and logical disk performance counters when the system is restarted.
-yd
Enables disk performance counters used for measuring performance of physical drives when the system is restarted. This is the default setting.
-yv
Enables disk performance counters used for measuring performance of logical drives when the system is restarted.
-n
Sets the system to not use any disk performance counters when the system is restarted.
-nd
Disables disk performance counters for physical drives when the system is restarted.
-nv
Disables disk performance counters for logical drives when the system is restarted.
computername
Specifies the computer on which you want to see or set disk performance counter use. If a computer name is not specified, the local computer is assumed.