There is a tool in the Win2k resource kit called Exctrlst.exe, which makes it easy to disable performance counters for installed services:
There is a PhysicalDisk object, which allows monitoring of physical disks and logical drives. Windows 2000 monitors the physical disks by default, and it can be turned off by running this command and perform a reboot:[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \Service Name \Performance]
Disable Performance Counters = 1
More Info MS KB179456
More Info MS KB248993
More Info MS KB266416
There is an I/O counter, which monitors the I/O for each process (Can be seen in the Task Manager with the columns I/O Writes, I/O Other, etc.). If this monitoring information is not important then one can disable it with this DWORD registry key:DISKPERF -N
To turn it on again run this command:
DISKPERF -YD
Note Windows XP only activates monitoring of the physical disks and logical drives on demand.
More Info MS KB253251
More Info MS KB296187
Credits ntcompatible.com[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Control \Session Manager \I/O System]
CountOperations = 0 (Default = Key does not exist)
!!! be aware that even if this tweak turns out fine. Setup of programs like Visual studio 6 will fail to install due to performance measurement during setup.
Programs will exit showing the exception:
Reenable the performance counters with the tool and reboot, relax and reload.. and everything will work fine again. More Info MS KB Q192731
brgds Per Fisker
Thanks for the heads up, I don't think I will update the tweak with this precaution, as the error is actually caused by a bug in the Visual Studio 6.0 installer.