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.


Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.