<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>wmi on Neolisk's Tech Blog</title><link>/tags/wmi/</link><description>Recent content in wmi on Neolisk's Tech Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>neolisk@gmail.com (Victor Zakharov)</managingEditor><webMaster>neolisk@gmail.com (Victor Zakharov)</webMaster><copyright>©2020-2024 Victor Zakharov. All Rights Reserved</copyright><lastBuildDate>Tue, 22 Mar 2011 00:00:00 +0000</lastBuildDate><atom:link href="/tags/wmi/index.xml" rel="self" type="application/rss+xml"/><item><title>WMI query - Incorrect class on Windows 2003 R2?</title><link>/posts/2011-03-22-wmi-query-incorrect-class-win-2003-r2/</link><pubDate>Tue, 22 Mar 2011 00:00:00 +0000</pubDate><author>neolisk@gmail.com (Victor Zakharov)</author><atom:modified>Sun, 29 Mar 2020 19:47:31 -0400</atom:modified><guid>/posts/2011-03-22-wmi-query-incorrect-class-win-2003-r2/</guid><description>I got this &amp;lsquo;Invalid class&amp;rsquo; error when querying disk performance data:
Win32_PerfFormattedData_PerfDisk_LogicalDisk
The server was running Windows 2003 R2 Std x64 SP2, so I used this article to &amp;lsquo;detect and repair a corrupted WMI Repository&amp;rsquo;:
rundll32 wbemupgd, RepairWMISetup Well, it did not work for some reason. A little more googling led me to a blog, where Mike (the author) suggested two additional actions:
First
winmgmt /resyncperf Then
winmgmt /clearadap Just executing (1) did not solve the problem for me, while doing (2) after that worked perfectly.</description><dc:creator>Victor Zakharov</dc:creator><category>wmi</category><category>windows</category><category>devops</category></item></channel></rss>