The problem started about mid-May when I saw the following 2 errors in my windows event viewer (date/time differs, otherwise exactly the same errors):
Code: Select all
Event Type: Error
Event Source: PerfNet
Event Category: None
Event ID: 2004
Date: 11.7.2011
Time: 11:39:54
User: N/A
Computer: ***
Description:
Unable to open the Server service. Server performance data will not be returned. Error code returned is in data DWORD 0.
Code: Select all
Event Type: Error
Event Source: WmiAdapter
Event Category: None
Event ID: 4099
Date: 11.7.2011
Time: 11:39:54
User: ***\***
Computer: ***
Description:
Open of service failed.
After many twists and turns, I stumbled into this Microsoft page: http://www.microsoft.com/technet/suppor ... WmiAdapter
It has the following script that reveals if there are high performance counter objects in WMI:
Code: Select all
' Find all performance classes
computer = "."
namespace = "root\wmi"
Set WMISvc = GetObject("winmgmts:\\" & computer & "\" & namespace)
Set colSWbemObjectSet = WMISvc.Subclassesof("Win32_Perf")
for each cls in colSwbemObjectSet
wscript.echo "Class name: " & cls.path_
next
My PC shows the following after running the script (machine name obscured):
Code: Select all
Class name: \\***\ROOT\wmi:Win32_PerfRawData
Class name: \\***\ROOT\wmi:VirtualMachineStatistics
Class name: \\***\ROOT\wmi:VirtualProcessorStatistics
Class name: \\***\ROOT\wmi:Win32_PerfFormattedData
Next I figured out that the 2 high-performance objects "VirtualMachineStatistics" and "VirtualProcessorStatistics" belonged to installed Microsoft Virtual PC (I've version 2007 SP1 (v6.0.192.0)).
Then I wondered what was changed in mid-May that started these event errors. I haven't upgraded MS Virtual PC for a long time.. finally I noticed that HD Sentinel had a 3.60 update at the beginning of May (I probably updated to that next weekend, which is about mid-May).
These errors recur every time when HDS "reloads" HD's (e.g. when systray icons "refresh" (vanish & reappear)). E.g. when attaching an USB HD or removing it. Or when computer comes out of hibernate (and possibly from sleep state). (When booting Windows normally, this doesn't happen!)
Next I downgraded HDS to 3.50 (installed over 3.60), and the event errors did not appear anymore!
BOTTOM LINE: There was something changed in HDS 3.60 that now "triggers" an WMI Performance counter high-performance object "checking" (I really can't figure out what to call it, hopefully you understand).
Requirements to reproduce the problem:
1) HD Sentinel 3.60
2) "Server" and "WmiAdapter" services disabled.
3) High-performance objects in WMI (e.g. installing Microsoft Virtual PC 2007 SP1 (v6.0.192.0))
4) Hibernate or attach/remove USB HD.
Was the change necessary in HDS 3.60? I really wouldn't like to A) uninstall MS VPC, B) enable server service, C) see my event viewer/log spammed with the error events, nor D) downgrade HDS and not receive any upgrades anymore.