WMI - Invalid Class!
Wed, 27 Feb 2008 12:32:01 -0800
Hi!
I created a tool that monitors the number of messages in queues across 60
servers. My problem is that in 5 or 6 when I ran the WMI quey to get the info
(
Select * From Win32_PerfRawData_MSMQ_MSMQQueue WHERE Name like '%inbound' OR
Name like '%outbound'
) I get an error saying invalid class. I chec ...
|
JScript, GetSecurityDescriptor, an Array of DACLs but no length
Property.....
Wed, 27 Feb 2008 04:58:40 -0800 (PST)
Hi All,
I'm using JScript to enumerate a list of security principals on a
share (audit!). I've found the correct way of calling
GetSecurityDescriptor from JScript and get a valid DACL array object
that contains a the Win32_ACE objects for each security principle in
the share (checked this by adding / removing ...
|
Encounter a strange error when query WMI library -- "SWbemServicesEx: Not found"
Wed, 27 Feb 2008 16:21:46 +0800
Hi guys,
In my domain client migration procedure, on only three clients I encountered
"SWbemServicesEx: Not found" error when I tried to query current logoned
Domain Account (it is a domain account) info.
But when I modified the script to query previous logoned Local Account, it
worked.
Note: The function I ...
|
Collecting Performance Stats on Vista
Mon, 25 Feb 2008 16:08:00 -0800
I'm developing a management app (see: queryshark.com) that uses WMI to
collect various pieces of management info. I'm running into a problem trying
to collect performance data on Vista. For example,
Win32_PerfFormattedData_PerfDisk_LogicalDisk returns stats on XP no problems.
When I try on Vista, nothing ...
|
win32_Process.Create "Insufficient Privilege"
Mon, 25 Feb 2008 06:02:03 -0800
Hi there,
i wrote a little Tool to deploy Software to about 600 Servers and start an
silent Installation Process with the win32_Process Class. My Problem, about
50 Server (Win2003 Std & EE) are returning Error 3:Insufficient Privilege the
rest is running fine. So I tried to fix the issue on this Servers, bu ...
|
Change FOLDER date
Sun, 24 Feb 2008 16:33:01 -0800
Is it possible to change the date of a folder wit VBScript of WMI? I do not
want to use the TOUCH utility.
I saw lastdatemofied in VBScript is readonly and there was another moethod
(modifyfile?) that actually worked for changing the date of a file but not
folders.
I was looking in WMI at win32_directo ...
|
Win32_PnPSignedDriverCIMDataFile Class
Fri, 22 Feb 2008 05:33:01 -0800 (PST)
How does one use the Win32_PnPSignedDriverCIMDataFile Class to
determine the files associated to a Device Driver listed in
Win32_PnpSignedDriver?
Sample code is from Scripting Guy:
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root
\cimv2")
Set colItems = objWMISe ...
|
|
|
Microsoft_IPMI.InstanceName -- How do I use it ?
Thu, 21 Feb 2008 16:51:01 -0800
I am writing a command-line application to communicate with an Intel 631xESB
SMBus Controller. Intel has supplied me with the data needed to populate a
RequestResponse call using the Microsoft_IPMI class.
So far, my code puts together a RequestResponse call, however, I'm now at
the very last step... calling ...
|
Is WMI dependent on windows explorer running?
Thu, 21 Feb 2008 13:23:02 -0800
I would like to know whether WMI depends on explorer.exe running in any way.
I would like to run WMI on a system where explorer.exe is specifically
excluded from running. Is this going to prevent running WMI? I looked at the
dependencies for the WMI service in the control panel services applet, and
the only ...
|
Enumerating processes with PDH
Thu, 21 Feb 2008 06:05:00 -0800
I try to enumerate running processes with PDH as shown in the MSDN example:
http://msdn2.microsoft.com/en-us/library/aa372151(VS.85).aspx
If I have multiple instances of an application running on the machine, how
can I distinguish between the processes? I need to monitor performance for
the current process, ...
|