Windows Management Instrumentation

learn more… | top users | synonyms

5
votes
4answers
3k views

Does WMI cause CPU Creep?

I have a few servers, running Server 2003 Std/Ent and SQL 2000/2005, that I've noticed will start showing higher CPU usages over time. Stopping the WMI service and restarting it will always bring it ...
4
votes
6answers
26k views

How to get the IP Address for your Local Area Connection on Windows Server?

I want to create a batch or vbs file that will put together a url and executed. Part of that url needs to be the actual ip address of the machine. How I am able to get that IP address in a variable ...
2
votes
2answers
967 views

How to work out the WMI Class name from its perfmon counter name

So I have been provided with a bunch of performance counters that are housed within a particular performance object (i.e. these are not one of the default perf counters that come with Windows) and ...
1
vote
3answers
2k views

WMI Remote connection objsWbemLocator.ConnectServer

I have an issue when connecting to remote machines using the following: Set objWMIService = objSWbemLocator.ConnectServer _ (sIP, "root\CIMV2", strUser, strPassword, "MS_409", "ntlmdomain:" + ...
3
votes
2answers
344 views

Can I still use WMI to manage SQL Server 2005 and 2008?

I've seen some articles on how to use WMI to manage SQL2000 servers (after installing SQLWMI80.msi manually) but I've not seen anything about this for SQL2005 and SQL2008. Has this been depreciated? ...
1
vote
3answers
5k views

Windows environment variables: “Default User” vs. “System”

I'm exploring environment variables via the WMI class Win32_Environment. According to the documentation, a variable that's not of a specific user can be either a "System" variable or a "Default User" ...
0
votes
2answers
6k views

Querying a Windows box to see if the currently logged on user is idle - ideally using WMI

I want to be able to query whether the currently logged in user is idle at their PC - i.e. their PC believes they are 'inactive'... The problem is there are so many ways this could be done. Is there a ...
2
votes
4answers
10k views

Which windows rights for powershell's Get-WmiObject on remote PC?

When I run a simple powershell command on a remote PC such as Get-WmiObject Win32_Process -computer Pc1 Some Pcs reply "Access denied", while other reply fine, but I can't get the difference. Which ...
0
votes
3answers
4k views

How is average disk queue length retrieved via WMI computed

I'm using WMI to query the current and average disk queue length of remote machines to be able to monitor the load on the hard drive. The query is as follows: select CurrentDiskQueueLength, ...
2
votes
5answers
2k views

Server & Workstation Power Consumption - obtaining programmatically/via script

I'm looking for a generic way to query a network of Windows PCs (XP/Vista/7/Server 2k3) for their current power consumption - ideally in Watts! I'm sure this kind of thing is built into WMI, but it ...
0
votes
2answers
6k views

Reporting Services WMI Provider error 8000000A

I recently installed SQL Server Express 2005 with all available options. When I run Start->Programs->SQL Server 2005->Reporting Services Configuration I get an error immediatley: "An unknown error ...
1
vote
3answers
6k views

How to use Powershell 2 Get-WmiObject to find an instance of SQL Server Reporting Services (SQL2008) on Windows Server 2008 R2

I'm trying to use the powershell 2 "Get-WmiObject" command to find the reporting service instance using this command get-wmiobject -class "MSReportServer_Instance" -namespace "root\Microsoft\...
23
votes
4answers
41k views

Which permissions/rights does a user need to have WMI access on remote machines?

I'm writing a monitoring service that uses WMI to get information from remote machines. Having local admin rights on all these machines is not possible for political reasons. Is this possible? What ...
1
vote
8answers
4k views

Need a resource that lists WMI perfmon classes

Does anyone have links to resources that list perfmon classes that are called by the WMI Query Language? I have some monitoring software that can pull data via WMI but I have to enter a query in WMI ...
9
votes
7answers
28k views

What is the best (free) tool to wrap an .exe into a MSI?

I'm looking at deploying some software via GPSI and the current version of the software is distributed as a .exe so I need to convert it to an MSI file. furthermore, why does MS still distribute some ...
0
votes
3answers
368 views

WMI - Win 2k8 - How do I tell what it's dependancies are?

I've got a server that'll boot and log let you term serv into it at 6 min but acutally become useful at 18 min from hitting reboot. After rooting around in the logs I strongly think it's a service ...
5
votes
6answers
5k views

Useful WMI admin scripts

In a comment to my response to this question , cop1152 said he loved WMI scripts. Well, so do I! What are your favourite, best, most useful scripts you'd like to share with the community? thanks.
2
votes
2answers
819 views

Managing multiple systems using JMX and WMI

Our project needs to manage multiple systems across multiple operating systems and languages (Windows, Linux, Java, C++, C#, etc). We're looking at WMI for parts of the system, but for some of the ...