Consider the following scenario:
Note
- You have a computer that is running Windows Server 2008 R2 or Windows 7.
- You query for the value of the "Avg. Disk sec/Transfer" performance counter by using the RegQueryValueEx function.
Note
- This issue does not occur if you collect the value of the same performance counter by using the performance monitor utility.
- This issue may occur if any application or any service uses the sample code that is described in the following MSDN article:
For example, you use System Center Operations Manager 2007 to monitor the health status of a Windows Server 2008 R2-based computer. You may receive wrong alerts for troubleshooting because of this issue.