Comments
Item

Turn off disk performance monitors

Published in Windows XP Performance Tweaks by TweakXP Member with 68,468 views and 1 comment

In Windows 2000 and XP Performance Monitor disk counters for physical disks are turned on by default, disk counters for logical disks are turned off by default.

You can disable all disk monitoring by running this command

DISKPERF -N

To turn it on again run this command

DISKPERF -YD


all DISKPERF switches:
   -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.

 
Free Computer Magazines and eBooks
 
Comments
Kevin
2 years ago
THIS COMMAND DOES NOT WORK!! I tried it and I got the following:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Owner>diskperf -n

Both Logical and Physical Disk Performance counters on this system
are automatically enabled on demand.
For legacy applications using IOCTL_DISK_PERFORMANCE to retrieve raw counters,
you can use -Y or -N to forcibly enable or disable. No reboot is required.

C:\Documents and Settings\Owner>