WMI Win32_PerfFormattedData hosed - how to fix?



I've been working on an ATL client to talk to WMI.

In the course of working on this, I was investigating the Win32_PerfFormattedData_PerfOS_Processor class and had started getting some data under the debugger when I lost power.

When I came back up, my WindowsXP machine appeared to come up clean (didn't try to run chkdsk on the way up) but just to be sure I manually ran chkdisk to check for problems. None were reported.

Since the crash, I haven't been able to get data on Win32_PerfFormattedData_PerfOS_Processor, Win32_PerfRawData_PerfOS_Processor, or indeed any of about 24 total classes in these same families. WMIDiag reports an error 0x80041010 enumerating these classes. I have tried repairing the WMI registry by following the instructions listed at http://windowsxp.mvps.org/repairwmi.htm but have had no luck. All of the classes that are giving me problems appear to belong to wmicookr.dll (which exists in %systemroot%\system32\wbem and which I have re-registered) and are enumerated in WMI.MOF (which also exists, and which I have also re-registered).

I'm at a complete loss here, and I do NOT want to have to reinstall this entire machine just so I can fix this.

One other observation is that I have a little program which enumerates the performance registry keys in the Performance Registry Interface.

Prior to this crash, I had a whole huge list of keys. Since this crash, I have many fewer keys, and the last key enumerated appears to only be partially there.

Any help, ideas, suggestions, pointers? I've been fighting with this for two days. This does not seem to be a unique problem either. I've seen numerous references to the 0x80041010 error, or 0x80041002, which I've also seen, without any successful resolutions.

Thanks in advance
.



Relevant Pages

  • Re: WMI Win32_PerfFormattedData hosed - how to fix?
    ... You can always try deleting the repository data which WMI will rebuild ... enumerating these classes. ... the performance registry keys in the Performance Registry Interface. ... I had a whole huge list of keys. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: WMI Win32_PerfFormattedData hosed - how to fix?
    ... Didn't fix the problem. ... I tried the instructions at ... enumerating these classes. ... I had a whole huge list of keys. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: WMI Win32_PerfFormattedData hosed - how to fix?
    ... Chris Richards wrote: ... I tried the instructions at ... enumerating these classes. ... I had a whole huge list of keys. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: GetStringValue silently fails
    ... The two keys you have chosen for the test are not going to be available on many computers. ... from a batch file, and running two instances of the batch file (see ... I restart the WMI service. ... I have only seen this problem with some registry values of type REG_SZ ...
    (microsoft.public.win32.programmer.wmi)
  • Re: drive letter vs. active partition
    ... You haven't mentioned the language you are looking for the code written in. ... Basically what you are looking for is enumerating volume mount points in the system. ... I tried this using WMI but not all parts of WMI are in ...
    (microsoft.public.windowsxp.embedded)

Loading