Regards,
Tango
The MSDN link below answers your question:
"Win32_PerfRawData_TermService_TerminalServices Class"
http://msdn2.microsoft.com/en-us/library/aa394343.aspx
The following links contain the C++ and script sample code of using it:
http://msdn2.microsoft.com/en-us/library/aa394585(VS.85).aspx
http://msdn2.microsoft.com/en-us/library/aa394558(VS.85).aspx
Hope it helps.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
I had already checked all the links you posted before my question. The
problem is that the query "select * from
Win32_PerfRawData_TermService_TerminalServices" returns "Invalid Class" with
the use of the wbemtest tool in Vista and W2008. This problem doesn't affect
the class Win32_PerfRawData_TermService_TerminalServicesSession as it works
as expected.
Regards,
Tango
Sorry for the late response. I am taking sick leave and out of office these
two days.
Ok, I will use wbemtest to give it a reproduce on the Vista and Server2008
machines. I will get back to you ASAP. Thanks.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
Yes, I can reproduce this problem on my Vista machine.
I will discuss with the terminal service team to confirm it. Thanks.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sorry for letting you wait.
I have sent several emails to the Terminal Service teams but did not get
any response yet. I have found out the owner of WMI Perf classes. I will
send an email to him directly for confirmation.
Thanks for your patient.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
Is there or was there any return info from TS teams at Microsoft yet? I have a Windows 2008 SP2 machine with the TS role installed and the WMI Class Win32_PerfFormattedData_TermService_TerminalServices is still missing, I have even reinstalled the role to no effect.
I wondering that the lack of response from Microsoft means that they forgot to add it in by accident and don't won't to acknowledge it... you'd think by SP2 it would have been fixed.. so what is going on?
Any additional information would be grateful.
Al
jeta wrote:
RE: Missing WMI class in Windows Vista and Windows Server 2008
24-Apr-08
Hi Tango,
Thanks for your patient.
EggHeadCafe - Software Developer Portal of Choice
WPF DataGrid Custom Paging and Sorting
http://www.eggheadcafe.com/tutorials/aspnet/8a2ea78b-f1e3-45b4-93ef-32b2d802ae17/wpf-datagrid-custom-pagin.aspx
the class has been moved to
Win32_PerfRawData_LocalSessionManager_TerminalServices
hope this helps.
Alex