Re: CIM Studio and WbemTest Disparity
- From: Matt <anonmous@xxxxxxxxxxxxx>
- Date: Sat, 31 May 2008 10:01:00 -0700
That's the version I downloaded and ran. To give you more information, the
machine on which I am running both WbemTest and CIM Studio is a Windows 2008
64-bit machine. I copied over a WbemTest.exe from a Windows 2003 32-bit
machine and ran it on the Win2008 x64 machine. It reported the same invalid
class error. So, 32-bit WbemTest returns "Invalid Class", while a 64-bit
WbemTest returns the expected data. Putting this information together with
the information in my original post, it would be reasonable to conclude that
certain performance counters are only available to 64-bit processes, which of
course makes no sense. So, three questions remain if that hypothesis is
correct:
1) Which counters are affected by this?
2) Is this documented behavior, i.e. I am aware of nothing that states that
certain performance counters can only be obtained if the client process is a
64-bit application?
3) What's the workaround?
Matt
"Jonathan Liu [MSFT]" wrote:
Try this:.
https://www.microsoft.com/downloads/details.aspx?FamilyID=6430f853-1120-48db-8cc5-f2abdc3ed314&DisplayLang=en
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--
"Gerry Hickman" <gerry666uk@xxxxxxxxxxxxxxxx> wrote in message
news:%23Mrx25owIHA.548@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
Out of interest, where did you obtain CIM Studio? At one point it was very
out-of-date, but maybe you found a new version?
Matt wrote:
Hello,
When running the query "SELECT * FROM
Win32_PerfRawData_EXOLEDB_MSExchangeWebMail" via WbemTest against a
Windows 2008 Server 64-bit machine runnning Exchange 2007 64-bit with the
namespace specified as '\\machineName\root\cimv2' I received data back.
When running the exact same query using CIM Studio against the same
machine, namespace, etc., I receive the error "Invalid Class".
A query such as "SELECT * FROM Win32_PerfRawData_PerfOS_Processor" works
via both WbemTest and CIM Studio when directed agains the same machine,
so it appears there's something different about the
Win32_PerfRawData_EXOLEDB_MSExchangeWebMail class.
If I run the exact same problematic query (i.e. "SELECT * FROM
Win32_PerfRawData_EXOLEDB_MSExchangeWebMail") against a Windows Server
2003 32-bit machine running Exchange 2003 32-bit, both tools return the
same expected results.
Both WbemTest and CIM Studio are launched via the Start menu on the same
machine in the same session, and no credentials are explicitly specified
(i.e. both inherit the token from Explorer), so there should be no
credential difference.
Why the difference between the two tools?
Thanks,
Matt
--
Gerry Hickman (London UK)
- References:
- Re: CIM Studio and WbemTest Disparity
- From: Gerry Hickman
- Re: CIM Studio and WbemTest Disparity
- From: Jonathan Liu [MSFT]
- Re: CIM Studio and WbemTest Disparity
- Prev by Date: Re: CIM Studio and WbemTest Disparity
- Previous by thread: Re: CIM Studio and WbemTest Disparity
- Next by thread: Re: Event viewer works and WMI not
- Index(es):
Relevant Pages
|