How do I enable disk counters in Performance Monitor in Windows 2000?

John Savill

March 9, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. In Windows NT 4.0 all disk counters are disabled by default but itis slightly different in Windows 2000.

In Windows 2000 the physical disk object is turned on by default whichthe logical disk object is turned off by default.

To enable the logical disk objects enter the command

C:>diskperf -yv

Both Logical and Physical Disk Performance counters on this system
         are now set to start at boot.

To disable all disk counters use the

C:> diskperf -n

command. The full options are:

DISKPERF [-Y[D|V] | -N[D|V]] [\computername]

-Y  Sets the system to start all disk performance counters when you restart the computer.
-YD Enables the disk performance counters for physical drives whenyou restart the computer.
-YV Enables the disk performance counters for logical drives or storage volumes when you restart thecomputer.
-N  Sets the system to disable all disk performance counterswhen you restart the computer.
-ND Disables the disk performance counters for physical drives.
-NV Disables the disk performance counters for logical drives.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like