Skip navigation

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

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

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

To enable the logical disk objects enter the command

C:\&gt;<b>diskperf -yv</b><br><br>
Both Logical and Physical Disk Performance counters on this system<br>
         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 when you restart the computer.
-YV Enables the disk performance counters for logical drives or storage volumes when you restart the computer.
-N  Sets the system to disable all disk performance counters when you restart the computer.
-ND Disables the disk performance counters for physical drives.
-NV Disables the disk performance counters for logical drives.


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish